uartPort_t * serialUART2(uint32_t baudRate, portMode_t mode, portOptions_t options)
uartPort_t * serialUART1(uint32_t baudRate, portMode_t mode, portOptions_t options)
uint32_t rxDMAIrq
Definition: serial_uart_impl.h:28
USART_TypeDef * USARTx
Definition: serial_uart_impl.h:37
uint32_t txDMAIrq
Definition: serial_uart_impl.h:29
uint8_t mode
Definition: gimbal.h:49
Definition: serial_uart_impl.h:22
uartPort_t * serialUART5(uint32_t baudRate, portMode_t mode, portOptions_t options)
bool txDMAEmpty
Definition: serial_uart_impl.h:32
portMode_t
Definition: serial.h:24
uint32_t txDMAPeripheralBaseAddr
Definition: serial_uart_impl.h:34
uartPort_t * serialUART4(uint32_t baudRate, portMode_t mode, portOptions_t options)
portOptions_t
Definition: serial.h:30
DMA_Channel_TypeDef * rxDMAChannel
Definition: serial_uart_impl.h:25
uint32_t rxDMAPos
Definition: serial_uart_impl.h:31
uint32_t rxDMAPeripheralBaseAddr
Definition: serial_uart_impl.h:35
void uartStartTxDMA(uartPort_t *s)
Definition: serial_uart.c:120
serialPort_t port
Definition: serial_uart_impl.h:23
Definition: platform.h:58
uartPort_t * serialUART3(uint32_t baudRate, portMode_t mode, portOptions_t options)
DMA_Channel_TypeDef * txDMAChannel
Definition: serial_uart_impl.h:26