USART2

Type Alias USART2 

Source
pub type USART2 = Periph<RegisterBlock, 1073759232>;
Expand description

Universal synchronous asynchronous receiver transmitter

See peripheral structure

Aliased Type§

pub struct USART2 { /* private fields */ }

Trait Implementations§

Source§

impl Enable for USART2

Source§

fn enable(rcc: &mut RCC)

Enables peripheral
Source§

fn disable(rcc: &mut RCC)

Disables peripheral
Source§

fn is_enabled() -> bool

Check if peripheral enabled
Source§

fn is_disabled() -> bool

Check if peripheral disabled
Source§

unsafe fn enable_unchecked()

Safety Read more
Source§

unsafe fn disable_unchecked()

Safety Read more
Source§

impl RccBus for USART2

Source§

type Bus = APB1

Bus type;
Source§

impl Remap for USART2

Source§

type Mapr = MAPR

Source§

fn remap<const R: u8>(self, mapr: &mut Self::Mapr) -> Rmp<Self, R>

Source§

impl Reset for USART2

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more
Source§

impl SerialAsync for USART2

Source§

type Rx<PULL> = Rx<PULL>

Receive Read more
Source§

type Tx<Otype> = Tx<Otype>

Transmit Read more
Source§

impl SerialFlowControl for USART2

Source§

type Cts<PULL> = Cts<PULL>

“Clear To Send” blocks the data transmission at the end of the current transfer when high Read more
Source§

type Rts = Rts

“Request to send” indicates that the USART is ready to receive a data (when low) Read more
Source§

impl SerialSync for USART2

Source§

type Ck = Ck

Source§

impl Instance for USART2