usb_cdc: Rename interface functions to avoid the term "setup"
Use "ep0" when referring to endpoint0 - don't use "setup" as that can be confused with the low-level usb setup token. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -14,16 +14,15 @@ enum {
|
||||
// callbacks provided by board specific code
|
||||
int_fast8_t usb_read_bulk_out(void *data, uint_fast8_t max_len);
|
||||
int_fast8_t usb_send_bulk_in(void *data, uint_fast8_t len);
|
||||
int_fast8_t usb_read_setup(void *data, uint_fast8_t max_len);
|
||||
int_fast8_t usb_send_setup(const void *data, uint_fast8_t len);
|
||||
void usb_send_pgm_setup(void *data, uint_fast8_t len);
|
||||
void usb_set_stall(void);
|
||||
int_fast8_t usb_read_ep0(void *data, uint_fast8_t max_len);
|
||||
int_fast8_t usb_send_ep0(const void *data, uint_fast8_t len);
|
||||
void usb_stall_ep0(void);
|
||||
void usb_set_address(uint_fast8_t addr);
|
||||
void usb_set_configure(void);
|
||||
|
||||
// usb_cdc.c
|
||||
void usb_notify_bulk_in(void);
|
||||
void usb_notify_bulk_out(void);
|
||||
void usb_notify_setup(void);
|
||||
void usb_notify_ep0(void);
|
||||
|
||||
#endif // usb_cdc.h
|
||||
|
||||
Reference in New Issue
Block a user