#[repr(transparent)]pub struct RegCoreTog(pub u32);Expand description
Digital Regulator Core Register
Tuple Fields§
§0: u32Implementations§
Source§impl RegCoreTog
impl RegCoreTog
Sourcepub const fn reg0_targ(&self) -> RegCoreTogReg0Targ
pub const fn reg0_targ(&self) -> RegCoreTogReg0Targ
This field defines the target voltage for the Arm core power domain
Sourcepub const fn set_reg0_targ(&mut self, val: RegCoreTogReg0Targ)
pub const fn set_reg0_targ(&mut self, val: RegCoreTogReg0Targ)
This field defines the target voltage for the Arm core power domain
Sourcepub const fn reg0_adj(&self) -> RegCoreTogReg0Adj
pub const fn reg0_adj(&self) -> RegCoreTogReg0Adj
This bit field defines the adjustment bits to calibrate the target value of Reg0. The adjustment is applied on top on any adjustment applied to the global reference in the misc0 register.
Sourcepub const fn set_reg0_adj(&mut self, val: RegCoreTogReg0Adj)
pub const fn set_reg0_adj(&mut self, val: RegCoreTogReg0Adj)
This bit field defines the adjustment bits to calibrate the target value of Reg0. The adjustment is applied on top on any adjustment applied to the global reference in the misc0 register.
Sourcepub const fn reg1_targ(&self) -> RegCoreTogReg1Targ
pub const fn reg1_targ(&self) -> RegCoreTogReg1Targ
This bit field defines the target voltage for the vpu/gpu power domain. Single bit increments reflect 25mV core voltage steps. Not all steps will make sense to use either because of input supply limitations or load operation.
Sourcepub const fn set_reg1_targ(&mut self, val: RegCoreTogReg1Targ)
pub const fn set_reg1_targ(&mut self, val: RegCoreTogReg1Targ)
This bit field defines the target voltage for the vpu/gpu power domain. Single bit increments reflect 25mV core voltage steps. Not all steps will make sense to use either because of input supply limitations or load operation.
Sourcepub const fn reg1_adj(&self) -> RegCoreTogReg1Adj
pub const fn reg1_adj(&self) -> RegCoreTogReg1Adj
This bit field defines the adjustment bits to calibrate the target value of Reg1. The adjustment is applied on top on any adjustment applied to the global reference in the misc0 register.
Sourcepub const fn set_reg1_adj(&mut self, val: RegCoreTogReg1Adj)
pub const fn set_reg1_adj(&mut self, val: RegCoreTogReg1Adj)
This bit field defines the adjustment bits to calibrate the target value of Reg1. The adjustment is applied on top on any adjustment applied to the global reference in the misc0 register.
Sourcepub const fn reg2_targ(&self) -> RegCoreTogReg2Targ
pub const fn reg2_targ(&self) -> RegCoreTogReg2Targ
This field defines the target voltage for the SOC power domain
Sourcepub const fn set_reg2_targ(&mut self, val: RegCoreTogReg2Targ)
pub const fn set_reg2_targ(&mut self, val: RegCoreTogReg2Targ)
This field defines the target voltage for the SOC power domain
Sourcepub const fn reg2_adj(&self) -> RegCoreTogReg2Adj
pub const fn reg2_adj(&self) -> RegCoreTogReg2Adj
This bit field defines the adjustment bits to calibrate the target value of Reg2. The adjustment is applied on top on any adjustment applied to the global reference in the misc0 register.
Sourcepub const fn set_reg2_adj(&mut self, val: RegCoreTogReg2Adj)
pub const fn set_reg2_adj(&mut self, val: RegCoreTogReg2Adj)
This bit field defines the adjustment bits to calibrate the target value of Reg2. The adjustment is applied on top on any adjustment applied to the global reference in the misc0 register.
Sourcepub const fn ramp_rate(&self) -> RegCoreTogRampRate
pub const fn ramp_rate(&self) -> RegCoreTogRampRate
Regulator voltage ramp rate.
Sourcepub const fn set_ramp_rate(&mut self, val: RegCoreTogRampRate)
pub const fn set_ramp_rate(&mut self, val: RegCoreTogRampRate)
Regulator voltage ramp rate.
Sourcepub const fn fet_odrive(&self) -> bool
pub const fn fet_odrive(&self) -> bool
If set, increases the gate drive on power gating FETs to reduce leakage in the off state
Sourcepub const fn set_fet_odrive(&mut self, val: bool)
pub const fn set_fet_odrive(&mut self, val: bool)
If set, increases the gate drive on power gating FETs to reduce leakage in the off state
Trait Implementations§
Source§impl Clone for RegCoreTog
impl Clone for RegCoreTog
Source§fn clone(&self) -> RegCoreTog
fn clone(&self) -> RegCoreTog
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more