![]() |
Open FFBoard
Open source force feedback firmware
|
Go to the source code of this file.
Functions | |
uint32_t | tud_vendor_n_available (uint8_t itf) |
uint32_t | tud_vendor_n_read (uint8_t itf, void *buffer, uint32_t bufsize) |
bool | tud_vendor_n_peek (uint8_t itf, uint8_t *ui8) |
void | tud_vendor_n_read_flush (uint8_t itf) |
uint32_t | tud_vendor_n_write (uint8_t itf, void const *buffer, uint32_t bufsize) |
uint32_t | tud_vendor_n_write_flush (uint8_t itf) |
uint32_t | tud_vendor_n_write_available (uint8_t itf) |
static TU_ATTR_ALWAYS_INLINE uint32_t | tud_vendor_n_write_str (uint8_t itf, char const *str) |
static TU_ATTR_ALWAYS_INLINE bool | tud_vendor_mounted (void) |
static TU_ATTR_ALWAYS_INLINE uint32_t | tud_vendor_available (void) |
static TU_ATTR_ALWAYS_INLINE uint32_t | tud_vendor_read (void *buffer, uint32_t bufsize) |
static TU_ATTR_ALWAYS_INLINE bool | tud_vendor_peek (uint8_t *ui8) |
static TU_ATTR_ALWAYS_INLINE void | tud_vendor_read_flush (void) |
static TU_ATTR_ALWAYS_INLINE uint32_t | tud_vendor_write (void const *buffer, uint32_t bufsize) |
static TU_ATTR_ALWAYS_INLINE uint32_t | tud_vendor_write_str (char const *str) |
static TU_ATTR_ALWAYS_INLINE uint32_t | tud_vendor_write_flush (void) |
static TU_ATTR_ALWAYS_INLINE uint32_t | tud_vendor_write_available (void) |
TU_ATTR_WEAK void | tud_vendor_rx_cb (uint8_t itf, uint8_t const *buffer, uint16_t bufsize) |
TU_ATTR_WEAK void | tud_vendor_tx_cb (uint8_t itf, uint32_t sent_bytes) |
void | vendord_init (void) |
bool | vendord_deinit (void) |
void | vendord_reset (uint8_t rhport) |
uint16_t | vendord_open (uint8_t rhport, tusb_desc_interface_t const *itf_desc, uint16_t max_len) |
bool | vendord_xfer_cb (uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes) |
Variables | |
C | |
|
inlinestatic |
Definition at line 80 of file vendor_device.h.
|
inlinestatic |
Definition at line 76 of file vendor_device.h.
uint32_t tud_vendor_n_available | ( | uint8_t | itf | ) |
Definition at line 80 of file vendor_device.c.
bool tud_vendor_n_peek | ( | uint8_t | itf, |
uint8_t * | ui8 | ||
) |
Definition at line 87 of file vendor_device.c.
uint32_t tud_vendor_n_read | ( | uint8_t | itf, |
void * | buffer, | ||
uint32_t | bufsize | ||
) |
Definition at line 94 of file vendor_device.c.
void tud_vendor_n_read_flush | ( | uint8_t | itf | ) |
Definition at line 102 of file vendor_device.c.
uint32_t tud_vendor_n_write | ( | uint8_t | itf, |
void const * | buffer, | ||
uint32_t | bufsize | ||
) |
Definition at line 114 of file vendor_device.c.
uint32_t tud_vendor_n_write_available | ( | uint8_t | itf | ) |
Definition at line 130 of file vendor_device.c.
uint32_t tud_vendor_n_write_flush | ( | uint8_t | itf | ) |
Definition at line 122 of file vendor_device.c.
|
inlinestatic |
Definition at line 72 of file vendor_device.h.
|
inlinestatic |
Definition at line 88 of file vendor_device.h.
|
inlinestatic |
Definition at line 84 of file vendor_device.h.
|
inlinestatic |
Definition at line 92 of file vendor_device.h.
TU_ATTR_WEAK void tud_vendor_rx_cb | ( | uint8_t | itf, |
uint8_t const * | buffer, | ||
uint16_t | bufsize | ||
) |
TU_ATTR_WEAK void tud_vendor_tx_cb | ( | uint8_t | itf, |
uint32_t | sent_bytes | ||
) |
|
inlinestatic |
Definition at line 96 of file vendor_device.h.
|
inlinestatic |
Definition at line 109 of file vendor_device.h.
|
inlinestatic |
Definition at line 104 of file vendor_device.h.
|
inlinestatic |
Definition at line 100 of file vendor_device.h.
bool vendord_deinit | ( | void | ) |
Definition at line 171 of file vendor_device.c.
void vendord_init | ( | void | ) |
Definition at line 141 of file vendor_device.c.
uint16_t vendord_open | ( | uint8_t | rhport, |
tusb_desc_interface_t const * | itf_desc, | ||
uint16_t | max_len | ||
) |
Definition at line 193 of file vendor_device.c.
void vendord_reset | ( | uint8_t | rhport | ) |
Definition at line 180 of file vendor_device.c.
bool vendord_xfer_cb | ( | uint8_t | rhport, |
uint8_t | ep_addr, | ||
xfer_result_t | event, | ||
uint32_t | xferred_bytes | ||
) |
Definition at line 237 of file vendor_device.c.
|
extern |