Struct lpc82x::sct::CAPCTRL
[−]
[src]
pub struct CAPCTRL { /* fields omitted */ }
SCT capture control register 0 to 7; REGMOD0 = 1 to REGMODE7 = 1
Methods
impl CAPCTRL
[src]
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
fn read(&self) -> R
[src]
Reads the contents of the register
fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
[src]
F: FnOnce(&mut W) -> &mut W,
Writes to the register
fn reset(&self)
[src]
Writes the reset value to the register