Type Definition gd32f1::gd32f170::cmp::cs::R[][src]

type R = R<u32, CS>;

Reader of register CS

Implementations

impl R[src]

pub fn cmp0en(&self) -> CMP0EN_R[src]

Bit 0 - CMP0 enable

pub fn cmp0sw(&self) -> CMP0SW_R[src]

Bit 1 - CMP0 switch

pub fn cmp0m(&self) -> CMP0M_R[src]

Bits 2:3 - CMP0 mode

pub fn cmp0msel(&self) -> CMP0MSEL_R[src]

Bits 4:6 - CMP0_M input selection

pub fn cmp0osel(&self) -> CMP0OSEL_R[src]

Bits 8:10 - Comparator 0 output selection

pub fn cmp0pl(&self) -> CMP0PL_R[src]

Bit 11 - Polarity of CMP0 output

pub fn cmp0hst(&self) -> CMP0HST_R[src]

Bits 12:13 - CMP0 hysteresis

pub fn cmp0o(&self) -> CMP0O_R[src]

Bit 14 - CMP0 output

pub fn cmp0lk(&self) -> CMP0LK_R[src]

Bit 15 - CMP0 lock

pub fn cmp1en(&self) -> CMP1EN_R[src]

Bit 16 - CMP1 enable

pub fn cmp1m(&self) -> CMP1M_R[src]

Bits 18:19 - CMP1 mode

pub fn cmp1msel(&self) -> CMP1MSEL_R[src]

Bits 20:22 - CMP1_M input selection

pub fn wnden(&self) -> WNDEN_R[src]

Bit 23 - Window mode enable

pub fn cmp1osel(&self) -> CMP1OSEL_R[src]

Bits 24:26 - CMP1 output selection

pub fn cmp1pl(&self) -> CMP1PL_R[src]

Bit 27 - Polarity of CMP1 output

pub fn cmp1hst(&self) -> CMP1HST_R[src]

Bits 28:29 - CMP1 hysteresis

pub fn cmp1o(&self) -> CMP1O_R[src]

Bit 30 - CMP1 output

pub fn cmp1lk(&self) -> CMP1LK_R[src]

Bit 31 - CMP1 lock