Expand description
Generic AVR serial driver (USARTs, SPI, TWI, etc.) support
Modules§
Enums§
- Possible baud rates we can configure a serial port clock to use.
- The number of data bits in each character frame
- Parity for each transmitted character
- Response from the read handler callback. A read handler can either return a byte to be added to the input buffer, or it can return a Discard response that will cause this byte to be discarded.
- Serial communication errors
- Identifies a particular source of serial port events, i.e. a particular hardware USART, at runtime.
- The serial communications mode for a serial port peripheral.
- The number of stop bits (wait states effectively) to transmit after each character frame
Traits§
Type Aliases§
- Callback called when there is a serial error
- Callback called when a byte has been read
- Callback called when a byte has been written