#[repr(transparent)]pub struct Sbcs(pub u32);
Expand description
System Bus Access Control and Status
Tuple Fields§
§0: u32
Implementations§
Source§impl Sbcs
impl Sbcs
pub const fn sbaccess8(&self) -> bool
pub fn set_sbaccess8(&mut self, val: bool)
pub const fn sbaccess16(&self) -> bool
pub fn set_sbaccess16(&mut self, val: bool)
pub const fn sbaccess32(&self) -> bool
pub fn set_sbaccess32(&mut self, val: bool)
pub const fn sbaccess64(&self) -> bool
pub fn set_sbaccess64(&mut self, val: bool)
pub const fn sbaccess128(&self) -> bool
pub fn set_sbaccess128(&mut self, val: bool)
Sourcepub const fn sbasize(&self) -> u8
pub const fn sbasize(&self) -> u8
Width of system bus addresses in bits. (0 indicates there is no bus access support.)
Sourcepub fn set_sbasize(&mut self, val: u8)
pub fn set_sbasize(&mut self, val: u8)
Width of system bus addresses in bits. (0 indicates there is no bus access support.)
pub const fn sberror(&self) -> Sberror
pub fn set_sberror(&mut self, val: Sberror)
pub const fn sbreadondata(&self) -> bool
pub fn set_sbreadondata(&mut self, val: bool)
pub const fn sbautoincrement(&self) -> bool
pub fn set_sbautoincrement(&mut self, val: bool)
pub const fn sbaccess(&self) -> Sbaccess
pub fn set_sbaccess(&mut self, val: Sbaccess)
pub const fn sbreadonaddr(&self) -> bool
pub fn set_sbreadonaddr(&mut self, val: bool)
pub const fn sbbusy(&self) -> bool
pub fn set_sbbusy(&mut self, val: bool)
pub const fn sbbusyerror(&self) -> bool
pub fn set_sbbusyerror(&mut self, val: bool)
pub const fn sbversion(&self) -> Sbversion
pub fn set_sbversion(&mut self, val: Sbversion)
Trait Implementations§
impl Copy for Sbcs
impl Eq for Sbcs
impl StructuralPartialEq for Sbcs
Auto Trait Implementations§
impl Freeze for Sbcs
impl RefUnwindSafe for Sbcs
impl Send for Sbcs
impl Sync for Sbcs
impl Unpin for Sbcs
impl UnwindSafe for Sbcs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)