Type Alias gd32f1::gd32f190::usart0::ctl1::StrpR

source ·
pub type StrpR = BitReader<Strp>;
Expand description

Field STRP reader - Swap TX/RX pins

Aliased Type§

struct StrpR { /* private fields */ }

Implementations§

source§

impl StrpR

source

pub const fn variant(&self) -> Strp

Get enumerated values variant

source

pub fn is_standard(&self) -> bool

TX/RX pins are used as defined in standard pinout

source

pub fn is_swapped(&self) -> bool

The TX and RX pins functions are swapped