#[repr(transparent)]pub struct Cfg(pub u32);Expand description
Capture Configuration.
Tuple Fields§
§0: u32Implementations§
Source§impl Cfg
impl Cfg
Sourcepub const fn capen0(&self) -> bool
pub const fn capen0(&self) -> bool
Enable Capture 0. Raw bit values: false (0) = Capen0isdisabled: Disable.; true (1) = Capen0isenabled: Enable.
Sourcepub const fn set_capen0(&mut self, val: bool)
pub const fn set_capen0(&mut self, val: bool)
Enable Capture 0. Raw bit values: false (0) = Capen0isdisabled: Disable.; true (1) = Capen0isenabled: Enable.
Sourcepub const fn capen1(&self) -> bool
pub const fn capen1(&self) -> bool
Enable Capture 1. Raw bit values: false (0) = Capen1isdisabled: Disable.; true (1) = Capen1isenabled: Enable.
Sourcepub const fn set_capen1(&mut self, val: bool)
pub const fn set_capen1(&mut self, val: bool)
Enable Capture 1. Raw bit values: false (0) = Capen1isdisabled: Disable.; true (1) = Capen1isenabled: Enable.
Sourcepub const fn capen2(&self) -> bool
pub const fn capen2(&self) -> bool
Enable Capture 2. Raw bit values: false (0) = Capen2isdisabled: Disable.; true (1) = Capen2isenabled: Enable.
Sourcepub const fn set_capen2(&mut self, val: bool)
pub const fn set_capen2(&mut self, val: bool)
Enable Capture 2. Raw bit values: false (0) = Capen2isdisabled: Disable.; true (1) = Capen2isenabled: Enable.
Sourcepub const fn capen3(&self) -> bool
pub const fn capen3(&self) -> bool
Enable Capture 3. Raw bit values: false (0) = Capen3isdisabled: Disable.; true (1) = Capen3isenabled: Enable.
Sourcepub const fn set_capen3(&mut self, val: bool)
pub const fn set_capen3(&mut self, val: bool)
Enable Capture 3. Raw bit values: false (0) = Capen3isdisabled: Disable.; true (1) = Capen3isenabled: Enable.
Sourcepub const fn cappol0(&self) -> bool
pub const fn cappol0(&self) -> bool
Capture Polarity 0. Raw bit values: false (0) = Cappol0posedgecapture: Positive.; true (1) = Cappol0negedgecapture: Negative.
Sourcepub const fn set_cappol0(&mut self, val: bool)
pub const fn set_cappol0(&mut self, val: bool)
Capture Polarity 0. Raw bit values: false (0) = Cappol0posedgecapture: Positive.; true (1) = Cappol0negedgecapture: Negative.
Sourcepub const fn cappol1(&self) -> bool
pub const fn cappol1(&self) -> bool
Capture-Polarity 1. Raw bit values: false (0) = Cappol1posedgecapture: Positive.; true (1) = Cappol1negedgecapture: Negative.
Sourcepub const fn set_cappol1(&mut self, val: bool)
pub const fn set_cappol1(&mut self, val: bool)
Capture-Polarity 1. Raw bit values: false (0) = Cappol1posedgecapture: Positive.; true (1) = Cappol1negedgecapture: Negative.
Sourcepub const fn cappol2(&self) -> bool
pub const fn cappol2(&self) -> bool
Capture Polarity 2. Raw bit values: false (0) = Cappol2posedgecapture: Positive.; true (1) = Cappol2negedgecapture: Negative.
Sourcepub const fn set_cappol2(&mut self, val: bool)
pub const fn set_cappol2(&mut self, val: bool)
Capture Polarity 2. Raw bit values: false (0) = Cappol2posedgecapture: Positive.; true (1) = Cappol2negedgecapture: Negative.
Sourcepub const fn cappol3(&self) -> bool
pub const fn cappol3(&self) -> bool
Capture Polarity 3. Raw bit values: false (0) = Cappol3posedgecapture: Positive.; true (1) = Cappol3negedgecapture: Negative.
Sourcepub const fn set_cappol3(&mut self, val: bool)
pub const fn set_cappol3(&mut self, val: bool)
Capture Polarity 3. Raw bit values: false (0) = Cappol3posedgecapture: Positive.; true (1) = Cappol3negedgecapture: Negative.