Type Alias nrf52840_pac::pwm0::mode::UPDOWN_R

source ·
pub type UPDOWN_R = BitReader<UPDOWN_A>;
Expand description

Field UPDOWN reader - Selects up mode or up-and-down mode for the counter

Aliased Type§

struct UPDOWN_R { /* private fields */ }

Implementations§

source§

impl UPDOWN_R

source

pub fn variant(&self) -> UPDOWN_A

Get enumerated values variant

source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

source

pub fn is_up_and_down(&self) -> bool

Checks if the value of the field is UP_AND_DOWN