[][src]Type Definition stm32f0::stm32f0x2::comp::csr::COMP1EN_R

type COMP1EN_R = R<bool, COMP1EN_A>;

Reader of field COMP1EN

Implementations

impl COMP1EN_R[src]

pub fn variant(&self) -> COMP1EN_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