Type Alias avr_device::atmega2560::usart2::ucsr2c::UCPOL2_R
source · 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
impl UCPOL2_R
sourcepub fn is_rising_edge(&self) -> bool
pub fn is_rising_edge(&self) -> bool
Checks if the value of the field is RISING_EDGE
sourcepub fn is_falling_edge(&self) -> bool
pub fn is_falling_edge(&self) -> bool
Checks if the value of the field is FALLING_EDGE