Struct nrf52840_hal::uarte::Uarte

source ·
pub struct Uarte<T>(_);
Expand description

Interface to a UARTE instance

This is a very basic interface that comes with the following limitations:

  • The UARTE instances share the same address space with instances of UART. You need to make sure that conflicting instances are disabled before using Uarte. See product specification:
    • nrf52832: Section 15.2
    • nrf52840: Section 6.1.2

Implementations

Write via UARTE

This method uses transmits all bytes in tx_buffer

The buffer must have a length of at most 255 bytes

Return the raw interface to the underlying UARTE peripheral

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.