Struct VpCpuIrqEnable
#[repr(transparent)]pub struct VpCpuIrqEnable(pub u32);Expand description
VP_CPU_IRQ_ENABLE register.
Tuple Fields§
§0: u32Implementations§
§impl VpCpuIrqEnable
impl VpCpuIrqEnable
pub const fn port_grant(&self) -> bool
pub const fn port_grant(&self) -> bool
CPU virtual port grant interrupt enable.
pub fn set_port_grant(&mut self, val: bool)
pub fn set_port_grant(&mut self, val: bool)
CPU virtual port grant interrupt enable.
pub const fn port_release(&self) -> bool
pub const fn port_release(&self) -> bool
CPU virtual port release interrupt enable.
pub fn set_port_release(&mut self, val: bool)
pub fn set_port_release(&mut self, val: bool)
CPU virtual port release interrupt enable.
pub const fn port_cmd_start(&self) -> bool
pub const fn port_cmd_start(&self) -> bool
CPU virtual port command start interrup enable.
pub fn set_port_cmd_start(&mut self, val: bool)
pub fn set_port_cmd_start(&mut self, val: bool)
CPU virtual port command start interrup enable.
pub const fn port_cmd_end(&self) -> bool
pub const fn port_cmd_end(&self) -> bool
CPU virtual port command end interrup enable.
pub fn set_port_cmd_end(&mut self, val: bool)
pub fn set_port_cmd_end(&mut self, val: bool)
CPU virtual port command end interrup enable.
Trait Implementations§
§impl Clone for VpCpuIrqEnable
impl Clone for VpCpuIrqEnable
§fn clone(&self) -> VpCpuIrqEnable
fn clone(&self) -> VpCpuIrqEnable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for VpCpuIrqEnable
impl Debug for VpCpuIrqEnable
§impl Default for VpCpuIrqEnable
impl Default for VpCpuIrqEnable
§fn default() -> VpCpuIrqEnable
fn default() -> VpCpuIrqEnable
Returns the “default value” for a type. Read more
§impl PartialEq for VpCpuIrqEnable
impl PartialEq for VpCpuIrqEnable
impl Copy for VpCpuIrqEnable
impl Eq for VpCpuIrqEnable
impl StructuralPartialEq for VpCpuIrqEnable
Auto Trait Implementations§
impl Freeze for VpCpuIrqEnable
impl RefUnwindSafe for VpCpuIrqEnable
impl Send for VpCpuIrqEnable
impl Sync for VpCpuIrqEnable
impl Unpin for VpCpuIrqEnable
impl UnwindSafe for VpCpuIrqEnable
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