pub trait CharSize: Sealed {
type Word: 'static + PrimInt + AsPrimitive<DataReg>;
}
Expand description
Type-level enum
representing the UART character size
The UART character size affects the word size for the embedded HAL traits.
Eight or less bit transactions use a u8
word, while nine-bit transactions
use a u16
word.
Required Associated Types
sourcetype Word: 'static + PrimInt + AsPrimitive<DataReg>
type Word: 'static + PrimInt + AsPrimitive<DataReg>
Word size for the character size