#[repr(transparent)]pub struct Trig2Chain32(pub u32);Expand description
ETC_TRIG Chain 2/3 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Trig2Chain32
impl Trig2Chain32
Sourcepub const fn csel2(&self) -> Trig2Chain32Csel2
pub const fn csel2(&self) -> Trig2Chain32Csel2
ADC channel selection
Sourcepub const fn set_csel2(&mut self, val: Trig2Chain32Csel2)
pub const fn set_csel2(&mut self, val: Trig2Chain32Csel2)
ADC channel selection
Sourcepub const fn hwts2(&self) -> Trig2Chain32Hwts2
pub const fn hwts2(&self) -> Trig2Chain32Hwts2
Segment 2 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts2(&mut self, val: Trig2Chain32Hwts2)
pub const fn set_hwts2(&mut self, val: Trig2Chain32Hwts2)
Segment 2 HWTS ADC hardware trigger selection
Sourcepub const fn b2b2(&self) -> Trig2Chain32B2b2
pub const fn b2b2(&self) -> Trig2Chain32B2b2
Segment 2 B2B
Sourcepub const fn set_b2b2(&mut self, val: Trig2Chain32B2b2)
pub const fn set_b2b2(&mut self, val: Trig2Chain32B2b2)
Segment 2 B2B
Sourcepub const fn ie2(&self) -> Trig2Chain32Ie2
pub const fn ie2(&self) -> Trig2Chain32Ie2
Segment 2 interrupt enable. (This bit field is meaningful only when IE2_EN is set)
Sourcepub const fn set_ie2(&mut self, val: Trig2Chain32Ie2)
pub const fn set_ie2(&mut self, val: Trig2Chain32Ie2)
Segment 2 interrupt enable. (This bit field is meaningful only when IE2_EN is set)
Sourcepub const fn ie2_en(&self) -> Trig2Chain32Ie2En
pub const fn ie2_en(&self) -> Trig2Chain32Ie2En
IRQ enable of segment 2.
Sourcepub const fn set_ie2_en(&mut self, val: Trig2Chain32Ie2En)
pub const fn set_ie2_en(&mut self, val: Trig2Chain32Ie2En)
IRQ enable of segment 2.
Sourcepub const fn csel3(&self) -> Trig2Chain32Csel3
pub const fn csel3(&self) -> Trig2Chain32Csel3
ADC channel selection
Sourcepub const fn set_csel3(&mut self, val: Trig2Chain32Csel3)
pub const fn set_csel3(&mut self, val: Trig2Chain32Csel3)
ADC channel selection
Sourcepub const fn hwts3(&self) -> Trig2Chain32Hwts3
pub const fn hwts3(&self) -> Trig2Chain32Hwts3
Segment 3 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts3(&mut self, val: Trig2Chain32Hwts3)
pub const fn set_hwts3(&mut self, val: Trig2Chain32Hwts3)
Segment 3 HWTS ADC hardware trigger selection
Sourcepub const fn b2b3(&self) -> Trig2Chain32B2b3
pub const fn b2b3(&self) -> Trig2Chain32B2b3
Segment 3 B2B
Sourcepub const fn set_b2b3(&mut self, val: Trig2Chain32B2b3)
pub const fn set_b2b3(&mut self, val: Trig2Chain32B2b3)
Segment 3 B2B
Sourcepub const fn ie3(&self) -> Trig2Chain32Ie3
pub const fn ie3(&self) -> Trig2Chain32Ie3
Segment 3 interrupt enable. (This bit field is meaningful only when IE3_EN is set)
Sourcepub const fn set_ie3(&mut self, val: Trig2Chain32Ie3)
pub const fn set_ie3(&mut self, val: Trig2Chain32Ie3)
Segment 3 interrupt enable. (This bit field is meaningful only when IE3_EN is set)
Sourcepub const fn ie3_en(&self) -> Trig2Chain32Ie3En
pub const fn ie3_en(&self) -> Trig2Chain32Ie3En
IRQ enable of segment 3.
Sourcepub const fn set_ie3_en(&mut self, val: Trig2Chain32Ie3En)
pub const fn set_ie3_en(&mut self, val: Trig2Chain32Ie3En)
IRQ enable of segment 3.
Trait Implementations§
Source§impl Clone for Trig2Chain32
impl Clone for Trig2Chain32
Source§fn clone(&self) -> Trig2Chain32
fn clone(&self) -> Trig2Chain32
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more