Trait attiny_hal::prelude::_embedded_hal_serial_Read
source · pub trait _embedded_hal_serial_Read<Word> {
type Error;
// Required method
fn read(&mut self) -> Result<Word, Error<Self::Error>>;
}
Expand description
Read half of a serial interface
Some serial interfaces support different data sizes (8 bits, 9 bits, etc.);
This can be encoded in this trait via the Word
type parameter.