#[repr(transparent)]pub struct Trig7Chain32(pub u32);Expand description
ETC_TRIG Chain 2/3 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Trig7Chain32
impl Trig7Chain32
Sourcepub const fn csel2(&self) -> Trig7Chain32Csel2
pub const fn csel2(&self) -> Trig7Chain32Csel2
ADC channel selection
Sourcepub const fn set_csel2(&mut self, val: Trig7Chain32Csel2)
pub const fn set_csel2(&mut self, val: Trig7Chain32Csel2)
ADC channel selection
Sourcepub const fn hwts2(&self) -> Trig7Chain32Hwts2
pub const fn hwts2(&self) -> Trig7Chain32Hwts2
Segment 2 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts2(&mut self, val: Trig7Chain32Hwts2)
pub const fn set_hwts2(&mut self, val: Trig7Chain32Hwts2)
Segment 2 HWTS ADC hardware trigger selection
Sourcepub const fn b2b2(&self) -> Trig7Chain32B2b2
pub const fn b2b2(&self) -> Trig7Chain32B2b2
Segment 2 B2B
Sourcepub const fn set_b2b2(&mut self, val: Trig7Chain32B2b2)
pub const fn set_b2b2(&mut self, val: Trig7Chain32B2b2)
Segment 2 B2B
Sourcepub const fn ie2(&self) -> Trig7Chain32Ie2
pub const fn ie2(&self) -> Trig7Chain32Ie2
Segment 2 done interrupt selection
Sourcepub const fn set_ie2(&mut self, val: Trig7Chain32Ie2)
pub const fn set_ie2(&mut self, val: Trig7Chain32Ie2)
Segment 2 done interrupt selection
Sourcepub const fn csel3(&self) -> Trig7Chain32Csel3
pub const fn csel3(&self) -> Trig7Chain32Csel3
ADC channel selection
Sourcepub const fn set_csel3(&mut self, val: Trig7Chain32Csel3)
pub const fn set_csel3(&mut self, val: Trig7Chain32Csel3)
ADC channel selection
Sourcepub const fn hwts3(&self) -> Trig7Chain32Hwts3
pub const fn hwts3(&self) -> Trig7Chain32Hwts3
Segment 3 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts3(&mut self, val: Trig7Chain32Hwts3)
pub const fn set_hwts3(&mut self, val: Trig7Chain32Hwts3)
Segment 3 HWTS ADC hardware trigger selection
Sourcepub const fn b2b3(&self) -> Trig7Chain32B2b3
pub const fn b2b3(&self) -> Trig7Chain32B2b3
Segment 3 B2B
Sourcepub const fn set_b2b3(&mut self, val: Trig7Chain32B2b3)
pub const fn set_b2b3(&mut self, val: Trig7Chain32B2b3)
Segment 3 B2B
Sourcepub const fn ie3(&self) -> Trig7Chain32Ie3
pub const fn ie3(&self) -> Trig7Chain32Ie3
Segment 3 done interrupt selection
Sourcepub const fn set_ie3(&mut self, val: Trig7Chain32Ie3)
pub const fn set_ie3(&mut self, val: Trig7Chain32Ie3)
Segment 3 done interrupt selection
Trait Implementations§
Source§impl Clone for Trig7Chain32
impl Clone for Trig7Chain32
Source§fn clone(&self) -> Trig7Chain32
fn clone(&self) -> Trig7Chain32
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Trig7Chain32
impl Debug for Trig7Chain32
Source§impl Default for Trig7Chain32
impl Default for Trig7Chain32
Source§fn default() -> Trig7Chain32
fn default() -> Trig7Chain32
Returns the “default value” for a type. Read more
Source§impl PartialEq for Trig7Chain32
impl PartialEq for Trig7Chain32
impl Copy for Trig7Chain32
impl Eq for Trig7Chain32
impl StructuralPartialEq for Trig7Chain32
Auto Trait Implementations§
impl Freeze for Trig7Chain32
impl RefUnwindSafe for Trig7Chain32
impl Send for Trig7Chain32
impl Sync for Trig7Chain32
impl Unpin for Trig7Chain32
impl UnwindSafe for Trig7Chain32
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more