Struct zinc_hal_lpc11xx::ioregs::CT32B0_ir_Update [] [src]

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

Updater for IR register.

Methods

impl<'a> CT32B0_ir_Update<'a>

fn new(reg: &'a CT32B0_ir) -> CT32B0_ir_Update<'a>

Create a new updater.

fn new_ignoring_state(reg: &'a CT32B0_ir) -> CT32B0_ir_Update<'a>

Create a new updater that ignores current state.

fn set_mr0int<'b>(&'b mut self, new_value: bool) -> &'b mut CT32B0_ir_Update<'a>

Set value of MR0INT field.

fn set_mr1int<'b>(&'b mut self, new_value: bool) -> &'b mut CT32B0_ir_Update<'a>

Set value of MR1INT field.

fn set_mr2int<'b>(&'b mut self, new_value: bool) -> &'b mut CT32B0_ir_Update<'a>

Set value of MR2INT field.

fn set_mr3int<'b>(&'b mut self, new_value: bool) -> &'b mut CT32B0_ir_Update<'a>

Set value of MR3INT field.

fn set_cr0int<'b>(&'b mut self, new_value: bool) -> &'b mut CT32B0_ir_Update<'a>

Set value of CR0INT field.

fn set_cr1int<'b>(&'b mut self, new_value: bool) -> &'b mut CT32B0_ir_Update<'a>

Set value of CR1INT field.

fn done(self)

Commit changes to register.

Trait Implementations

impl<'a> Drop for CT32B0_ir_Update<'a>

This performs the register update.

fn drop(&mut self)