Header for STM32W uart drivers, supporting IAR's standard library IO routines. More...
Go to the source code of this file.
Enumerations | |
enum | SerialParity |
A list of the possible values for the parity parameter to uartInit(). | |
Functions | |
void | uartInit (int32u baudrate, int8u databits, SerialParity parity, int8u stopbits) |
Initialize the UART. | |
boolean | __io_getcharNonBlocking (int8u *data) |
Read the input byte if any. |
Header for STM32W uart drivers, supporting IAR's standard library IO routines.
Definition in file uart.h.
void uartInit | ( | int32u | baudrate, | |
int8u | databits, | |||
SerialParity | parity, | |||
int8u | stopbits | |||
) |
Initialize the UART.
baudrate | The baudrate which will be used for communication. Ex: 115200 | |
databits | The number of data bits used for communication. Valid values are 7 or 8 | |
parity | The type of parity used for communication. See the SerialParity enum for possible values |
Definition at line 39 of file uart.c.
References halGpioConfig(), and PORTB_PIN.