#[repr(transparent)]pub struct Trig5Chain32(pub u32);Expand description
ETC_TRIG Chain 2/3 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Trig5Chain32
impl Trig5Chain32
Sourcepub const fn csel2(&self) -> Trig5Chain32Csel2
pub const fn csel2(&self) -> Trig5Chain32Csel2
ADC channel selection
Sourcepub const fn set_csel2(&mut self, val: Trig5Chain32Csel2)
pub const fn set_csel2(&mut self, val: Trig5Chain32Csel2)
ADC channel selection
Sourcepub const fn hwts2(&self) -> Trig5Chain32Hwts2
pub const fn hwts2(&self) -> Trig5Chain32Hwts2
Segment 2 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts2(&mut self, val: Trig5Chain32Hwts2)
pub const fn set_hwts2(&mut self, val: Trig5Chain32Hwts2)
Segment 2 HWTS ADC hardware trigger selection
Sourcepub const fn b2b2(&self) -> Trig5Chain32B2b2
pub const fn b2b2(&self) -> Trig5Chain32B2b2
Segment 2 B2B
Sourcepub const fn set_b2b2(&mut self, val: Trig5Chain32B2b2)
pub const fn set_b2b2(&mut self, val: Trig5Chain32B2b2)
Segment 2 B2B
Sourcepub const fn ie2(&self) -> Trig5Chain32Ie2
pub const fn ie2(&self) -> Trig5Chain32Ie2
Segment 2 done interrupt selection
Sourcepub const fn set_ie2(&mut self, val: Trig5Chain32Ie2)
pub const fn set_ie2(&mut self, val: Trig5Chain32Ie2)
Segment 2 done interrupt selection
Sourcepub const fn csel3(&self) -> Trig5Chain32Csel3
pub const fn csel3(&self) -> Trig5Chain32Csel3
ADC channel selection
Sourcepub const fn set_csel3(&mut self, val: Trig5Chain32Csel3)
pub const fn set_csel3(&mut self, val: Trig5Chain32Csel3)
ADC channel selection
Sourcepub const fn hwts3(&self) -> Trig5Chain32Hwts3
pub const fn hwts3(&self) -> Trig5Chain32Hwts3
Segment 3 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts3(&mut self, val: Trig5Chain32Hwts3)
pub const fn set_hwts3(&mut self, val: Trig5Chain32Hwts3)
Segment 3 HWTS ADC hardware trigger selection
Sourcepub const fn b2b3(&self) -> Trig5Chain32B2b3
pub const fn b2b3(&self) -> Trig5Chain32B2b3
Segment 3 B2B
Sourcepub const fn set_b2b3(&mut self, val: Trig5Chain32B2b3)
pub const fn set_b2b3(&mut self, val: Trig5Chain32B2b3)
Segment 3 B2B
Sourcepub const fn ie3(&self) -> Trig5Chain32Ie3
pub const fn ie3(&self) -> Trig5Chain32Ie3
Segment 3 done interrupt selection
Sourcepub const fn set_ie3(&mut self, val: Trig5Chain32Ie3)
pub const fn set_ie3(&mut self, val: Trig5Chain32Ie3)
Segment 3 done interrupt selection
Trait Implementations§
Source§impl Clone for Trig5Chain32
impl Clone for Trig5Chain32
Source§fn clone(&self) -> Trig5Chain32
fn clone(&self) -> Trig5Chain32
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 Trig5Chain32
impl Debug for Trig5Chain32
Source§impl Default for Trig5Chain32
impl Default for Trig5Chain32
Source§fn default() -> Trig5Chain32
fn default() -> Trig5Chain32
Returns the “default value” for a type. Read more
Source§impl PartialEq for Trig5Chain32
impl PartialEq for Trig5Chain32
impl Copy for Trig5Chain32
impl Eq for Trig5Chain32
impl StructuralPartialEq for Trig5Chain32
Auto Trait Implementations§
impl Freeze for Trig5Chain32
impl RefUnwindSafe for Trig5Chain32
impl Send for Trig5Chain32
impl Sync for Trig5Chain32
impl Unpin for Trig5Chain32
impl UnwindSafe for Trig5Chain32
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