[][src]Type Definition stm32l0::stm32l0x2::syscfg::comp2_csr::R

type R = R<u32, COMP2_CSR>;

Reader of register COMP2_CSR

Methods

impl R[src]

pub fn comp2lock(&self) -> COMP2LOCK_R[src]

Bit 31 - COMP2_CSR register lock bit

pub fn comp2value(&self) -> COMP2VALUE_R[src]

Bit 20 - Comparator 2 output status bit

pub fn comp2polarity(&self) -> COMP2POLARITY_R[src]

Bit 15 - Comparator 2 polarity selection bit

pub fn comp2lptimin1(&self) -> COMP2LPTIMIN1_R[src]

Bit 13 - Comparator 2 LPTIM input 1 propagation bit

pub fn comp2lptimin2(&self) -> COMP2LPTIMIN2_R[src]

Bit 12 - Comparator 2 LPTIM input 2 propagation bit

pub fn comp2inpsel(&self) -> COMP2INPSEL_R[src]

Bits 8:10 - Comparator 2 Input Plus connection configuration bit

pub fn comp2innsel(&self) -> COMP2INNSEL_R[src]

Bits 4:6 - Comparator 2 Input Minus connection configuration bit

pub fn comp2speed(&self) -> COMP2SPEED_R[src]

Bit 3 - Comparator 2 power mode selection bit

pub fn comp2en(&self) -> COMP2EN_R[src]

Bit 0 - Comparator 2 enable bit