[][src]Type Definition stm32f0::stm32f0x8::comp::csr::COMP1SW1_R

type COMP1SW1_R = R<bool, COMP1SW1_A>;

Reader of field COMP1SW1

Methods

impl COMP1SW1_R[src]

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

Get enumerated values variant

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

Checks if the value of the field is OPEN

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

Checks if the value of the field is CLOSED