#[repr(transparent)]pub struct OtpcAlphaFieldsetGolf(pub u32);Expand description
Power Control.
Tuple Fields§
§0: u32Implementations§
Source§impl OtpcAlphaFieldsetGolf
impl OtpcAlphaFieldsetGolf
Sourcepub const fn hvreq(&self) -> bool
pub const fn hvreq(&self) -> bool
Strong switch request. Raw bit values: false (0) = TurnOff: Turn off.; true (1) = TurnOn: Turn on.
Sourcepub const fn set_hvreq(&mut self, val: bool)
pub const fn set_hvreq(&mut self, val: bool)
Strong switch request. Raw bit values: false (0) = TurnOff: Turn off.; true (1) = TurnOn: Turn on.
Sourcepub const fn lvreq(&self) -> bool
pub const fn lvreq(&self) -> bool
Weak switch request. Raw bit values: false (0) = TurnOff: Turn off.; true (1) = TurnOn: Turn on.
Sourcepub const fn set_lvreq(&mut self, val: bool)
pub const fn set_lvreq(&mut self, val: bool)
Weak switch request. Raw bit values: false (0) = TurnOff: Turn off.; true (1) = TurnOn: Turn on.
Sourcepub const fn pdreq(&self) -> bool
pub const fn pdreq(&self) -> bool
Power down request. Raw bit values: false (0) = NoAction: PD pin is set to low when OTPC is in idle state. It means EFUSE hardmacro is in standby mode. Idle state means OTPC is not in read and program modes.; true (1) = PowerDn: PD pin is set to high when OTPC is in idle state. It means EFUSE hardmacro is in power down mode.
Sourcepub const fn set_pdreq(&mut self, val: bool)
pub const fn set_pdreq(&mut self, val: bool)
Power down request. Raw bit values: false (0) = NoAction: PD pin is set to low when OTPC is in idle state. It means EFUSE hardmacro is in standby mode. Idle state means OTPC is not in read and program modes.; true (1) = PowerDn: PD pin is set to high when OTPC is in idle state. It means EFUSE hardmacro is in power down mode.
Trait Implementations§
Source§impl Clone for OtpcAlphaFieldsetGolf
impl Clone for OtpcAlphaFieldsetGolf
Source§fn clone(&self) -> OtpcAlphaFieldsetGolf
fn clone(&self) -> OtpcAlphaFieldsetGolf
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more