Struct tm4c123x_hal::serial::Serial

source ·
pub struct Serial<UART, TX, RX, RTS, CTS> { /* private fields */ }
Expand description

Serial abstraction

Implementations

Configures a UART peripheral to provide serial communication

Splits the Serial abstraction into a transmitter and a receiver half. If you do this you can transmit and receive in different threads.

Write a complete string to the UART. If this returns Ok(()), all the data was sent. Otherwise you get number of octets sent and the error.

Re-combine a split UART

Releases the UART peripheral and associated pins

Configures a UART peripheral to provide serial communication

Splits the Serial abstraction into a transmitter and a receiver half. If you do this you can transmit and receive in different threads.

Write a complete string to the UART. If this returns Ok(()), all the data was sent. Otherwise you get number of octets sent and the error.

Re-combine a split UART

Releases the UART peripheral and associated pins

Configures a UART peripheral to provide serial communication

Splits the Serial abstraction into a transmitter and a receiver half. If you do this you can transmit and receive in different threads.

Write a complete string to the UART. If this returns Ok(()), all the data was sent. Otherwise you get number of octets sent and the error.

Re-combine a split UART

Releases the UART peripheral and associated pins

Configures a UART peripheral to provide serial communication

Splits the Serial abstraction into a transmitter and a receiver half. If you do this you can transmit and receive in different threads.

Write a complete string to the UART. If this returns Ok(()), all the data was sent. Otherwise you get number of octets sent and the error.

Re-combine a split UART

Releases the UART peripheral and associated pins

Configures a UART peripheral to provide serial communication

Splits the Serial abstraction into a transmitter and a receiver half. If you do this you can transmit and receive in different threads.

Write a complete string to the UART. If this returns Ok(()), all the data was sent. Otherwise you get number of octets sent and the error.

Re-combine a split UART

Releases the UART peripheral and associated pins

Configures a UART peripheral to provide serial communication

Splits the Serial abstraction into a transmitter and a receiver half. If you do this you can transmit and receive in different threads.

Write a complete string to the UART. If this returns Ok(()), all the data was sent. Otherwise you get number of octets sent and the error.

Re-combine a split UART

Releases the UART peripheral and associated pins

Configures a UART peripheral to provide serial communication

Splits the Serial abstraction into a transmitter and a receiver half. If you do this you can transmit and receive in different threads.

Write a complete string to the UART. If this returns Ok(()), all the data was sent. Otherwise you get number of octets sent and the error.

Re-combine a split UART

Releases the UART peripheral and associated pins

Configures a UART peripheral to provide serial communication

Splits the Serial abstraction into a transmitter and a receiver half. If you do this you can transmit and receive in different threads.

Write a complete string to the UART. If this returns Ok(()), all the data was sent. Otherwise you get number of octets sent and the error.

Re-combine a split UART

Releases the UART peripheral and associated pins

Trait Implementations

Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface

Allows the Uart to be passed to ‘write!()’ and friends.

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

Allows the Uart to be passed to ‘write!()’ and friends.

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

Allows the Uart to be passed to ‘write!()’ and friends.

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

Allows the Uart to be passed to ‘write!()’ and friends.

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

Allows the Uart to be passed to ‘write!()’ and friends.

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

Allows the Uart to be passed to ‘write!()’ and friends.

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

Allows the Uart to be passed to ‘write!()’ and friends.

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

Allows the Uart to be passed to ‘write!()’ and friends.

Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

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.