[−][src]Struct rppal::i2c::Capabilities
Lists the features supported by the underlying drivers.
Methods
impl Capabilities
[src]
pub fn addr_10bit(self) -> bool
[src]
Indicates whether 10-bit addresses are supported.
pub fn i2c_block_read(self) -> bool
[src]
Indicates whether I2C Block Read is supported.
pub fn i2c_block_write(self) -> bool
[src]
Indicates whether I2C Block Write is supported.
pub fn smbus_quick_command(self) -> bool
[src]
Indicates whether SMBus Quick Command is supported.
pub fn smbus_receive_byte(self) -> bool
[src]
Indicates whether SMBus Receive Byte is supported.
pub fn smbus_send_byte(self) -> bool
[src]
Indicates whether SMBus Send Byte is supported.
pub fn smbus_read_byte(self) -> bool
[src]
Indicates whether SMBus Read Byte is supported.
pub fn smbus_write_byte(self) -> bool
[src]
Indicates whether SMBus Write Byte is supported.
pub fn smbus_read_word(self) -> bool
[src]
Indicates whether SMBus Read Word is supported.
pub fn smbus_write_word(self) -> bool
[src]
Indicates whether SMBus Write Word is supported.
pub fn smbus_process_call(self) -> bool
[src]
Indicates whether SMBus Process Call is supported.
pub fn smbus_block_read(self) -> bool
[src]
Indicates whether SMBus Block Read is supported.
pub fn smbus_block_write(self) -> bool
[src]
Indicates whether SMBus Block Write is supported.
pub fn smbus_block_process_call(self) -> bool
[src]
Indicates whether SMBus Block Process Call is supported.
pub fn smbus_pec(self) -> bool
[src]
Indicates whether SMBus Packet Error Checking is supported.
pub fn smbus_host_notify(self) -> bool
[src]
Indicates whether SMBus Host Notify is supported.
Trait Implementations
impl Copy for Capabilities
[src]
impl PartialEq<Capabilities> for Capabilities
[src]
fn eq(&self, other: &Capabilities) -> bool
[src]
fn ne(&self, other: &Capabilities) -> bool
[src]
impl Clone for Capabilities
[src]
fn clone(&self) -> Capabilities
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Capabilities
[src]
Auto Trait Implementations
impl Send for Capabilities
impl Sync for Capabilities
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,