Trait kernel::hil::uart::UartData

source ·
pub trait UartData<'a>: Transmit<'a> + Receive<'a> { }
Expand description

Trait for sending and receiving on UART.

This includes transmitting data and receiving data.

Capsules can use this to require a UART device that can both send and receive but do not need the ability to configure the bus settings.

Implementors§

source§

impl<'a, T: Transmit<'a> + Receive<'a>> UartData<'a> for T