UARTDRV_InitUart_t Struct ReferenceEMDRV > UARTDRV
A UART driver instance initialization structure. Contains a number of UARTDRV configuration options. It is required for driver instance initialization. This structure is passed to UARTDRV_Init() when initializing a UARTDRV instance.
       Definition at line
       
        173
       
       of file
       
        uartdrv.h
       
       .
      
      
       #include <
       
     
        uartdrv.h
       
       >
      
         Data Fields | 
       |
| uint32_t | baudRate | 
| 
         UART baud rate.
          | 
       |
| uint8_t | ctsPin | 
| 
         A CTS pin number.
          | 
       |
| GPIO_Port_TypeDef | ctsPort | 
| 
         A CTS pin port number.
          | 
       |
| UARTDRV_FlowControlType_t | fcType | 
| 
         Flow control mode.
          | 
       |
| bool | mvdis | 
| 
         Majority Vote Disable for 16x, 8x and 6x oversampling modes.
          | 
       |
| USART_OVS_TypeDef | oversampling | 
| 
         Oversampling mode.
          | 
       |
| USART_Parity_TypeDef | parity | 
| 
         Parity configuration.
          | 
       |
| USART_TypeDef * | port | 
| 
         The peripheral used for UART.
          | 
       |
| uint8_t | rtsPin | 
| 
         An RTS pin number.
          | 
       |
| GPIO_Port_TypeDef | rtsPort | 
| 
         An RTS pin port number.
          | 
       |
| uint8_t | rxPin | 
| 
         Pin number for UART Rx.
          | 
       |
| GPIO_Port_TypeDef | rxPort | 
| 
         Port for UART Rx pin.
          | 
       |
| UARTDRV_Buffer_FifoQueue_t * | rxQueue | 
| 
         A receive operation queue.
          | 
       |
| USART_Stopbits_TypeDef | stopBits | 
| 
         A number of stop bits.
          | 
       |
| uint8_t | txPin | 
| 
         Pin number for UART Tx.
          | 
       |
| GPIO_Port_TypeDef | txPort | 
| 
         Port for UART Tx pin.
          | 
       |
| UARTDRV_Buffer_FifoQueue_t * | txQueue | 
| 
         T transmit operation queue.
          | 
       |
| uint8_t | uartNum | 
| 
         UART instance number.
          | 
       |
The documentation for this struct was generated from the following file:
- 
       C:/repos/super_h1/platform/emdrv/uartdrv/inc/
       
uartdrv.h