[][src]Type Definition lpc82x_pac::acomp::lad::W

type W = W<u32, LAD>;

Writer for register LAD

Methods

impl W[src]

pub fn laden(&mut self) -> LADEN_W[src]

Bit 0 - Voltage ladder enable

pub fn ladsel(&mut self) -> LADSEL_W[src]

Bits 1:5 - Voltage ladder value. The reference voltage Vref depends on the LADREF bit below. 00000 = VSS 00001 = 1 x Vref/31 00010 = 2 x Vref/31 ... 11111 = Vref

pub fn ladref(&mut self) -> LADREF_W[src]

Bit 6 - Selects the reference voltage Vref for the voltage ladder.