Type Definition stm32g4::stm32g474::adc1::ofr2::W [−][src]
type W = W<u32, OFR2>;
Writer for register OFR2
Implementations
impl W
[src]
pub fn offset2_en(&mut self) -> OFFSET2_EN_W<'_>
[src]
Bit 31 - Offset 2 Enable
pub fn offset2_ch(&mut self) -> OFFSET2_CH_W<'_>
[src]
Bits 26:30 - Channel selection for the data offset 2
pub fn saten(&mut self) -> SATEN_W<'_>
[src]
Bit 25 - Saturation enable
pub fn offsetpos(&mut self) -> OFFSETPOS_W<'_>
[src]
Bit 24 - Positive offset
pub fn offset2(&mut self) -> OFFSET2_W<'_>
[src]
Bits 0:11 - Data offset 2 for the channel programmed into bits OFFSET2_CH