#[repr(transparent)]pub struct Trig2Chain10(pub u32);Expand description
ETC_TRIG Chain 0/1 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Trig2Chain10
impl Trig2Chain10
Sourcepub const fn csel0(&self) -> Trig2Chain10Csel0
pub const fn csel0(&self) -> Trig2Chain10Csel0
ADC channel selection
Sourcepub const fn set_csel0(&mut self, val: Trig2Chain10Csel0)
pub const fn set_csel0(&mut self, val: Trig2Chain10Csel0)
ADC channel selection
Sourcepub const fn hwts0(&self) -> Trig2Chain10Hwts0
pub const fn hwts0(&self) -> Trig2Chain10Hwts0
Segment 0 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts0(&mut self, val: Trig2Chain10Hwts0)
pub const fn set_hwts0(&mut self, val: Trig2Chain10Hwts0)
Segment 0 HWTS ADC hardware trigger selection
Sourcepub const fn b2b0(&self) -> Trig2Chain10B2b0
pub const fn b2b0(&self) -> Trig2Chain10B2b0
Segment 0 B2B
Sourcepub const fn set_b2b0(&mut self, val: Trig2Chain10B2b0)
pub const fn set_b2b0(&mut self, val: Trig2Chain10B2b0)
Segment 0 B2B
Sourcepub const fn ie0(&self) -> Trig2Chain10Ie0
pub const fn ie0(&self) -> Trig2Chain10Ie0
Segment 0 done interrupt selection
Sourcepub const fn set_ie0(&mut self, val: Trig2Chain10Ie0)
pub const fn set_ie0(&mut self, val: Trig2Chain10Ie0)
Segment 0 done interrupt selection
Sourcepub const fn csel1(&self) -> Trig2Chain10Csel1
pub const fn csel1(&self) -> Trig2Chain10Csel1
ADC channel selection
Sourcepub const fn set_csel1(&mut self, val: Trig2Chain10Csel1)
pub const fn set_csel1(&mut self, val: Trig2Chain10Csel1)
ADC channel selection
Sourcepub const fn hwts1(&self) -> Trig2Chain10Hwts1
pub const fn hwts1(&self) -> Trig2Chain10Hwts1
Segment 1 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts1(&mut self, val: Trig2Chain10Hwts1)
pub const fn set_hwts1(&mut self, val: Trig2Chain10Hwts1)
Segment 1 HWTS ADC hardware trigger selection
Sourcepub const fn b2b1(&self) -> Trig2Chain10B2b1
pub const fn b2b1(&self) -> Trig2Chain10B2b1
Segment 1 B2B
Sourcepub const fn set_b2b1(&mut self, val: Trig2Chain10B2b1)
pub const fn set_b2b1(&mut self, val: Trig2Chain10B2b1)
Segment 1 B2B
Sourcepub const fn ie1(&self) -> Trig2Chain10Ie1
pub const fn ie1(&self) -> Trig2Chain10Ie1
Segment 1 done interrupt selection
Sourcepub const fn set_ie1(&mut self, val: Trig2Chain10Ie1)
pub const fn set_ie1(&mut self, val: Trig2Chain10Ie1)
Segment 1 done interrupt selection
Trait Implementations§
Source§impl Clone for Trig2Chain10
impl Clone for Trig2Chain10
Source§fn clone(&self) -> Trig2Chain10
fn clone(&self) -> Trig2Chain10
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 Trig2Chain10
impl Debug for Trig2Chain10
Source§impl Default for Trig2Chain10
impl Default for Trig2Chain10
Source§fn default() -> Trig2Chain10
fn default() -> Trig2Chain10
Returns the “default value” for a type. Read more
Source§impl PartialEq for Trig2Chain10
impl PartialEq for Trig2Chain10
impl Copy for Trig2Chain10
impl Eq for Trig2Chain10
impl StructuralPartialEq for Trig2Chain10
Auto Trait Implementations§
impl Freeze for Trig2Chain10
impl RefUnwindSafe for Trig2Chain10
impl Send for Trig2Chain10
impl Sync for Trig2Chain10
impl Unpin for Trig2Chain10
impl UnwindSafe for Trig2Chain10
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