![]() |
Open FFBoard
Open source force feedback firmware
|
Go to the source code of this file.
Classes | |
| struct | dcd_data_t |
Functions | |
| struct | TU_ATTR_ALIGNED (4) |
| TU_VERIFY_STATIC (sizeof(dma_desc_t)==16, "size is not correct") | |
| CFG_TUD_MEM_SECTION | TU_ATTR_ALIGNED (128) |
| static void | sie_write (uint8_t cmd_code, uint8_t data_len, uint8_t data) |
| static uint8_t | sie_read (uint8_t cmd_code) |
| static uint8_t | ep_addr2idx (uint8_t ep_addr) |
| static void | set_ep_size (uint8_t ep_id, uint16_t max_packet_size) |
| static void | bus_reset (void) |
| bool | dcd_init (uint8_t rhport, const tusb_rhport_init_t *rh_init) |
| void | dcd_int_enable (uint8_t rhport) |
| void | dcd_int_disable (uint8_t rhport) |
| void | dcd_set_address (uint8_t rhport, uint8_t dev_addr) |
| void | dcd_remote_wakeup (uint8_t rhport) |
| void | dcd_connect (uint8_t rhport) |
| void | dcd_disconnect (uint8_t rhport) |
| void | dcd_sof_enable (uint8_t rhport, bool en) |
| static uint8_t | byte2dword (uint8_t bytes) |
| static void | control_ep_write (void const *buffer, uint8_t len) |
| static uint8_t | control_ep_read (void *buffer, uint8_t len) |
| bool | dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const *p_endpoint_desc) |
| void | dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) |
| void | dcd_edpt_close_all (uint8_t rhport) |
| void | dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr) |
| void | dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr) |
| static bool | control_xact (uint8_t rhport, uint8_t dir, uint8_t *buffer, uint8_t len) |
| bool | dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, uint16_t total_bytes) |
| static void | control_xfer_isr (uint8_t rhport, uint32_t ep_int_status) |
| static void | bus_event_isr (uint8_t rhport) |
| static void | dd_complete_isr (uint8_t rhport, uint8_t ep_id) |
| void | dcd_int_handler (uint8_t rhport) |
Variables | |
| dma_desc_t | |
|
static |
Definition at line 491 of file dcd_lpc17_40.c.
|
static |
Definition at line 152 of file dcd_lpc17_40.c.
|
inlinestatic |
Definition at line 244 of file dcd_lpc17_40.c.
|
static |
Definition at line 269 of file dcd_lpc17_40.c.
|
static |
Definition at line 249 of file dcd_lpc17_40.c.
|
static |
Definition at line 373 of file dcd_lpc17_40.c.
|
static |
Definition at line 450 of file dcd_lpc17_40.c.
| void dcd_connect | ( | uint8_t | rhport | ) |
Definition at line 221 of file dcd_lpc17_40.c.
| void dcd_disconnect | ( | uint8_t | rhport | ) |
Definition at line 227 of file dcd_lpc17_40.c.
| void dcd_edpt_clear_stall | ( | uint8_t | rhport, |
| uint8_t | ep_addr ) |
Definition at line 365 of file dcd_lpc17_40.c.
| void dcd_edpt_close | ( | uint8_t | rhport, |
| uint8_t | ep_addr ) |
Definition at line 340 of file dcd_lpc17_40.c.
| void dcd_edpt_close_all | ( | uint8_t | rhport | ) |
Definition at line 345 of file dcd_lpc17_40.c.
| bool dcd_edpt_open | ( | uint8_t | rhport, |
| tusb_desc_endpoint_t const * | p_endpoint_desc ) |
Definition at line 296 of file dcd_lpc17_40.c.
| void dcd_edpt_stall | ( | uint8_t | rhport, |
| uint8_t | ep_addr ) |
Definition at line 351 of file dcd_lpc17_40.c.
| bool dcd_edpt_xfer | ( | uint8_t | rhport, |
| uint8_t | ep_addr, | ||
| uint8_t * | buffer, | ||
| uint16_t | total_bytes ) |
Definition at line 402 of file dcd_lpc17_40.c.
| bool dcd_init | ( | uint8_t | rhport, |
| const tusb_rhport_init_t * | rh_init ) |
Definition at line 170 of file dcd_lpc17_40.c.
| void dcd_int_disable | ( | uint8_t | rhport | ) |
Definition at line 199 of file dcd_lpc17_40.c.
| void dcd_int_enable | ( | uint8_t | rhport | ) |
Definition at line 193 of file dcd_lpc17_40.c.
| void dcd_int_handler | ( | uint8_t | rhport | ) |
Definition at line 530 of file dcd_lpc17_40.c.
| void dcd_remote_wakeup | ( | uint8_t | rhport | ) |
Definition at line 216 of file dcd_lpc17_40.c.
| void dcd_set_address | ( | uint8_t | rhport, |
| uint8_t | dev_addr ) |
Definition at line 205 of file dcd_lpc17_40.c.
| void dcd_sof_enable | ( | uint8_t | rhport, |
| bool | en ) |
Definition at line 233 of file dcd_lpc17_40.c.
|
static |
Definition at line 520 of file dcd_lpc17_40.c.
|
inlinestatic |
Definition at line 132 of file dcd_lpc17_40.c.
|
static |
Definition at line 137 of file dcd_lpc17_40.c.
|
static |
Definition at line 122 of file dcd_lpc17_40.c.
|
static |
Definition at line 112 of file dcd_lpc17_40.c.
| CFG_TUD_MEM_SECTION TU_ATTR_ALIGNED | ( | 128 | ) |
Definition at line 95 of file dcd_lpc17_40.c.
| struct TU_ATTR_ALIGNED | ( | 4 | ) |
< reserved
Definition at line 1 of file dcd_lpc17_40.c.
| TU_VERIFY_STATIC | ( | sizeof(dma_desc_t) | = =16, |
| "size is not correct" | ) |
| dma_desc_t |
Definition at line 72 of file dcd_lpc17_40.c.