pub type UCPOL2_R = BitReader<UCPOL2_A>;
Expand description

Field UCPOL2 reader - Clock Polarity

Aliased Type§

struct UCPOL2_R { /* private fields */ }

Implementations§

source§

impl UCPOL2_R

source

pub fn variant(&self) -> UCPOL2_A

Get enumerated values variant

source

pub fn is_rising_edge(&self) -> bool

Checks if the value of the field is RISING_EDGE

source

pub fn is_falling_edge(&self) -> bool

Checks if the value of the field is FALLING_EDGE