Struct lpc82x::cmp::lad::R
[−]
[src]
pub struct R { /* fields omitted */ }Value read from the register
Methods
impl R[src]
pub fn bits(&self) -> u32[src]
Value of the register as raw bits
pub fn laden(&self) -> LADENR[src]
Bit 0 - Voltage ladder enable
pub fn ladsel(&self) -> LADSELR[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) -> LADREFR[src]
Bit 6 - Selects the reference voltage Vref for the voltage ladder: