hil:: uart:: Configure
Trait for configuring a UART.
fn configure(&self, params: Parameters) -> ReturnCode
Returns SUCCESS, or
- EOFF: The underlying hardware is currently not available, perhaps because it has not been initialized or in the case of a shared hardware USART controller because it is set up for SPI.
- EINVAL: Impossible parameters (e.g. a
- ENOSUPPORT: The underlying UART cannot satisfy this configuration.