Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn pgm_data(&self, n: usize) -> &PGM_DATA

0x00..0x20 - Register %s that stores data to be programmed.

Source

pub fn pgm_data_iter(&self) -> impl Iterator<Item = &PGM_DATA>

Iterator for array of: 0x00..0x20 - Register %s that stores data to be programmed.

Source

pub const fn pgm_check_value(&self, n: usize) -> &PGM_CHECK_VALUE

0x20..0x2c - Register %s that stores the RS code to be programmed.

Source

pub fn pgm_check_value_iter(&self) -> impl Iterator<Item = &PGM_CHECK_VALUE>

Iterator for array of: 0x20..0x2c - Register %s that stores the RS code to be programmed.

Source

pub const fn rd_wr_dis(&self) -> &RD_WR_DIS

0x2c - Register 0 of BLOCK0.

Source

pub const fn rd_repeat_data0(&self) -> &RD_REPEAT_DATA0

0x30 - Register 1 of BLOCK0.

Source

pub const fn rd_repeat_data1(&self) -> &RD_REPEAT_DATA1

0x34 - Register 2 of BLOCK0.

Source

pub const fn rd_repeat_data2(&self) -> &RD_REPEAT_DATA2

0x38 - Register 3 of BLOCK0.

Source

pub const fn rd_repeat_data3(&self) -> &RD_REPEAT_DATA3

0x3c - Register 4 of BLOCK0.

Source

pub const fn rd_repeat_data4(&self) -> &RD_REPEAT_DATA4

0x40 - Register 5 of BLOCK0.

Source

pub const fn rd_mac_spi_sys_0(&self) -> &RD_MAC_SPI_SYS_0

0x44 - Register 0 of BLOCK1.

Source

pub const fn rd_mac_spi_sys_1(&self) -> &RD_MAC_SPI_SYS_1

0x48 - Register 1 of BLOCK1.

Source

pub const fn rd_mac_spi_sys_2(&self) -> &RD_MAC_SPI_SYS_2

0x4c - Register 2 of BLOCK1.

Source

pub const fn rd_mac_spi_sys_3(&self) -> &RD_MAC_SPI_SYS_3

0x50 - Register 3 of BLOCK1.

Source

pub const fn rd_mac_spi_sys_4(&self) -> &RD_MAC_SPI_SYS_4

0x54 - Register 4 of BLOCK1.

Source

pub const fn rd_mac_spi_sys_5(&self) -> &RD_MAC_SPI_SYS_5

0x58 - Register 5 of BLOCK1.

Source

pub const fn rd_sys_data_part1_(&self, n: usize) -> &RD_SYS_DATA_PART1_

0x5c..0x7c - Register %s of BLOCK2 (system).

Source

pub fn rd_sys_data_part1__iter( &self, ) -> impl Iterator<Item = &RD_SYS_DATA_PART1_>

Iterator for array of: 0x5c..0x7c - Register %s of BLOCK2 (system).

Source

pub const fn rd_usr_data(&self, n: usize) -> &RD_USR_DATA

0x7c..0x9c - Register %s of BLOCK3 (user).

Source

pub fn rd_usr_data_iter(&self) -> impl Iterator<Item = &RD_USR_DATA>

Iterator for array of: 0x7c..0x9c - Register %s of BLOCK3 (user).

Source

pub const fn rd_key0_data(&self, n: usize) -> &RD_KEY0_DATA

0x9c..0xbc - Register %s of BLOCK4 (KEY0).

Source

pub fn rd_key0_data_iter(&self) -> impl Iterator<Item = &RD_KEY0_DATA>

Iterator for array of: 0x9c..0xbc - Register %s of BLOCK4 (KEY0).

Source

pub const fn rd_key1_data(&self, n: usize) -> &RD_KEY1_DATA

0xbc..0xdc - Register %s of BLOCK5 (KEY1).

Source

pub fn rd_key1_data_iter(&self) -> impl Iterator<Item = &RD_KEY1_DATA>

Iterator for array of: 0xbc..0xdc - Register %s of BLOCK5 (KEY1).

Source

pub const fn rd_key2_data(&self, n: usize) -> &RD_KEY2_DATA

0xdc..0xfc - Register %s of BLOCK6 (KEY2).

Source

pub fn rd_key2_data_iter(&self) -> impl Iterator<Item = &RD_KEY2_DATA>

