Struct zinc_hal_lpc11xx::ioregs::CT32B0_pr [] [src]

pub struct CT32B0_pr {
    // some fields omitted
}

Register PR: Prescale Register (PR). When the Prescale Counter (below) is equal to this value, the next clock increments the TC and clears the PC.

Methods

impl CT32B0_pr

fn get(&self) -> CT32B0_pr_Get

Fetch the value of the PR register.

fn pr(&self) -> u32

Get value of PR field.

fn ignoring_state(&self) -> CT32B0_pr_Update

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

fn set_pr<'a>(&'a mut self, new_value: u32) -> CT32B0_pr_Update<'a>

Set value of PR field.

Trait Implementations

impl Copy for CT32B0_pr

Derived Implementations

impl Clone for CT32B0_pr

fn clone(&self) -> CT32B0_pr

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