Struct zinc_hal_lpc11xx::ioregs::CT32B0_pc [] [src]

pub struct CT32B0_pc {
    // some fields omitted
}

Register 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

fn get(&self) -> CT32B0_pc_Get

Fetch the value of the PC register.

fn pc(&self) -> u32

Get value of PC field.

fn ignoring_state(&self) -> CT32B0_pc_Update

Create new updater that ignores current value of the PC register.

fn set_pc<'a>(&'a mut self, new_value: u32) -> CT32B0_pc_Update<'a>

Set value of PC field.

Trait Implementations

impl Copy for CT32B0_pc

Derived Implementations

impl Clone for CT32B0_pc

fn clone(&self) -> CT32B0_pc

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