Structs§
- Uart
Bitbang Config - UART frame configuration to use for UART bitbanging. Assumes LSB first.
- Uart
Bitbang Decoder - A decoder for decoding UART samples.
RX
is the bit in the input sample bitfield to use for RX transmissions. - Uart
Bitbang Encoder - An encoder for creating UART bitbanging samples for transmission.
TX
is the bit in the output sample bitfield to use for TX transmissions.
Enums§
Functions§
- compute_
parity - Count the number of 1s in the data (& an optional parity bit).
Return
true
if there is an even number of 1s, andfalse
otherwise.