RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 28 fields pub aon: AON, pub aon_common: AON_COMMON, pub aon_misc: AON_MISC, pub bg_sys_top: BG_SYS_TOP, pub dcdc18_top_0: DCDC18_TOP_0, pub dcdc18_top_1: DCDC18_TOP_1, pub ldo11soc_and_dctest: LDO11SOC_AND_DCTEST, pub psw_irrcv: PSW_IRRCV, pub rf_top_aon: RF_TOP_AON, pub xtal_cfg: XTAL_CFG, pub tsen: TSEN, pub acomp0_ctrl: ACOMP0_CTRL, pub acomp1_ctrl: ACOMP1_CTRL, pub acomp_ctrl: ACOMP_CTRL, pub gpadc_reg_cmd: GPADC_REG_CMD, pub gpadc_reg_config1: GPADC_REG_CONFIG1, pub gpadc_reg_config2: GPADC_REG_CONFIG2, pub gpadc_reg_scn_pos1: GPADC_REG_SCN_POS1, pub gpadc_reg_scn_pos2: GPADC_REG_SCN_POS2, pub gpadc_reg_scn_neg1: GPADC_REG_SCN_NEG1, pub gpadc_reg_scn_neg2: GPADC_REG_SCN_NEG2, pub gpadc_reg_status: GPADC_REG_STATUS, pub gpadc_reg_isr: GPADC_REG_ISR, pub gpadc_reg_result: GPADC_REG_RESULT, pub gpadc_reg_raw_result: GPADC_REG_RAW_RESULT, pub gpadc_reg_define: GPADC_REG_DEFINE, pub hbncore_resv0: HBNCORE_RESV0, pub hbncore_resv1: HBNCORE_RESV1, /* private fields */
}
Expand description

Register block

Fields§

§aon: AON

0x00 - aon.

§aon_common: AON_COMMON

0x04 - aon_common.

§aon_misc: AON_MISC

0x08 - aon_misc.

§bg_sys_top: BG_SYS_TOP

0x10 - bg_sys_top.

§dcdc18_top_0: DCDC18_TOP_0

0x14 - dcdc18_top_0.

§dcdc18_top_1: DCDC18_TOP_1

0x18 - dcdc18_top_1.

§ldo11soc_and_dctest: LDO11SOC_AND_DCTEST

0x1c - ldo11soc_and_dctest.

§psw_irrcv: PSW_IRRCV

0x20 - psw_irrcv.

§rf_top_aon: RF_TOP_AON

0x80 - rf_top_aon.

§xtal_cfg: XTAL_CFG

0x84 - xtal_cfg.

§tsen: TSEN

0x88 - tsen.

§acomp0_ctrl: ACOMP0_CTRL

0x100 - acomp0_ctrl.

§acomp1_ctrl: ACOMP1_CTRL

0x104 - acomp1_ctrl.

§acomp_ctrl: ACOMP_CTRL

0x108 - acomp_ctrl.

§gpadc_reg_cmd: GPADC_REG_CMD

0x10c - gpadc_reg_cmd.

§gpadc_reg_config1: GPADC_REG_CONFIG1

0x110 - gpadc_reg_config1.

§gpadc_reg_config2: GPADC_REG_CONFIG2

0x114 - gpadc_reg_config2.

§gpadc_reg_scn_pos1: GPADC_REG_SCN_POS1

0x118 - adc converation sequence 1

§gpadc_reg_scn_pos2: GPADC_REG_SCN_POS2

0x11c - adc converation sequence 2

§gpadc_reg_scn_neg1: GPADC_REG_SCN_NEG1

0x120 - adc converation sequence 3

§gpadc_reg_scn_neg2: GPADC_REG_SCN_NEG2

0x124 - adc converation sequence 4

§gpadc_reg_status: GPADC_REG_STATUS

0x128 - gpadc_reg_status.

§gpadc_reg_isr: GPADC_REG_ISR

0x12c - gpadc_reg_isr.

§gpadc_reg_result: GPADC_REG_RESULT

0x130 - gpadc_reg_result.

§gpadc_reg_raw_result: GPADC_REG_RAW_RESULT

0x134 - gpadc_reg_raw_result.

§gpadc_reg_define: GPADC_REG_DEFINE

0x138 - gpadc_reg_define.

§hbncore_resv0: HBNCORE_RESV0

0x13c - hbncore_resv0.

§hbncore_resv1: HBNCORE_RESV1

0x140 - hbncore_resv1.

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.