#[repr(transparent)]pub struct Trig2Chain54(pub u32);Expand description
ETC_TRIG Chain 4/5 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Trig2Chain54
impl Trig2Chain54
Sourcepub const fn csel4(&self) -> Trig2Chain54Csel4
pub const fn csel4(&self) -> Trig2Chain54Csel4
ADC channel selection
Sourcepub const fn set_csel4(&mut self, val: Trig2Chain54Csel4)
pub const fn set_csel4(&mut self, val: Trig2Chain54Csel4)
ADC channel selection
Sourcepub const fn hwts4(&self) -> Trig2Chain54Hwts4
pub const fn hwts4(&self) -> Trig2Chain54Hwts4
Segment 4 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts4(&mut self, val: Trig2Chain54Hwts4)
pub const fn set_hwts4(&mut self, val: Trig2Chain54Hwts4)
Segment 4 HWTS ADC hardware trigger selection
Sourcepub const fn b2b4(&self) -> Trig2Chain54B2b4
pub const fn b2b4(&self) -> Trig2Chain54B2b4
Segment 4 B2B
Sourcepub const fn set_b2b4(&mut self, val: Trig2Chain54B2b4)
pub const fn set_b2b4(&mut self, val: Trig2Chain54B2b4)
Segment 4 B2B
Sourcepub const fn ie4(&self) -> Trig2Chain54Ie4
pub const fn ie4(&self) -> Trig2Chain54Ie4
Segment 4 done interrupt selection
Sourcepub const fn set_ie4(&mut self, val: Trig2Chain54Ie4)
pub const fn set_ie4(&mut self, val: Trig2Chain54Ie4)
Segment 4 done interrupt selection
Sourcepub const fn csel5(&self) -> Trig2Chain54Csel5
pub const fn csel5(&self) -> Trig2Chain54Csel5
ADC channel selection
Sourcepub const fn set_csel5(&mut self, val: Trig2Chain54Csel5)
pub const fn set_csel5(&mut self, val: Trig2Chain54Csel5)
ADC channel selection
Sourcepub const fn hwts5(&self) -> Trig2Chain54Hwts5
pub const fn hwts5(&self) -> Trig2Chain54Hwts5
Segment 5 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts5(&mut self, val: Trig2Chain54Hwts5)
pub const fn set_hwts5(&mut self, val: Trig2Chain54Hwts5)
Segment 5 HWTS ADC hardware trigger selection
Sourcepub const fn b2b5(&self) -> Trig2Chain54B2b5
pub const fn b2b5(&self) -> Trig2Chain54B2b5
Segment 5 B2B
Sourcepub const fn set_b2b5(&mut self, val: Trig2Chain54B2b5)
pub const fn set_b2b5(&mut self, val: Trig2Chain54B2b5)
Segment 5 B2B
Sourcepub const fn ie5(&self) -> Trig2Chain54Ie5
pub const fn ie5(&self) -> Trig2Chain54Ie5
Segment 5 done interrupt selection
Sourcepub const fn set_ie5(&mut self, val: Trig2Chain54Ie5)
pub const fn set_ie5(&mut self, val: Trig2Chain54Ie5)
Segment 5 done interrupt selection
Trait Implementations§
Source§impl Clone for Trig2Chain54
impl Clone for Trig2Chain54
Source§fn clone(&self) -> Trig2Chain54
fn clone(&self) -> Trig2Chain54
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 Trig2Chain54
impl Debug for Trig2Chain54
Source§impl Default for Trig2Chain54
impl Default for Trig2Chain54
Source§fn default() -> Trig2Chain54
fn default() -> Trig2Chain54
Returns the “default value” for a type. Read more
Source§impl PartialEq for Trig2Chain54
impl PartialEq for Trig2Chain54
impl Copy for Trig2Chain54
impl Eq for Trig2Chain54
impl StructuralPartialEq for Trig2Chain54
Auto Trait Implementations§
impl Freeze for Trig2Chain54
impl RefUnwindSafe for Trig2Chain54
impl Send for Trig2Chain54
impl Sync for Trig2Chain54
impl Unpin for Trig2Chain54
impl UnwindSafe for Trig2Chain54
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