Struct lpc177x_8x::dac::CNTVAL [−][src]
pub struct CNTVAL { /* fields omitted */ }
DAC Counter Value register. This register contains the reload value for the DAC DMA/Interrupt timer.
Methods
impl CNTVAL
[src]
impl CNTVAL
pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
[src]
pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
pub fn read(&self) -> R
[src]
pub fn read(&self) -> R
Reads the contents of the register
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
[src]
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
Writes to the register
pub fn reset(&self)
[src]
pub fn reset(&self)
Writes the reset value to the register