[−][src]Type Definition lpc82x_pac::acomp::lad::R
type R = R<u32, LAD>;
Reader of register LAD
Methods
impl R
[src]
pub fn laden(&self) -> LADEN_R
[src]
Bit 0 - Voltage ladder enable
pub fn ladsel(&self) -> LADSEL_R
[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(&self) -> LADREF_R
[src]
Bit 6 - Selects the reference voltage Vref for the voltage ladder.