Struct lpc82x::adc::FLAGS
[−]
[src]
pub struct FLAGS { /* fields omitted */ }A/D Flags Register. Contains the four interrupt request flags and the individual component overrun and threshold-compare flags. (The overrun bits replicate information stored in the result registers).
Methods
impl FLAGS[src]
pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W, [src]
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
pub fn read(&self) -> R[src]
Reads the contents of the register
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W, [src]
F: FnOnce(&mut W) -> &mut W,
Writes to the register
pub fn reset(&self)[src]
Writes the reset value to the register