Enum simics_api_sys::i2c_status_t
source · #[repr(u32)]pub enum i2c_status_t {
I2C_status_success = 0,
I2C_status_noack = 1,
I2C_status_bus_busy = 2,
}
Variants§
I2C_status_success = 0
The ACK bit related to the operation was 0. This typically means that the operation was successful
I2C_status_noack = 1
The ACK bit related to the operation was 1. This typically means that the operation was unsuccessful
I2C_status_bus_busy = 2
The operation could not be carried out, because the link is currently in use by another master
Trait Implementations§
source§impl Clone for i2c_status_t
impl Clone for i2c_status_t
source§fn clone(&self) -> i2c_status_t
fn clone(&self) -> i2c_status_t
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 Debug for i2c_status_t
impl Debug for i2c_status_t
source§impl Hash for i2c_status_t
impl Hash for i2c_status_t
source§impl Ord for i2c_status_t
impl Ord for i2c_status_t
source§fn cmp(&self, other: &i2c_status_t) -> Ordering
fn cmp(&self, other: &i2c_status_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for i2c_status_t
impl PartialEq for i2c_status_t
source§impl PartialOrd for i2c_status_t
impl PartialOrd for i2c_status_t
impl Copy for i2c_status_t
impl Eq for i2c_status_t
impl StructuralPartialEq for i2c_status_t
Auto Trait Implementations§
impl Freeze for i2c_status_t
impl RefUnwindSafe for i2c_status_t
impl Send for i2c_status_t
impl Sync for i2c_status_t
impl Unpin for i2c_status_t
impl UnwindSafe for i2c_status_t
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
)