[][src]Type Definition efm32pg12_pac::lesense::perctrl::W

type W = W<u32, PERCTRL>;

Writer for register PERCTRL

Methods

impl W[src]

pub fn dacch0en(&mut self) -> DACCH0EN_W[src]

Bit 0 - VDAC CH0 Enable

pub fn dacch1en(&mut self) -> DACCH1EN_W[src]

Bit 1 - VDAC CH1 Enable

pub fn dacch0data(&mut self) -> DACCH0DATA_W[src]

Bit 2 - VDAC CH0 Data Selection

pub fn dacch1data(&mut self) -> DACCH1DATA_W[src]

Bit 3 - VDAC CH1 Data Selection

pub fn dacstartup(&mut self) -> DACSTARTUP_W[src]

Bit 6 - VDAC Startup Configuration

pub fn dacconvtrig(&mut self) -> DACCONVTRIG_W[src]

Bit 8 - VDAC Conversion Trigger Configuration

pub fn acmp0mode(&mut self) -> ACMP0MODE_W[src]

Bits 20:21 - ACMP0 Mode

pub fn acmp1mode(&mut self) -> ACMP1MODE_W[src]

Bits 22:23 - ACMP1 Mode

pub fn acmp0inv(&mut self) -> ACMP0INV_W[src]

Bit 24 - Invert Analog Comparator 0 Output

pub fn acmp1inv(&mut self) -> ACMP1INV_W[src]

Bit 25 - Invert Analog Comparator 1 Output

pub fn acmp0hysten(&mut self) -> ACMP0HYSTEN_W[src]

Bit 26 - ACMP0 Hysteresis Enable

pub fn acmp1hysten(&mut self) -> ACMP1HYSTEN_W[src]

Bit 27 - ACMP1 Hysteresis Enable

pub fn warmupmode(&mut self) -> WARMUPMODE_W[src]

Bits 28:29 - ACMP and VDAC Duty Cycle Mode