Struct zinc_hal_lpc11xx::ioregs::CT16B0_tc_Get [] [src]

pub struct CT16B0_tc_Get {
    // some fields omitted
}

TC: Timer Counter (TC). The 16-bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR.

Methods

impl CT16B0_tc_Get

fn new(reg: &CT16B0_tc) -> CT16B0_tc_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn tc(&self) -> u32

Get value of TC field: Timer counter value.

Trait Implementations

impl Copy for CT16B0_tc_Get

Derived Implementations

impl Clone for CT16B0_tc_Get

fn clone(&self) -> CT16B0_tc_Get

fn clone_from(&mut self, source: &Self)