FabGL
ESP32 Display Controller and Graphics Library

◆ UARTConf()

uint32_t fabgl::UARTConf ( int  parity,
int  dataLength,
int  stopBits 
)
inline

Composes UART configuration word.

Parameters
parityParity. 0 = none, 1 = even, 2 = odd
dataLengthData word length. 0 = 5 bits, 1 = 6 bits, 2 = 7 bits, 3 = 8 bits
stopBitsNumber of stop bits. 1 = 1 bit, 2 = 1.5 bits, 3 = 2 bits

Definition at line 990 of file fabutils.h.