![]() |
Open FFBoard
Open source force feedback firmware
|
Go to the source code of this file.
Classes | |
struct | hcd_event_t |
struct | hcd_devtree_info_t |
Functions | |
bool | hcd_dcache_clean (void const *addr, uint32_t data_size) TU_ATTR_WEAK |
bool | hcd_dcache_invalidate (void const *addr, uint32_t data_size) TU_ATTR_WEAK |
bool | hcd_dcache_clean_invalidate (void const *addr, uint32_t data_size) TU_ATTR_WEAK |
bool | hcd_configure (uint8_t rhport, uint32_t cfg_id, const void *cfg_param) |
bool | hcd_init (uint8_t rhport, const tusb_rhport_init_t *rh_init) |
bool | hcd_deinit (uint8_t rhport) |
void | hcd_int_handler (uint8_t rhport, bool in_isr) |
void | hcd_int_enable (uint8_t rhport) |
void | hcd_int_disable (uint8_t rhport) |
uint32_t | hcd_frame_number (uint8_t rhport) |
bool | hcd_port_connect_status (uint8_t rhport) |
void | hcd_port_reset (uint8_t rhport) |
void | hcd_port_reset_end (uint8_t rhport) |
tusb_speed_t | hcd_port_speed_get (uint8_t rhport) |
void | hcd_device_close (uint8_t rhport, uint8_t dev_addr) |
bool | hcd_edpt_open (uint8_t rhport, uint8_t daddr, tusb_desc_endpoint_t const *ep_desc) |
bool | hcd_edpt_xfer (uint8_t rhport, uint8_t daddr, uint8_t ep_addr, uint8_t *buffer, uint16_t buflen) |
bool | hcd_edpt_abort_xfer (uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) |
bool | hcd_setup_send (uint8_t rhport, uint8_t daddr, uint8_t const setup_packet[8]) |
bool | hcd_edpt_clear_stall (uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) |
void | hcd_devtree_get_info (uint8_t dev_addr, hcd_devtree_info_t *devtree_info) |
void | hcd_event_handler (hcd_event_t const *event, bool in_isr) |
static TU_ATTR_ALWAYS_INLINE void | hcd_event_device_attach (uint8_t rhport, bool in_isr) |
static TU_ATTR_ALWAYS_INLINE void | hcd_event_device_remove (uint8_t rhport, bool in_isr) |
static TU_ATTR_ALWAYS_INLINE void | hcd_event_xfer_complete (uint8_t dev_addr, uint8_t ep_addr, uint32_t xferred_bytes, xfer_result_t result, bool in_isr) |
Variables | |
C | |
bool hcd_configure | ( | uint8_t | rhport, |
uint32_t | cfg_id, | ||
const void * | cfg_param | ||
) |
bool hcd_dcache_clean | ( | void const * | addr, |
uint32_t | data_size | ||
) |
Definition at line 45 of file hcd_ci_hs.c.
bool hcd_dcache_clean_invalidate | ( | void const * | addr, |
uint32_t | data_size | ||
) |
Definition at line 53 of file hcd_ci_hs.c.
bool hcd_dcache_invalidate | ( | void const * | addr, |
uint32_t | data_size | ||
) |
Definition at line 49 of file hcd_ci_hs.c.
void hcd_device_close | ( | uint8_t | rhport, |
uint8_t | dev_addr | ||
) |
Definition at line 615 of file hcd_max3421.c.
void hcd_devtree_get_info | ( | uint8_t | dev_addr, |
hcd_devtree_info_t * | devtree_info | ||
) |
bool hcd_edpt_abort_xfer | ( | uint8_t | rhport, |
uint8_t | dev_addr, | ||
uint8_t | ep_addr | ||
) |
Definition at line 759 of file hcd_max3421.c.
bool hcd_edpt_clear_stall | ( | uint8_t | rhport, |
uint8_t | dev_addr, | ||
uint8_t | ep_addr | ||
) |
Definition at line 797 of file hcd_max3421.c.
bool hcd_edpt_open | ( | uint8_t | rhport, |
uint8_t | daddr, | ||
tusb_desc_endpoint_t const * | ep_desc | ||
) |
Definition at line 625 of file hcd_max3421.c.
bool hcd_edpt_xfer | ( | uint8_t | rhport, |
uint8_t | daddr, | ||
uint8_t | ep_addr, | ||
uint8_t * | buffer, | ||
uint16_t | buflen | ||
) |
Definition at line 733 of file hcd_max3421.c.
|
inlinestatic |
|
inlinestatic |
void hcd_event_handler | ( | hcd_event_t const * | event, |
bool | in_isr | ||
) |
|
inlinestatic |
uint32_t hcd_frame_number | ( | uint8_t | rhport | ) |
Definition at line 582 of file hcd_max3421.c.
bool hcd_init | ( | uint8_t | rhport, |
const tusb_rhport_init_t * | rh_init | ||
) |
Definition at line 497 of file hcd_max3421.c.
void hcd_int_disable | ( | uint8_t | rhport | ) |
Definition at line 577 of file hcd_max3421.c.
void hcd_int_enable | ( | uint8_t | rhport | ) |
Definition at line 571 of file hcd_max3421.c.
void hcd_int_handler | ( | uint8_t | rhport, |
bool | in_isr | ||
) |
Definition at line 1002 of file hcd_max3421.c.
bool hcd_port_connect_status | ( | uint8_t | rhport | ) |
Definition at line 592 of file hcd_max3421.c.
void hcd_port_reset | ( | uint8_t | rhport | ) |
Definition at line 599 of file hcd_max3421.c.
void hcd_port_reset_end | ( | uint8_t | rhport | ) |
Definition at line 604 of file hcd_max3421.c.
tusb_speed_t hcd_port_speed_get | ( | uint8_t | rhport | ) |
Definition at line 609 of file hcd_max3421.c.
bool hcd_setup_send | ( | uint8_t | rhport, |
uint8_t | daddr, | ||
uint8_t const | setup_packet[8] | ||
) |
Definition at line 775 of file hcd_max3421.c.
|
extern |