Type Definition atsam4s2a_pac::pwm::scm::UPDM_R

source ·
pub type UPDM_R = FieldReader<u8, UPDM_A>;
Expand description

Field UPDM reader - Synchronous Channels Update Mode

Implementations§

source§

impl UPDM_R

source

pub fn variant(&self) -> Option<UPDM_A>

Get enumerated values variant

source

pub fn is_mode0(&self) -> bool

Checks if the value of the field is MODE0

source

pub fn is_mode1(&self) -> bool

Checks if the value of the field is MODE1

source

pub fn is_mode2(&self) -> bool

Checks if the value of the field is MODE2