#[repr(transparent)]pub struct Abstractcs(pub u32);
Expand description
Abstract Control and Status
Tuple Fields§
§0: u32
Implementations§
Source§impl Abstractcs
impl Abstractcs
Sourcepub const fn datacount(&self) -> u8
pub const fn datacount(&self) -> u8
Number of data registers that are implemented as part of the abstract command interface. Valid sizes are 1..12.
Sourcepub fn set_datacount(&mut self, val: u8)
pub fn set_datacount(&mut self, val: u8)
Number of data registers that are implemented as part of the abstract command interface. Valid sizes are 1..12.
Sourcepub fn set_cmderr(&mut self, val: Cmderr)
pub fn set_cmderr(&mut self, val: Cmderr)
Command error when the abstract command fails.
Sourcepub const fn progbufsize(&self) -> u8
pub const fn progbufsize(&self) -> u8
Size of the Program Buffer, in 32-bit words. Valid sizes are 0 - 1.
Sourcepub fn set_progbufsize(&mut self, val: u8)
pub fn set_progbufsize(&mut self, val: u8)
Size of the Program Buffer, in 32-bit words. Valid sizes are 0 - 1.
Trait Implementations§
Source§impl Clone for Abstractcs
impl Clone for Abstractcs
Source§fn clone(&self) -> Abstractcs
fn clone(&self) -> Abstractcs
Returns a copy 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 moreSource§impl Default for Abstractcs
impl Default for Abstractcs
Source§fn default() -> Abstractcs
fn default() -> Abstractcs
Returns the “default value” for a type. Read more
Source§impl PartialEq for Abstractcs
impl PartialEq for Abstractcs
impl Copy for Abstractcs
impl Eq for Abstractcs
impl StructuralPartialEq for Abstractcs
Auto Trait Implementations§
impl Freeze for Abstractcs
impl RefUnwindSafe for Abstractcs
impl Send for Abstractcs
impl Sync for Abstractcs
impl Unpin for Abstractcs
impl UnwindSafe for Abstractcs
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
)