Type Alias nrf52840_pac::qdec::ledpol::LEDPOL_R

source ·
pub type LEDPOL_R = BitReader<LEDPOL_A>;
Expand description

Field LEDPOL reader - LED output pin polarity

Aliased Type§

struct LEDPOL_R { /* private fields */ }

Implementations§

source§

impl LEDPOL_R

source

pub fn variant(&self) -> LEDPOL_A

Get enumerated values variant

source

pub fn is_active_low(&self) -> bool

Checks if the value of the field is ACTIVE_LOW

source

pub fn is_active_high(&self) -> bool

Checks if the value of the field is ACTIVE_HIGH