Go to the source code of this file.
 | 
| bool  | tcd_init (uint8_t rhport, uint32_t port_type) | 
|   | 
| void  | tcd_int_enable (uint8_t rhport) | 
|   | 
| void  | tcd_int_disable (uint8_t rhport) | 
|   | 
| void  | tcd_int_handler (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_event_handler (tcd_event_t const *event, bool in_isr) | 
|   | 
| static TU_ATTR_ALWAYS_INLINE void  | tcd_event_cc_changed (uint8_t rhport, uint8_t cc1, uint8_t cc2, bool in_isr) | 
|   | 
| static TU_ATTR_ALWAYS_INLINE void  | tcd_event_rx_complete (uint8_t rhport, uint16_t xferred_bytes, uint8_t result, bool in_isr) | 
|   | 
| static TU_ATTR_ALWAYS_INLINE void  | tcd_event_tx_complete (uint8_t rhport, uint16_t xferred_bytes, uint8_t result, bool in_isr) | 
|   | 
◆ tcd_event_t
◆ anonymous enum
| Enumerator | 
|---|
| TCD_EVENT_INVALID  |  | 
| TCD_EVENT_CC_CHANGED  |  | 
| TCD_EVENT_RX_COMPLETE  |  | 
| TCD_EVENT_TX_COMPLETE  |  | 
Definition at line 44 of file tcd.h.
 
 
◆ tcd_event_cc_changed()
  
  
      
        
          | static TU_ATTR_ALWAYS_INLINE void tcd_event_cc_changed  | 
          ( | 
          uint8_t |           rhport,  | 
         
        
           | 
           | 
          uint8_t |           cc1,  | 
         
        
           | 
           | 
          uint8_t |           cc2,  | 
         
        
           | 
           | 
          bool |           in_isr ) | 
         
       
   | 
  
inlinestatic   | 
  
 
Definition at line 99 of file tcd.h.
 
 
◆ tcd_event_handler()
  
  
      
        
          | void tcd_event_handler  | 
          ( | 
          tcd_event_t const * |           event,  | 
         
        
           | 
           | 
          bool |           in_isr ) | 
         
       
   | 
  
extern   | 
  
 
 
◆ tcd_event_rx_complete()
  
  
      
        
          | static TU_ATTR_ALWAYS_INLINE void tcd_event_rx_complete  | 
          ( | 
          uint8_t |           rhport,  | 
         
        
           | 
           | 
          uint16_t |           xferred_bytes,  | 
         
        
           | 
           | 
          uint8_t |           result,  | 
         
        
           | 
           | 
          bool |           in_isr ) | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ tcd_event_tx_complete()
  
  
      
        
          | static TU_ATTR_ALWAYS_INLINE void tcd_event_tx_complete  | 
          ( | 
          uint8_t |           rhport,  | 
         
        
           | 
           | 
          uint16_t |           xferred_bytes,  | 
         
        
           | 
           | 
          uint8_t |           result,  | 
         
        
           | 
           | 
          bool |           in_isr ) | 
         
       
   | 
  
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 ) |