Go to the source code of this file.
|
| static TU_ATTR_ALWAYS_INLINE uint32_t | dma_get_addr (uint8_t rhport, bool is_rx) |
| |
| static void | dma_init (uint8_t rhport, bool is_rx) |
| |
| static TU_ATTR_ALWAYS_INLINE void | dma_start (uint8_t rhport, bool is_rx, void const *buf, uint16_t len) |
| |
| static TU_ATTR_ALWAYS_INLINE void | dma_stop (uint8_t rhport, bool is_rx) |
| |
| static TU_ATTR_ALWAYS_INLINE bool | dma_enabled (uint8_t rhport, bool is_rx) |
| |
| static TU_ATTR_ALWAYS_INLINE void | dma_tx_start (uint8_t rhport, void const *buf, uint16_t len) |
| |
| static TU_ATTR_ALWAYS_INLINE void | dma_tx_stop (uint8_t rhport) |
| |
| bool | tcd_init (uint8_t rhport, uint32_t port_type) |
| |
| void | tcd_int_enable (uint8_t rhport) |
| |
| void | tcd_int_disable (uint8_t rhport) |
| |
| bool | tcd_msg_receive (uint8_t rhport, uint8_t *buffer, uint16_t total_bytes) |
| |
| bool | tcd_msg_send (uint8_t rhport, uint8_t const *buffer, uint16_t total_bytes) |
| |
| void | tcd_int_handler (uint8_t rhport) |
| |
◆ anonymous enum
◆ dma_enabled()
| static TU_ATTR_ALWAYS_INLINE bool dma_enabled |
( |
uint8_t | rhport, |
|
|
bool | is_rx ) |
|
inlinestatic |
◆ dma_get_addr()
| static TU_ATTR_ALWAYS_INLINE uint32_t dma_get_addr |
( |
uint8_t | rhport, |
|
|
bool | is_rx ) |
|
inlinestatic |
◆ dma_init()
| static void dma_init |
( |
uint8_t | rhport, |
|
|
bool | is_rx ) |
|
static |
◆ dma_start()
| static TU_ATTR_ALWAYS_INLINE void dma_start |
( |
uint8_t | rhport, |
|
|
bool | is_rx, |
|
|
void const * | buf, |
|
|
uint16_t | len ) |
|
inlinestatic |
◆ dma_stop()
| static TU_ATTR_ALWAYS_INLINE void dma_stop |
( |
uint8_t | rhport, |
|
|
bool | is_rx ) |
|
inlinestatic |
◆ dma_tx_start()
| static TU_ATTR_ALWAYS_INLINE void dma_tx_start |
( |
uint8_t | rhport, |
|
|
void const * | buf, |
|
|
uint16_t | len ) |
|
inlinestatic |
◆ dma_tx_stop()
| static TU_ATTR_ALWAYS_INLINE void dma_tx_stop |
( |
uint8_t | rhport | ) |
|
|
inlinestatic |
◆ tcd_init()
| bool tcd_init |
( |
uint8_t | rhport, |
|
|
uint32_t | port_type ) |
◆ tcd_int_disable()
| void tcd_int_disable |
( |
uint8_t | rhport | ) |
|
◆ tcd_int_enable()
| void tcd_int_enable |
( |
uint8_t | rhport | ) |
|
◆ tcd_int_handler()
| void tcd_int_handler |
( |
uint8_t | rhport | ) |
|
◆ tcd_msg_receive()
| bool tcd_msg_receive |
( |
uint8_t | rhport, |
|
|
uint8_t * | buffer, |
|
|
uint16_t | total_bytes ) |
◆ tcd_msg_send()
| bool tcd_msg_send |
( |
uint8_t | rhport, |
|
|
uint8_t const * | buffer, |
|
|
uint16_t | total_bytes ) |
◆ _dma_addr_arr
| const uint32_t _dma_addr_arr[TUP_TYPEC_RHPORTS_NUM][2] = CFG_TUC_STM32_DMA |
|
static |
◆ _good_crc
Initial value:= {
.data_role = 0,
.power_role = 0,
.msg_id = 0,
.n_data_obj = 0,
.extended = 0
}
Definition at line 70 of file typec_stm32.c.
◆ _rx_buf
◆ _tx_pending_buf
| uint8_t const* _tx_pending_buf |
|
static |
◆ _tx_pending_bytes
| uint16_t _tx_pending_bytes |
|
static |
◆ _tx_xferring_bytes
| uint16_t _tx_xferring_bytes |
|
static |