[][src]Type Definition msp430fr2355::e_comp0::cpctl1::W

type W = W<u16, CPCTL1>;

Writer for register CPCTL1

Implementations

impl W[src]

pub fn cpinv(&mut self) -> CPINV_W<'_>[src]

Bit 1 - Comparator output polarity

pub fn cpies(&mut self) -> CPIES_W<'_>[src]

Bit 4 - Interrupt edge select for CEIIFG and CEIFG

pub fn cpflt(&mut self) -> CPFLT_W<'_>[src]

Bit 5 - Analog Output Low Pass filter Selection. Changing CPFLT might set interrupt flag.

pub fn cpfltdly(&mut self) -> CPFLTDLY_W<'_>[src]

Bits 6:7 - Analog Filter Delay selection. These bits are used to select the analog filter delay

pub fn cpmsel(&mut self) -> CPMSEL_W<'_>[src]

Bit 8 - Power mode selection.

pub fn cpen(&mut self) -> CPEN_W<'_>[src]

Bit 9 - Comparator enable/disable. This bit is used to disable/enable the comparator. When the comparator is disabled, the Comparator consumes no power.

pub fn cphsel(&mut self) -> CPHSEL_W<'_>[src]

Bits 10:11 - Programable Hysteresis mode. These bits are used to select the Hysteresis mode.

pub fn cpie(&mut self) -> CPIE_W<'_>[src]

Bit 14 - Comparator interrupt output enable bit

pub fn cpiie(&mut self) -> CPIIE_W<'_>[src]

Bit 15 - Comparator inverted interrupt output enable bit