Go to the source code of this file.
|
static TU_ATTR_ALWAYS_INLINE bool | is_in_isr (void) |
|
static void | start_dma (volatile uint32_t *reg_startep) |
|
static void | edpt_dma_start (volatile uint32_t *reg_startep) |
|
static void | edpt_dma_end (void) |
|
static xfer_td_t * | get_td (uint8_t epnum, uint8_t dir) |
|
static void | xact_out_dma (uint8_t epnum) |
|
static void | xact_out_dma_wrapper (void *epnum) |
|
static void | xact_in_dma (uint8_t epnum) |
|
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_disconnect (uint8_t rhport) |
|
void | dcd_connect (uint8_t rhport) |
|
void | dcd_sof_enable (uint8_t rhport, bool en) |
|
bool | dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const *desc_edpt) |
|
void | dcd_edpt_close_all (uint8_t rhport) |
|
void | dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) |
|
bool | dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, uint16_t total_bytes) |
|
void | dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr) |
|
void | dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr) |
|
void | bus_reset (void) |
|
void | dcd_int_handler (uint8_t rhport) |
|
static TU_ATTR_ALWAYS_INLINE bool | is_sd_existed (void) |
|
static TU_ATTR_ALWAYS_INLINE bool | is_sd_enabled (void) |
|
static bool | hfclk_running (void) |
|
static void | hfclk_enable (void) |
|
static void | hfclk_disable (void) |
|
void | tusb_hal_nrf_power_event (uint32_t event) |
|
◆ anonymous enum
Enumerator |
---|
MAX_PACKET_SIZE | |
EDPT_END_ALL_MASK | |
Definition at line 83 of file dcd_nrf5x.c.
◆ anonymous enum
Enumerator |
---|
EP_ISO_NUM | |
EP_CBI_COUNT | |
Definition at line 92 of file dcd_nrf5x.c.
◆ bus_reset()
◆ dcd_connect()
void dcd_connect |
( |
uint8_t |
rhport | ) |
|
◆ dcd_disconnect()
void dcd_disconnect |
( |
uint8_t |
rhport | ) |
|
◆ dcd_edpt_clear_stall()
void dcd_edpt_clear_stall |
( |
uint8_t |
rhport, |
|
|
uint8_t |
ep_addr |
|
) |
| |
◆ dcd_edpt_close()
void dcd_edpt_close |
( |
uint8_t |
rhport, |
|
|
uint8_t |
ep_addr |
|
) |
| |
◆ dcd_edpt_close_all()
void dcd_edpt_close_all |
( |
uint8_t |
rhport | ) |
|
◆ dcd_edpt_open()
◆ dcd_edpt_stall()
void dcd_edpt_stall |
( |
uint8_t |
rhport, |
|
|
uint8_t |
ep_addr |
|
) |
| |
◆ dcd_edpt_xfer()
bool dcd_edpt_xfer |
( |
uint8_t |
rhport, |
|
|
uint8_t |
ep_addr, |
|
|
uint8_t * |
buffer, |
|
|
uint16_t |
total_bytes |
|
) |
| |
◆ dcd_init()
◆ dcd_int_disable()
void dcd_int_disable |
( |
uint8_t |
rhport | ) |
|
◆ dcd_int_enable()
void dcd_int_enable |
( |
uint8_t |
rhport | ) |
|
◆ dcd_int_handler()
void dcd_int_handler |
( |
uint8_t |
rhport | ) |
|
◆ dcd_remote_wakeup()
void dcd_remote_wakeup |
( |
uint8_t |
rhport | ) |
|
◆ dcd_set_address()
void dcd_set_address |
( |
uint8_t |
rhport, |
|
|
uint8_t |
dev_addr |
|
) |
| |
◆ dcd_sof_enable()
void dcd_sof_enable |
( |
uint8_t |
rhport, |
|
|
bool |
en |
|
) |
| |
◆ edpt_dma_end()
static void edpt_dma_end |
( |
void |
| ) |
|
|
static |
◆ edpt_dma_start()
static void edpt_dma_start |
( |
volatile uint32_t * |
reg_startep | ) |
|
|
static |
◆ get_td()
static xfer_td_t * get_td |
( |
uint8_t |
epnum, |
|
|
uint8_t |
dir |
|
) |
| |
|
inlinestatic |
◆ hfclk_disable()
static void hfclk_disable |
( |
void |
| ) |
|
|
static |
◆ hfclk_enable()
static void hfclk_enable |
( |
void |
| ) |
|
|
static |
◆ hfclk_running()
static bool hfclk_running |
( |
void |
| ) |
|
|
static |
◆ is_in_isr()
static TU_ATTR_ALWAYS_INLINE bool is_in_isr |
( |
void |
| ) |
|
|
inlinestatic |
◆ is_sd_enabled()
static TU_ATTR_ALWAYS_INLINE bool is_sd_enabled |
( |
void |
| ) |
|
|
inlinestatic |
◆ is_sd_existed()
static TU_ATTR_ALWAYS_INLINE bool is_sd_existed |
( |
void |
| ) |
|
|
inlinestatic |
◆ start_dma()
static void start_dma |
( |
volatile uint32_t * |
reg_startep | ) |
|
|
static |
◆ tusb_hal_nrf_power_event()
void tusb_hal_nrf_power_event |
( |
uint32_t |
event | ) |
|
◆ xact_in_dma()
static void xact_in_dma |
( |
uint8_t |
epnum | ) |
|
|
static |
◆ xact_out_dma()
static void xact_out_dma |
( |
uint8_t |
epnum | ) |
|
|
static |
◆ xact_out_dma_wrapper()
static void xact_out_dma_wrapper |
( |
void * |
epnum | ) |
|
|
static |
◆ dma_running
◆ sof_enabled
◆ xfer