#[repr(transparent)]pub struct EtbStatus(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl EtbStatus
impl EtbStatus
Sourcepub const fn irq(&self) -> bool
pub const fn irq(&self) -> bool
ETB Interrupt. Raw bit values: false (0) = Disable: ETB interrupt is not asserted.; true (1) = Enable: ETB interrupt is asserted when ETB count expires. Write 1 to clear it.
Sourcepub const fn set_irq(&mut self, val: bool)
pub const fn set_irq(&mut self, val: bool)
ETB Interrupt. Raw bit values: false (0) = Disable: ETB interrupt is not asserted.; true (1) = Enable: ETB interrupt is asserted when ETB count expires. Write 1 to clear it.
Sourcepub const fn nmi(&self) -> bool
pub const fn nmi(&self) -> bool
ETB NMI. Raw bit values: false (0) = Disable: ETB NMI is not asserted.; true (1) = Enable: ETB NMI is asserted. Write 1 to clear it.
Sourcepub const fn set_nmi(&mut self, val: bool)
pub const fn set_nmi(&mut self, val: bool)
ETB NMI. Raw bit values: false (0) = Disable: ETB NMI is not asserted.; true (1) = Enable: ETB NMI is asserted. Write 1 to clear it.
Sourcepub const fn dbg_halt_req(&self) -> bool
pub const fn dbg_halt_req(&self) -> bool
Debug halt request. Raw bit values: false (0) = Disable: The debug halt request signal is not asserted.; true (1) = Enable: The debug halt request signal is asserted when the ETB count expires.
Sourcepub const fn set_dbg_halt_req(&mut self, val: bool)
pub const fn set_dbg_halt_req(&mut self, val: bool)
Debug halt request. Raw bit values: false (0) = Disable: The debug halt request signal is not asserted.; true (1) = Enable: The debug halt request signal is asserted when the ETB count expires.