Type Alias nrf52840_pac::gpiote::config::POLARITY_R
source · pub type POLARITY_R = FieldReader<u8, POLARITY_A>;
Expand description
Field POLARITY
reader - When In task mode: Operation to be performed on output when OUT[n]
task is triggered. When In event mode: Operation on input that shall trigger IN[n]
event.
Aliased Type§
struct POLARITY_R { /* private fields */ }
Implementations§
source§impl POLARITY_R
impl POLARITY_R
sourcepub fn variant(&self) -> POLARITY_A
pub fn variant(&self) -> POLARITY_A
Get enumerated values variant
sourcepub fn is_lo_to_hi(&self) -> bool
pub fn is_lo_to_hi(&self) -> bool
Checks if the value of the field is LO_TO_HI
sourcepub fn is_hi_to_lo(&self) -> bool
pub fn is_hi_to_lo(&self) -> bool
Checks if the value of the field is HI_TO_LO