pub type SimUartType = SemihostUart<'static>;
Aliased Type§
struct SimUartType { /* private fields */ }
Implementations
Source§impl<'a> SemihostUart<'a>
impl<'a> SemihostUart<'a>
pub fn new() -> SemihostUart<'a>
Trait Implementations
Source§impl Configure for SemihostUart<'_>
impl Configure for SemihostUart<'_>
Source§impl Default for SemihostUart<'_>
impl Default for SemihostUart<'_>
Source§impl DeferredCallClient for SemihostUart<'_>
impl DeferredCallClient for SemihostUart<'_>
Source§impl<'a> Receive<'a> for SemihostUart<'a>
impl<'a> Receive<'a> for SemihostUart<'a>
Source§fn set_receive_client(&self, _client: &'a dyn ReceiveClient)
fn set_receive_client(&self, _client: &'a dyn ReceiveClient)
Set the receive client, which will be called when reads complete.
Source§impl<'a> Transmit<'a> for SemihostUart<'a>
impl<'a> Transmit<'a> for SemihostUart<'a>
Source§fn set_transmit_client(&self, client: &'a dyn TransmitClient)
fn set_transmit_client(&self, client: &'a dyn TransmitClient)
Set the transmit client, which will be called when transmissions
complete.
Source§fn transmit_buffer(
&self,
tx_buffer: &'static mut [u8],
tx_len: usize,
) -> Result<(), (ErrorCode, &'static mut [u8])>
fn transmit_buffer( &self, tx_buffer: &'static mut [u8], tx_len: usize, ) -> Result<(), (ErrorCode, &'static mut [u8])>
Transmit a buffer of data. Read more