Struct zinc_hal_lpc11xx::ioregs::CT32B0_ccr_Update [] [src]

pub struct CT32B0_ccr_Update<'a> {
    // some fields omitted
}

Updater for CCR register.

Methods

impl<'a> CT32B0_ccr_Update<'a>

fn new(reg: &'a CT32B0_ccr) -> CT32B0_ccr_Update<'a>

Create a new updater.

fn new_ignoring_state(reg: &'a CT32B0_ccr) -> CT32B0_ccr_Update<'a>

Create a new updater that ignores current state.

fn set_cap0re<'b>(&'b mut self, new_value: CT32B0_ccr_cap0re) -> &'b mut CT32B0_ccr_Update<'a>

Set value of CAP0RE field.

fn set_cap0fe<'b>(&'b mut self, new_value: CT32B0_ccr_cap0fe) -> &'b mut CT32B0_ccr_Update<'a>

Set value of CAP0FE field.

fn set_cap0i<'b>(&'b mut self, new_value: CT32B0_ccr_cap0i) -> &'b mut CT32B0_ccr_Update<'a>

Set value of CAP0I field.

fn set_cap1re<'b>(&'b mut self, new_value: CT32B0_ccr_cap1re) -> &'b mut CT32B0_ccr_Update<'a>

Set value of CAP1RE field.

fn set_cap1fe<'b>(&'b mut self, new_value: CT32B0_ccr_cap1fe) -> &'b mut CT32B0_ccr_Update<'a>

Set value of CAP1FE field.

fn set_cap1i<'b>(&'b mut self, new_value: CT32B0_ccr_cap1i) -> &'b mut CT32B0_ccr_Update<'a>

Set value of CAP1I field.

fn done(self)

Commit changes to register.

Trait Implementations

impl<'a> Drop for CT32B0_ccr_Update<'a>

This performs the register update.

fn drop(&mut self)