Struct zinc_hal_lpc11xx::ioregs::CT32B0_pc_Get [] [src]

pub struct CT32B0_pc_Get {
    // some fields omitted
}

PC: Prescale Counter (PC). The 32-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 CT32B0_pc_Get

fn new(reg: &CT32B0_pc) -> CT32B0_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.

Trait Implementations

impl Copy for CT32B0_pc_Get

Derived Implementations

impl Clone for CT32B0_pc_Get

fn clone(&self) -> CT32B0_pc_Get

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