#[repr(transparent)]pub struct ActiveCfg(pub u32);Expand description
Active Power Mode Configuration.
Tuple Fields§
§0: u32Implementations§
Source§impl ActiveCfg
impl ActiveCfg
Sourcepub const fn coreldo_vdd_ds(&self) -> ActiveCfgCoreldoVddDs
pub const fn coreldo_vdd_ds(&self) -> ActiveCfgCoreldoVddDs
LDO_CORE VDD Drive Strength.
Sourcepub const fn set_coreldo_vdd_ds(&mut self, val: ActiveCfgCoreldoVddDs)
pub const fn set_coreldo_vdd_ds(&mut self, val: ActiveCfgCoreldoVddDs)
LDO_CORE VDD Drive Strength.
Sourcepub const fn coreldo_vdd_lvl(&self) -> ActiveCfgCoreldoVddLvl
pub const fn coreldo_vdd_lvl(&self) -> ActiveCfgCoreldoVddLvl
LDO_CORE VDD Regulator Voltage Level.
Sourcepub const fn set_coreldo_vdd_lvl(&mut self, val: ActiveCfgCoreldoVddLvl)
pub const fn set_coreldo_vdd_lvl(&mut self, val: ActiveCfgCoreldoVddLvl)
LDO_CORE VDD Regulator Voltage Level.
Sourcepub const fn sysldo_vdd_ds(&self) -> ActiveCfgSysldoVddDs
pub const fn sysldo_vdd_ds(&self) -> ActiveCfgSysldoVddDs
LDO_SYS VDD Drive Strength.
Sourcepub const fn set_sysldo_vdd_ds(&mut self, val: ActiveCfgSysldoVddDs)
pub const fn set_sysldo_vdd_ds(&mut self, val: ActiveCfgSysldoVddDs)
LDO_SYS VDD Drive Strength.
Sourcepub const fn sysldo_vdd_lvl(&self) -> SysldoVddLvl
pub const fn sysldo_vdd_lvl(&self) -> SysldoVddLvl
LDO_SYS VDD Regulator Voltage Level.
Sourcepub const fn set_sysldo_vdd_lvl(&mut self, val: SysldoVddLvl)
pub const fn set_sysldo_vdd_lvl(&mut self, val: SysldoVddLvl)
LDO_SYS VDD Regulator Voltage Level.
Sourcepub const fn dcdc_vdd_ds(&self) -> ActiveCfgDcdcVddDs
pub const fn dcdc_vdd_ds(&self) -> ActiveCfgDcdcVddDs
DCDC VDD Drive Strength.
Sourcepub const fn set_dcdc_vdd_ds(&mut self, val: ActiveCfgDcdcVddDs)
pub const fn set_dcdc_vdd_ds(&mut self, val: ActiveCfgDcdcVddDs)
DCDC VDD Drive Strength.
Sourcepub const fn dcdc_vdd_lvl(&self) -> ActiveCfgDcdcVddLvl
pub const fn dcdc_vdd_lvl(&self) -> ActiveCfgDcdcVddLvl
DCDC VDD Regulator Voltage Level.
Sourcepub const fn set_dcdc_vdd_lvl(&mut self, val: ActiveCfgDcdcVddLvl)
pub const fn set_dcdc_vdd_lvl(&mut self, val: ActiveCfgDcdcVddLvl)
DCDC VDD Regulator Voltage Level.
Sourcepub const fn glitch_detect_disable(&self) -> bool
pub const fn glitch_detect_disable(&self) -> bool
Glitch Detect Disable.
Sourcepub const fn set_glitch_detect_disable(&mut self, val: bool)
pub const fn set_glitch_detect_disable(&mut self, val: bool)
Glitch Detect Disable.
Sourcepub const fn set_lpbuff_en(&mut self, val: bool)
pub const fn set_lpbuff_en(&mut self, val: bool)
CMP Bandgap Buffer Enable.
Sourcepub const fn bgmode(&self) -> ActiveCfgBgmode
pub const fn bgmode(&self) -> ActiveCfgBgmode
Bandgap Mode.
Sourcepub const fn set_bgmode(&mut self, val: ActiveCfgBgmode)
pub const fn set_bgmode(&mut self, val: ActiveCfgBgmode)
Bandgap Mode.
Sourcepub const fn vdd_vd_disable(&self) -> VddVdDisable
pub const fn vdd_vd_disable(&self) -> VddVdDisable
VDD Voltage Detect Disable.
Sourcepub const fn set_vdd_vd_disable(&mut self, val: VddVdDisable)
pub const fn set_vdd_vd_disable(&mut self, val: VddVdDisable)
VDD Voltage Detect Disable.
Sourcepub const fn set_core_lvde(&mut self, val: bool)
pub const fn set_core_lvde(&mut self, val: bool)
Core Low-Voltage Detection Enable.
Sourcepub const fn set_sys_lvde(&mut self, val: bool)
pub const fn set_sys_lvde(&mut self, val: bool)
System Low-Voltage Detection Enable.
Sourcepub const fn set_io_lvde(&mut self, val: bool)
pub const fn set_io_lvde(&mut self, val: bool)
IO Low-Voltage Detection Enable.
Sourcepub const fn set_core_hvde(&mut self, val: bool)
pub const fn set_core_hvde(&mut self, val: bool)
Core High-Voltage Detection Enable.
Sourcepub const fn set_sys_hvde(&mut self, val: bool)
pub const fn set_sys_hvde(&mut self, val: bool)
System High-Voltage Detection Enable.
Sourcepub const fn set_io_hvde(&mut self, val: bool)
pub const fn set_io_hvde(&mut self, val: bool)
IO High-Voltage Detection Enable.