Type Definition stm32g4::stm32g431::comp::comp_c3csr::W[][src]

type W = W<u32, COMP_C3CSR>;

Writer for register COMP_C3CSR

Implementations

impl W[src]

pub fn en(&mut self) -> EN_W<'_>[src]

Bit 0 - EN

pub fn comp_deglitch_en(&mut self) -> COMP_DEGLITCH_EN_W<'_>[src]

Bit 1 - COMP_DEGLITCH_EN

pub fn inmsel(&mut self) -> INMSEL_W<'_>[src]

Bits 4:6 - INMSEL

pub fn inpsel(&mut self) -> INPSEL_W<'_>[src]

Bit 8 - INPSEL

pub fn pol(&mut self) -> POL_W<'_>[src]

Bit 15 - POL

pub fn hyst(&mut self) -> HYST_W<'_>[src]

Bits 16:18 - HYST

pub fn blanksel(&mut self) -> BLANKSEL_W<'_>[src]

Bits 19:21 - BLANKSEL

pub fn brgen(&mut self) -> BRGEN_W<'_>[src]

Bit 22 - BRGEN

pub fn scalen(&mut self) -> SCALEN_W<'_>[src]

Bit 23 - SCALEN

pub fn lock(&mut self) -> LOCK_W<'_>[src]

Bit 31 - LOCK