#[repr(u32)]pub enum LcCtrlReg {
Show 34 variants
AlertTest = 0,
Status = 4,
ClaimTransitionIf = 12,
TransitionRegwen = 16,
TransitionCmd = 20,
TransitionCtrl = 24,
TransitionToken0 = 28,
TransitionToken1 = 32,
TransitionToken2 = 36,
TransitionToken3 = 40,
TransitionTarget = 44,
OtpVendorTestCtrl = 48,
OtpVendorTestStatus = 52,
LcState = 56,
LcTransitionCnt = 60,
LcIdState = 64,
HwRevision0 = 68,
HwRevision1 = 72,
DeviceId0 = 76,
DeviceId1 = 80,
DeviceId2 = 84,
DeviceId3 = 88,
DeviceId4 = 92,
DeviceId5 = 96,
DeviceId6 = 100,
DeviceId7 = 104,
ManufState0 = 108,
ManufState1 = 112,
ManufState2 = 116,
ManufState3 = 120,
ManufState4 = 124,
ManufState5 = 128,
ManufState6 = 132,
ManufState7 = 136,
}
Variants§
AlertTest = 0
Status = 4
ClaimTransitionIf = 12
TransitionRegwen = 16
TransitionCmd = 20
TransitionCtrl = 24
TransitionToken0 = 28
TransitionToken1 = 32
TransitionToken2 = 36
TransitionToken3 = 40
TransitionTarget = 44
OtpVendorTestCtrl = 48
OtpVendorTestStatus = 52
LcState = 56
LcTransitionCnt = 60
LcIdState = 64
HwRevision0 = 68
HwRevision1 = 72
DeviceId0 = 76
DeviceId1 = 80
DeviceId2 = 84
DeviceId3 = 88
DeviceId4 = 92
DeviceId5 = 96
DeviceId6 = 100
DeviceId7 = 104
ManufState0 = 108
ManufState1 = 112
ManufState2 = 116
ManufState3 = 120
ManufState4 = 124
ManufState5 = 128
ManufState6 = 132
ManufState7 = 136
Implementations§
Source§impl LcCtrlReg
impl LcCtrlReg
pub fn byte_offset(&self) -> u32
Sourcepub fn word_offset(&self) -> u32
pub fn word_offset(&self) -> u32
Converts the register’s byte offset into a word offset for use with DMI. https://docs.opentitan.org/hw/ip/lc_ctrl/doc/#life-cycle-tap-controller
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LcCtrlReg
impl RefUnwindSafe for LcCtrlReg
impl Send for LcCtrlReg
impl Sync for LcCtrlReg
impl Unpin for LcCtrlReg
impl UnwindSafe for LcCtrlReg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more