#[repr(transparent)]pub struct Trig2Chain76(pub u32);Expand description
ETC_TRIG Chain 6/7 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Trig2Chain76
impl Trig2Chain76
Sourcepub const fn csel6(&self) -> Trig2Chain76Csel6
pub const fn csel6(&self) -> Trig2Chain76Csel6
ADC channel selection
Sourcepub const fn set_csel6(&mut self, val: Trig2Chain76Csel6)
pub const fn set_csel6(&mut self, val: Trig2Chain76Csel6)
ADC channel selection
Sourcepub const fn hwts6(&self) -> Trig2Chain76Hwts6
pub const fn hwts6(&self) -> Trig2Chain76Hwts6
Segment 6 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts6(&mut self, val: Trig2Chain76Hwts6)
pub const fn set_hwts6(&mut self, val: Trig2Chain76Hwts6)
Segment 6 HWTS ADC hardware trigger selection
Sourcepub const fn b2b6(&self) -> Trig2Chain76B2b6
pub const fn b2b6(&self) -> Trig2Chain76B2b6
Segment 6 B2B
Sourcepub const fn set_b2b6(&mut self, val: Trig2Chain76B2b6)
pub const fn set_b2b6(&mut self, val: Trig2Chain76B2b6)
Segment 6 B2B
Sourcepub const fn ie6(&self) -> Trig2Chain76Ie6
pub const fn ie6(&self) -> Trig2Chain76Ie6
Segment 6 interrupt enable. (This bit field is meaningful only when IE6_EN is set)
Sourcepub const fn set_ie6(&mut self, val: Trig2Chain76Ie6)
pub const fn set_ie6(&mut self, val: Trig2Chain76Ie6)
Segment 6 interrupt enable. (This bit field is meaningful only when IE6_EN is set)
Sourcepub const fn ie6_en(&self) -> Trig2Chain76Ie6En
pub const fn ie6_en(&self) -> Trig2Chain76Ie6En
IRQ enable of segment 6.
Sourcepub const fn set_ie6_en(&mut self, val: Trig2Chain76Ie6En)
pub const fn set_ie6_en(&mut self, val: Trig2Chain76Ie6En)
IRQ enable of segment 6.
Sourcepub const fn csel7(&self) -> Trig2Chain76Csel7
pub const fn csel7(&self) -> Trig2Chain76Csel7
ADC channel selection
Sourcepub const fn set_csel7(&mut self, val: Trig2Chain76Csel7)
pub const fn set_csel7(&mut self, val: Trig2Chain76Csel7)
ADC channel selection
Sourcepub const fn hwts7(&self) -> Trig2Chain76Hwts7
pub const fn hwts7(&self) -> Trig2Chain76Hwts7
Segment 7 HWTS ADC hardware trigger selection
Sourcepub const fn set_hwts7(&mut self, val: Trig2Chain76Hwts7)
pub const fn set_hwts7(&mut self, val: Trig2Chain76Hwts7)
Segment 7 HWTS ADC hardware trigger selection
Sourcepub const fn b2b7(&self) -> Trig2Chain76B2b7
pub const fn b2b7(&self) -> Trig2Chain76B2b7
Segment 7 B2B
Sourcepub const fn set_b2b7(&mut self, val: Trig2Chain76B2b7)
pub const fn set_b2b7(&mut self, val: Trig2Chain76B2b7)
Segment 7 B2B
Sourcepub const fn ie7(&self) -> Trig2Chain76Ie7
pub const fn ie7(&self) -> Trig2Chain76Ie7
Segment 7 interrupt enable. (This bit field is meaningful only when IE7_EN is set)
Sourcepub const fn set_ie7(&mut self, val: Trig2Chain76Ie7)
pub const fn set_ie7(&mut self, val: Trig2Chain76Ie7)
Segment 7 interrupt enable. (This bit field is meaningful only when IE7_EN is set)
Sourcepub const fn ie7_en(&self) -> Trig2Chain76Ie7En
pub const fn ie7_en(&self) -> Trig2Chain76Ie7En
IRQ enable of segment 7.
Sourcepub const fn set_ie7_en(&mut self, val: Trig2Chain76Ie7En)
pub const fn set_ie7_en(&mut self, val: Trig2Chain76Ie7En)
IRQ enable of segment 7.
Trait Implementations§
Source§impl Clone for Trig2Chain76
impl Clone for Trig2Chain76
Source§fn clone(&self) -> Trig2Chain76
fn clone(&self) -> Trig2Chain76
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more