#[repr(transparent)]pub struct FlexioAlphaFieldsetHotelAlpha(pub u32);Expand description
Timer Control.
Tuple Fields§
§0: u32Implementations§
Source§impl FlexioAlphaFieldsetHotelAlpha
impl FlexioAlphaFieldsetHotelAlpha
Sourcepub const fn timod(&self) -> FlexioAlphaEnumZulu
pub const fn timod(&self) -> FlexioAlphaEnumZulu
Timer Mode.
Sourcepub const fn set_timod(&mut self, val: FlexioAlphaEnumZulu)
pub const fn set_timod(&mut self, val: FlexioAlphaEnumZulu)
Timer Mode.
Sourcepub const fn onetim(&self) -> bool
pub const fn onetim(&self) -> bool
Timer One Time Operation. Raw bit values: false (0) = NotBlocked: Generate the timer enable event as normal.; true (1) = Blocked: Block the timer enable event unless the timer status flag is clear.
Sourcepub const fn set_onetim(&mut self, val: bool)
pub const fn set_onetim(&mut self, val: bool)
Timer One Time Operation. Raw bit values: false (0) = NotBlocked: Generate the timer enable event as normal.; true (1) = Blocked: Block the timer enable event unless the timer status flag is clear.
Sourcepub const fn pinins(&self) -> bool
pub const fn pinins(&self) -> bool
Timer Pin Input Select. Raw bit values: false (0) = Pinsel: PINSEL selects timer pin input and output.; true (1) = Pinselplus1: PINSEL + 1 selects the timer pin input; timer pin output remains selected by PINSEL.
Sourcepub const fn set_pinins(&mut self, val: bool)
pub const fn set_pinins(&mut self, val: bool)
Timer Pin Input Select. Raw bit values: false (0) = Pinsel: PINSEL selects timer pin input and output.; true (1) = Pinselplus1: PINSEL + 1 selects the timer pin input; timer pin output remains selected by PINSEL.
Sourcepub const fn pinpol(&self) -> bool
pub const fn pinpol(&self) -> bool
Timer Pin Polarity. Raw bit values: false (0) = ActiveHigh: Active high.; true (1) = ActiveLow: Active low.
Sourcepub const fn set_pinpol(&mut self, val: bool)
pub const fn set_pinpol(&mut self, val: bool)
Timer Pin Polarity. Raw bit values: false (0) = ActiveHigh: Active high.; true (1) = ActiveLow: Active low.
Sourcepub const fn set_pinsel(&mut self, val: u8)
pub const fn set_pinsel(&mut self, val: u8)
Timer Pin Select.
Sourcepub const fn pincfg(&self) -> FlexioAlphaEnumUniform
pub const fn pincfg(&self) -> FlexioAlphaEnumUniform
Timer Pin Configuration.
Sourcepub const fn set_pincfg(&mut self, val: FlexioAlphaEnumUniform)
pub const fn set_pincfg(&mut self, val: FlexioAlphaEnumUniform)
Timer Pin Configuration.
Sourcepub const fn trgsrc(&self) -> bool
pub const fn trgsrc(&self) -> bool
Trigger Source. Raw bit values: false (0) = ExtTrig: External.; true (1) = InternalTrig: Internal.
Sourcepub const fn set_trgsrc(&mut self, val: bool)
pub const fn set_trgsrc(&mut self, val: bool)
Trigger Source. Raw bit values: false (0) = ExtTrig: External.; true (1) = InternalTrig: Internal.
Sourcepub const fn trgpol(&self) -> bool
pub const fn trgpol(&self) -> bool
Trigger Polarity. Raw bit values: false (0) = ActiveHigh: Active high.; true (1) = ActiveLow: Active low.
Sourcepub const fn set_trgpol(&mut self, val: bool)
pub const fn set_trgpol(&mut self, val: bool)
Trigger Polarity. Raw bit values: false (0) = ActiveHigh: Active high.; true (1) = ActiveLow: Active low.
Sourcepub const fn set_trgsel(&mut self, val: u8)
pub const fn set_trgsel(&mut self, val: u8)
Trigger Select.
Trait Implementations§
Source§impl Clone for FlexioAlphaFieldsetHotelAlpha
impl Clone for FlexioAlphaFieldsetHotelAlpha
Source§fn clone(&self) -> FlexioAlphaFieldsetHotelAlpha
fn clone(&self) -> FlexioAlphaFieldsetHotelAlpha
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for FlexioAlphaFieldsetHotelAlpha
impl Default for FlexioAlphaFieldsetHotelAlpha
Source§fn default() -> FlexioAlphaFieldsetHotelAlpha
fn default() -> FlexioAlphaFieldsetHotelAlpha
Source§impl PartialEq for FlexioAlphaFieldsetHotelAlpha
impl PartialEq for FlexioAlphaFieldsetHotelAlpha
Source§fn eq(&self, other: &FlexioAlphaFieldsetHotelAlpha) -> bool
fn eq(&self, other: &FlexioAlphaFieldsetHotelAlpha) -> bool
self and other values to be equal, and is used by ==.