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