Struct zinc_hal_lpc11xx::ioregs::CT16B0_pc_Get
[−]
[src]
pub struct CT16B0_pc_Get { // some fields omitted }
PC
: Prescale Counter (PC). The 16-bit PC is a counter which is incremented to the value stored in PR. When the value in PR is reached, the TC is incremented and the PC is cleared. The PC is observable and controllable through the bus interface.
Methods
impl CT16B0_pc_Get
fn new(reg: &CT16B0_pc) -> CT16B0_pc_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn pc(&self) -> u32
Get value of PC
field: Prescale counter value.