pub struct UTx<USART, TX, WORD = u8> { /* private fields */ }
Expand description

Serial transmitter containing TX pin

Implementations

Methods from Deref<Target = Tx<USART, WORD>>

Start listening for a tx empty interrupt event

Note, you will also have to enable the corresponding interrupt in the NVIC to start receiving events.

Stop listening for the tx empty interrupt event

Trait Implementations

Converts this type into a mutable reference of the (usually inferred) input type.
Converts this type into a shared reference of the (usually inferred) input type.
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.

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.

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.