Struct zinc_hal_lpc11xx::ioregs::CT32B0_mcr_Update [] [src]

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

Updater for MCR register.

Methods

impl<'a> CT32B0_mcr_Update<'a>

fn new(reg: &'a CT32B0_mcr) -> CT32B0_mcr_Update<'a>

Create a new updater.

fn new_ignoring_state(reg: &'a CT32B0_mcr) -> CT32B0_mcr_Update<'a>

Create a new updater that ignores current state.

fn set_mr0i<'b>(&'b mut self, new_value: CT32B0_mcr_mr0i) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR0I field.

fn set_mr0r<'b>(&'b mut self, new_value: CT32B0_mcr_mr0r) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR0R field.

fn set_mr0s<'b>(&'b mut self, new_value: CT32B0_mcr_mr0s) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR0S field.

fn set_mr1i<'b>(&'b mut self, new_value: CT32B0_mcr_mr1i) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR1I field.

fn set_mr1r<'b>(&'b mut self, new_value: CT32B0_mcr_mr1r) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR1R field.

fn set_mr1s<'b>(&'b mut self, new_value: CT32B0_mcr_mr1s) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR1S field.

fn set_mr2i<'b>(&'b mut self, new_value: CT32B0_mcr_mr2i) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR2I field.

fn set_mr2r<'b>(&'b mut self, new_value: CT32B0_mcr_mr2r) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR2R field.

fn set_mr2s<'b>(&'b mut self, new_value: CT32B0_mcr_mr2s) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR2S field.

fn set_mr3i<'b>(&'b mut self, new_value: CT32B0_mcr_mr3i) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR3I field.

fn set_mr3r<'b>(&'b mut self, new_value: CT32B0_mcr_mr3r) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR3R field.

fn set_mr3s<'b>(&'b mut self, new_value: CT32B0_mcr_mr3s) -> &'b mut CT32B0_mcr_Update<'a>

Set value of MR3S field.

fn done(self)

Commit changes to register.

Trait Implementations

impl<'a> Drop for CT32B0_mcr_Update<'a>

This performs the register update.

fn drop(&mut self)