Struct zinc_hal_lpc11xx::ioregs::CT16B0_pc [] [src]

pub struct CT16B0_pc {
    // some fields omitted
}

Register 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

fn get(&self) -> CT16B0_pc_Get

Fetch the value of the PC register.

fn pc(&self) -> u32

Get value of PC field.

fn ignoring_state(&self) -> CT16B0_pc_Update

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

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

Set value of PC field.

Trait Implementations

impl Copy for CT16B0_pc

Derived Implementations

impl Clone for CT16B0_pc

fn clone(&self) -> CT16B0_pc

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