Module rp6::uart

source ·
Expand description

UART = “Universal Aynchronous Receiver Transceiver”

This module contains data transfer functions that allow easy access to the robot’s serial UART connection. Receiving messages is asynchronous (using interrupts) and uses ringbuffers for intermediate storage of the received messages.

Modules

Module that implements Serial::write and formatting behavior for types.

Macros

Structs

Struct managing all access to the robot’s serial port connection
A fixed capacity String

Constants

Define constants for RP6 baudrates.

Traits

Trait to allow implementing specific Serial::write behavior for types.
Trait to allow implementing specific Serial::write_dec behavior for types.
Trait to allow implementing specific Serial::write_hex behavior for types.
Trait to allow instantiation and passing as &str for a type.
Just like core::fmt::Display
A collection of methods that are required / used to format a message into a stream.

Functions

Returns the size of a type in bytes.