Struct zinc_hal_lpc11xx::ioregs::CT32B0_tc
[−]
[src]
pub struct CT32B0_tc {
// some fields omitted
}Register TC: Timer Counter (TC). The 32-bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR.
Methods
impl CT32B0_tc
fn get(&self) -> CT32B0_tc_Get
Fetch the value of the TC register.
fn tc(&self) -> u32
Get value of TC field.
fn ignoring_state(&self) -> CT32B0_tc_Update
Create new updater that ignores current value of the TC register.
fn set_tc<'a>(&'a mut self, new_value: u32) -> CT32B0_tc_Update<'a>
Set value of TC field.