pub struct GstsReg(/* private fields */);Expand description
Global Status Register (MMIO offset 0x01C, 32-bit, RO). §10.4.5.
Reports the status corresponding to GCMD operations.
Implementations§
Source§impl GstsReg
impl GstsReg
Sourcepub const fn with_cfis_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cfis_checked(self, value: bool) -> Result<Self, ()>
Compatibility Format Interrupt Status.
Bits: 23..24
Sourcepub const fn with_cfis(self, value: bool) -> Self
pub const fn with_cfis(self, value: bool) -> Self
Compatibility Format Interrupt Status.
Bits: 23..24
Sourcepub const fn set_cfis(&mut self, value: bool)
pub const fn set_cfis(&mut self, value: bool)
Compatibility Format Interrupt Status.
Bits: 23..24
Sourcepub const fn set_cfis_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_cfis_checked(&mut self, value: bool) -> Result<(), ()>
Compatibility Format Interrupt Status.
Bits: 23..24
Sourcepub const fn irtps(&self) -> bool
pub const fn irtps(&self) -> bool
Interrupt Remapping Table Pointer Status — IRTA has been latched.
Bits: 24..25
Sourcepub const fn with_irtps_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_irtps_checked(self, value: bool) -> Result<Self, ()>
Interrupt Remapping Table Pointer Status — IRTA has been latched.
Bits: 24..25
Sourcepub const fn with_irtps(self, value: bool) -> Self
pub const fn with_irtps(self, value: bool) -> Self
Interrupt Remapping Table Pointer Status — IRTA has been latched.
Bits: 24..25
Sourcepub const fn set_irtps(&mut self, value: bool)
pub const fn set_irtps(&mut self, value: bool)
Interrupt Remapping Table Pointer Status — IRTA has been latched.
Bits: 24..25
Sourcepub const fn set_irtps_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_irtps_checked(&mut self, value: bool) -> Result<(), ()>
Interrupt Remapping Table Pointer Status — IRTA has been latched.
Bits: 24..25
Sourcepub const fn with_ires_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ires_checked(self, value: bool) -> Result<Self, ()>
Interrupt Remapping Enable Status.
Bits: 25..26
Sourcepub const fn with_ires(self, value: bool) -> Self
pub const fn with_ires(self, value: bool) -> Self
Interrupt Remapping Enable Status.
Bits: 25..26
Sourcepub const fn set_ires_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_ires_checked(&mut self, value: bool) -> Result<(), ()>
Interrupt Remapping Enable Status.
Bits: 25..26
Sourcepub const fn with_qies_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_qies_checked(self, value: bool) -> Result<Self, ()>
Queued Invalidation Enable Status.
Bits: 26..27
Sourcepub const fn with_qies(self, value: bool) -> Self
pub const fn with_qies(self, value: bool) -> Self
Queued Invalidation Enable Status.
Bits: 26..27
Sourcepub const fn set_qies_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_qies_checked(&mut self, value: bool) -> Result<(), ()>
Queued Invalidation Enable Status.
Bits: 26..27
Sourcepub const fn with_wbfs_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_wbfs_checked(self, value: bool) -> Result<Self, ()>
Write Buffer Flush Status.
Bits: 27..28
Sourcepub const fn set_wbfs_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_wbfs_checked(&mut self, value: bool) -> Result<(), ()>
Write Buffer Flush Status.
Bits: 27..28
Sourcepub const fn with_afls_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_afls_checked(self, value: bool) -> Result<Self, ()>
Advanced Fault Logging Status.
Bits: 28..29
Sourcepub const fn set_afls_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_afls_checked(&mut self, value: bool) -> Result<(), ()>
Advanced Fault Logging Status.
Bits: 28..29
Sourcepub const fn with_fls_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_fls_checked(self, value: bool) -> Result<Self, ()>
Fault Log Status.
Bits: 29..30
Sourcepub const fn set_fls_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_fls_checked(&mut self, value: bool) -> Result<(), ()>
Fault Log Status.
Bits: 29..30
Sourcepub const fn rtps(&self) -> bool
pub const fn rtps(&self) -> bool
Root Table Pointer Status — RTADDR has been latched.
Bits: 30..31
Sourcepub const fn with_rtps_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rtps_checked(self, value: bool) -> Result<Self, ()>
Root Table Pointer Status — RTADDR has been latched.
Bits: 30..31
Sourcepub const fn with_rtps(self, value: bool) -> Self
pub const fn with_rtps(self, value: bool) -> Self
Root Table Pointer Status — RTADDR has been latched.
Bits: 30..31
Sourcepub const fn set_rtps(&mut self, value: bool)
pub const fn set_rtps(&mut self, value: bool)
Root Table Pointer Status — RTADDR has been latched.
Bits: 30..31
Sourcepub const fn set_rtps_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_rtps_checked(&mut self, value: bool) -> Result<(), ()>
Root Table Pointer Status — RTADDR has been latched.
Bits: 30..31
Sourcepub const fn with_tes_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tes_checked(self, value: bool) -> Result<Self, ()>
Translation Enable Status.
Bits: 31..32