[][src]Type Definition stm32f3::stm32f303::comp::comp2_csr::COMP2EN_R

type COMP2EN_R = R<bool, COMP2EN_A>;

Reader of field COMP2EN

Methods

impl COMP2EN_R[src]

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