Type Definition stm32g4::stm32g431::adc1::cfgr2::GCOMP_R[][src]

type GCOMP_R = R<bool, GCOMP_A>;

Reader of field GCOMP

Implementations

impl GCOMP_R[src]

pub fn variant(&self) -> GCOMP_A[src]

Get enumerated values variant

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_enabled(&self) -> bool[src]

Checks if the value of the field is ENABLED