#[repr(transparent)]pub struct Cfg(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Cfg
impl Cfg
Sourcepub const fn capen0(&self) -> bool
pub const fn capen0(&self) -> bool
Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_capen0(&mut self, val: bool)
pub const fn set_capen0(&mut self, val: bool)
Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn capen1(&self) -> bool
pub const fn capen1(&self) -> bool
Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_capen1(&mut self, val: bool)
pub const fn set_capen1(&mut self, val: bool)
Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn capen2(&self) -> bool
pub const fn capen2(&self) -> bool
Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_capen2(&mut self, val: bool)
pub const fn set_capen2(&mut self, val: bool)
Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn capen3(&self) -> bool
pub const fn capen3(&self) -> bool
Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_capen3(&mut self, val: bool)
pub const fn set_capen3(&mut self, val: bool)
Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn cappol0(&self) -> bool
pub const fn cappol0(&self) -> bool
Capture on a negative edge when set, positive edge when clear. Raw bit values: false (0) = Rising: Rising (positive) edge.; true (1) = Falling: Falling (negative) edge.
Sourcepub const fn set_cappol0(&mut self, val: bool)
pub const fn set_cappol0(&mut self, val: bool)
Capture on a negative edge when set, positive edge when clear. Raw bit values: false (0) = Rising: Rising (positive) edge.; true (1) = Falling: Falling (negative) edge.
Sourcepub const fn cappol1(&self) -> bool
pub const fn cappol1(&self) -> bool
Capture on a negative edge when set, positive edge when clear. Raw bit values: false (0) = Rising: Rising (positive) edge.; true (1) = Falling: Falling (negative) edge.
Sourcepub const fn set_cappol1(&mut self, val: bool)
pub const fn set_cappol1(&mut self, val: bool)
Capture on a negative edge when set, positive edge when clear. Raw bit values: false (0) = Rising: Rising (positive) edge.; true (1) = Falling: Falling (negative) edge.
Sourcepub const fn cappol2(&self) -> bool
pub const fn cappol2(&self) -> bool
Capture on a negative edge when set, positive edge when clear. Raw bit values: false (0) = Rising: Rising (positive) edge.; true (1) = Falling: Falling (negative) edge.
Sourcepub const fn set_cappol2(&mut self, val: bool)
pub const fn set_cappol2(&mut self, val: bool)
Capture on a negative edge when set, positive edge when clear. Raw bit values: false (0) = Rising: Rising (positive) edge.; true (1) = Falling: Falling (negative) edge.
Sourcepub const fn cappol3(&self) -> bool
pub const fn cappol3(&self) -> bool
Capture on a negative edge when set, positive edge when clear. Raw bit values: false (0) = Rising: Rising (positive) edge.; true (1) = Falling: Falling (negative) edge.
Sourcepub const fn set_cappol3(&mut self, val: bool)
pub const fn set_cappol3(&mut self, val: bool)
Capture on a negative edge when set, positive edge when clear. Raw bit values: false (0) = Rising: Rising (positive) edge.; true (1) = Falling: Falling (negative) edge.