[][src]Type Definition stm32l0::stm32l0x1::syscfg::comp2_csr::W

type W = W<u32, COMP2_CSR>;

Writer for register COMP2_CSR

Methods

impl W[src]

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

Bit 0 - Comparator 2 enable bit

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

Bit 3 - Comparator 2 power mode selection bit

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

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

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

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

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

Bit 12 - Comparator 2 LPTIM input 2 propagation bit

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

Bit 13 - Comparator 2 LPTIM input 1 propagation bit

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

Bit 15 - Comparator 2 polarity selection bit

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

Bit 30 - Comparator 2 output status bit

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

Bit 31 - COMP2_CSR register lock bit