Trait serpente::sercom::v2::uart::CharSize[][src]

pub trait CharSize: Sealed {
    type Word: 'static + PrimInt + AsPrimitive<u16>;
}
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.

Associated Types

Word size for the character size

Implementors