package
0.0.0-20211205205814-168ccc21e67c
Repository: https://github.com/ziutek/emgo.git
Documentation: pkg.go.dev
# Functions
MakeDriver returns initialized UART driver that uses provided USART peripheral, DMA channels and receive buffer to handle transmit and receive of bytes.
NewDriver provides convenient way to create heap allocated Driver.
# Constants
Change on CTS status line.
Ivert data bits for Tx and Rx.
Framing error.
Noise error flag.
Overrun error.
Parity error.
HalfDuplex enables half-duplx operation.
IDLE line detected.
LIN break detection flag.
OneBit sets sampling method to one bit and disables Noise error detection.
Parity control enabled: even.
Parity control enabled: odd.
Receiver enabled.
Invert Rx signal.
Read data register not empty.
Use 0.5 stop bits insted of 1.
Use 1.5 stop bits instead of 1.
Use 2 stop bits instead of 1.
Swap Tx/Rx pins.
Transmission complete.
Transmit data register empty.
Transmiter enabled.
Invert Tx signal.
7 bit data word instead of 8 bit.
9 bit data word instead of 8 bit.