Struct grand_central_m4::sercom::UART3 [−][src]
pub struct UART3<RX, TX, RTS, CTS> { /* fields omitted */ }
The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
Expand description
UARTX represents the corresponding SERCOMX instance
configured to act in the role of a UART Master.
Objects of this type implement the HAL serial::Read
,
serial::Write
traits.
This type is generic over any valid pad mapping where there is a defined “receive pin out transmit pin out” implementation.
Implementations
pub fn new<F, T>(
clock: &Sercom3CoreClock,
freq: F,
sercom: SERCOM3,
mclk: &mut MCLK,
padout: T
) -> UART3<RX, TX, RTS, CTS> where
F: Into<Hertz>,
T: Into<Padout<SERCOM3, RX, TX, RTS, CTS>>,
Padout<SERCOM3, RX, TX, RTS, CTS>: RxpoTxpo,
The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
👎 Deprecated since 0.13.0: The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
Splits the UART into transmit and receive halves
👎 Deprecated since 0.13.0: The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
Combines transmit and receive halves back into a duplex UART
The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
The sercom::v1::uart
module is deprecated, and will be removed in a subsequent release.
Please use the sercom::v2::uart
module instead.
Trait Implementations
Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a single word to the serial interface