Struct zinc_hal_lpc11xx::ioregs::SYSCON_presetctrl [] [src]

pub struct SYSCON_presetctrl {
    // some fields omitted
}

Register PRESETCTRL: Peripheral reset control

Methods

impl SYSCON_presetctrl

fn get(&self) -> SYSCON_presetctrl_Get

Fetch the value of the PRESETCTRL register.

fn ssp0_rst_n(&self) -> SYSCON_presetctrl_ssp0_rst_n

Get value of SSP0_RST_N field.

fn i2c_rst_n(&self) -> SYSCON_presetctrl_i2c_rst_n

Get value of I2C_RST_N field.

fn ssp1_rst_n(&self) -> SYSCON_presetctrl_ssp1_rst_n

Get value of SSP1_RST_N field.

fn can_rst_n(&self) -> SYSCON_presetctrl_can_rst_n

Get value of CAN_RST_N field.

fn ignoring_state(&self) -> SYSCON_presetctrl_Update

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

fn set_ssp0_rst_n<'a>(&'a mut self, new_value: SYSCON_presetctrl_ssp0_rst_n) -> SYSCON_presetctrl_Update<'a>

Set value of SSP0_RST_N field.

fn set_i2c_rst_n<'a>(&'a mut self, new_value: SYSCON_presetctrl_i2c_rst_n) -> SYSCON_presetctrl_Update<'a>

Set value of I2C_RST_N field.

fn set_ssp1_rst_n<'a>(&'a mut self, new_value: SYSCON_presetctrl_ssp1_rst_n) -> SYSCON_presetctrl_Update<'a>

Set value of SSP1_RST_N field.

fn set_can_rst_n<'a>(&'a mut self, new_value: SYSCON_presetctrl_can_rst_n) -> SYSCON_presetctrl_Update<'a>

Set value of CAN_RST_N field.

Trait Implementations

impl Copy for SYSCON_presetctrl

Derived Implementations

impl Clone for SYSCON_presetctrl

fn clone(&self) -> SYSCON_presetctrl

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