Iterator for array of: 0xdc..0xfc - Register %s of BLOCK6 (KEY2).

Source

pub const fn rd_key3_data(&self, n: usize) -> &RD_KEY3_DATA

0xfc..0x11c - Register %s of BLOCK7 (KEY3).

Source

pub fn rd_key3_data_iter(&self) -> impl Iterator<Item = &RD_KEY3_DATA>

Iterator for array of: 0xfc..0x11c - Register %s of BLOCK7 (KEY3).

Source

pub const fn rd_key4_data(&self, n: usize) -> &RD_KEY4_DATA

0x11c..0x13c - Register %s of BLOCK8 (KEY4).

Source

pub fn rd_key4_data_iter(&self) -> impl Iterator<Item = &RD_KEY4_DATA>

Iterator for array of: 0x11c..0x13c - Register %s of BLOCK8 (KEY4).

Source

pub const fn rd_key5_data(&self, n: usize) -> &RD_KEY5_DATA

0x13c..0x15c - Register %s of BLOCK9 (KEY5).

Source

pub fn rd_key5_data_iter(&self) -> impl Iterator<Item = &RD_KEY5_DATA>

Iterator for array of: 0x13c..0x15c - Register %s of BLOCK9 (KEY5).

Source

pub const fn rd_sys_data_part2_(&self, n: usize) -> &RD_SYS_DATA_PART2_

0x15c..0x17c - Register %s of BLOCK10 (system).

Source

pub fn rd_sys_data_part2__iter( &self, ) -> impl Iterator<Item = &RD_SYS_DATA_PART2_>

Iterator for array of: 0x15c..0x17c - Register %s of BLOCK10 (system).

Source

pub const fn rd_repeat_err0(&self) -> &RD_REPEAT_ERR0

0x17c - Programming error record register 0 of BLOCK0.

Source

pub const fn rd_repeat_err1(&self) -> &RD_REPEAT_ERR1

0x180 - Programming error record register 1 of BLOCK0.

Source

pub const fn rd_repeat_err2(&self) -> &RD_REPEAT_ERR2

0x184 - Programming error record register 2 of BLOCK0.

Source

pub const fn rd_repeat_err3(&self) -> &RD_REPEAT_ERR3

0x188 - Programming error record register 3 of BLOCK0.

Source

pub const fn rd_repeat_err4(&self) -> &RD_REPEAT_ERR4

0x190 - Programming error record register 4 of BLOCK0.

Source

pub const fn rd_rs_err0(&self) -> &RD_RS_ERR0

0x1c0 - Programming error record register 0 of BLOCK1-10.

Source

pub const fn rd_rs_err1(&self) -> &RD_RS_ERR1

0x1c4 - Programming error record register 1 of BLOCK1-10.

Source

pub const fn clk(&self) -> &CLK

0x1c8 - eFuse clock configuration register.

Source

pub const fn conf(&self) -> &CONF

0x1cc - eFuse operation mode configuration register.

Source

pub const fn status(&self) -> &STATUS

0x1d0 - eFuse status register.

Source

pub const fn cmd(&self) -> &CMD

0x1d4 - eFuse command register.

Source

pub const fn int_raw(&self) -> &INT_RAW

0x1d8 - eFuse raw interrupt register.

Source

pub const fn int_st(&self) -> &INT_ST

0x1dc - eFuse interrupt status register.

Source

pub const fn int_ena(&self) -> &INT_ENA

0x1e0 - eFuse interrupt enable register.

Source

pub const fn int_clr(&self) -> &INT_CLR

0x1e4 - eFuse interrupt clear register.

Source

pub const fn dac_conf(&self) -> &DAC_CONF

0x1e8 - Controls the eFuse programming voltage.

Source

pub const fn rd_tim_conf(&self) -> &RD_TIM_CONF

0x1ec - Configures read timing parameters.

Source

pub const fn wr_tim_conf0(&self) -> &WR_TIM_CONF0

0x1f0 - Configuration register 0 of eFuse programming timing parameters.

Source

pub const fn wr_tim_conf1(&self) -> &WR_TIM_CONF1

0x1f4 - Configuration register 1 of eFuse programming timing parameters.

Source

pub const fn wr_tim_conf2(&self) -> &WR_TIM_CONF2

0x1f8 - Configuration register 2 of eFuse programming timing parameters.

Source

pub const fn date(&self) -> &DATE

0x1fc - Version control register.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.