Type Definition stm32g4::stm32g474::comp::comp_c4csr::R[][src]

type R = R<u32, COMP_C4CSR>;

Reader of register COMP_C4CSR

Implementations

impl R[src]

pub fn en(&self) -> EN_R[src]

Bit 0 - EN

pub fn comp_deglitch_en(&self) -> COMP_DEGLITCH_EN_R[src]

Bit 1 - COMP_DEGLITCH_EN

pub fn inmsel(&self) -> INMSEL_R[src]

Bits 4:6 - INMSEL

pub fn inpsel(&self) -> INPSEL_R[src]

Bit 8 - INPSEL

pub fn pol(&self) -> POL_R[src]

Bit 15 - POL

pub fn hyst(&self) -> HYST_R[src]

Bits 16:18 - HYST

pub fn blanksel(&self) -> BLANKSEL_R[src]

Bits 19:21 - BLANKSEL

pub fn brgen(&self) -> BRGEN_R[src]

Bit 22 - BRGEN

pub fn scalen(&self) -> SCALEN_R[src]

Bit 23 - SCALEN

pub fn value(&self) -> VALUE_R[src]

Bit 30 - VALUE

pub fn lock(&self) -> LOCK_R[src]

Bit 31 - LOCK