Struct rppal::i2c::Capabilities
source · pub struct Capabilities { /* private fields */ }
Expand description
Lists the features supported by the underlying drivers.
Implementations§
source§impl Capabilities
impl Capabilities
sourcepub fn addr_10bit(self) -> bool
pub fn addr_10bit(self) -> bool
Indicates whether 10-bit addresses are supported.
sourcepub fn i2c_block_read(self) -> bool
pub fn i2c_block_read(self) -> bool
Indicates whether I2C Block Read is supported.
sourcepub fn i2c_block_write(self) -> bool
pub fn i2c_block_write(self) -> bool
Indicates whether I2C Block Write is supported.
sourcepub fn smbus_quick_command(self) -> bool
pub fn smbus_quick_command(self) -> bool
Indicates whether SMBus Quick Command is supported.
sourcepub fn smbus_receive_byte(self) -> bool
pub fn smbus_receive_byte(self) -> bool
Indicates whether SMBus Receive Byte is supported.
sourcepub fn smbus_send_byte(self) -> bool
pub fn smbus_send_byte(self) -> bool
Indicates whether SMBus Send Byte is supported.
sourcepub fn smbus_read_byte(self) -> bool
pub fn smbus_read_byte(self) -> bool
Indicates whether SMBus Read Byte is supported.
sourcepub fn smbus_write_byte(self) -> bool
pub fn smbus_write_byte(self) -> bool
Indicates whether SMBus Write Byte is supported.
sourcepub fn smbus_read_word(self) -> bool
pub fn smbus_read_word(self) -> bool
Indicates whether SMBus Read Word is supported.
sourcepub fn smbus_write_word(self) -> bool
pub fn smbus_write_word(self) -> bool
Indicates whether SMBus Write Word is supported.
sourcepub fn smbus_process_call(self) -> bool
pub fn smbus_process_call(self) -> bool
Indicates whether SMBus Process Call is supported.
sourcepub fn smbus_block_read(self) -> bool
pub fn smbus_block_read(self) -> bool
Indicates whether SMBus Block Read is supported.
sourcepub fn smbus_block_write(self) -> bool
pub fn smbus_block_write(self) -> bool
Indicates whether SMBus Block Write is supported.
sourcepub fn smbus_block_process_call(self) -> bool
pub fn smbus_block_process_call(self) -> bool
Indicates whether SMBus Block Process Call is supported.
sourcepub fn smbus_host_notify(self) -> bool
pub fn smbus_host_notify(self) -> bool
Indicates whether SMBus Host Notify is supported.
Trait Implementations§
source§impl Clone for Capabilities
impl Clone for Capabilities
source§fn clone(&self) -> Capabilities
fn clone(&self) -> Capabilities
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Capabilities
impl Debug for Capabilities
source§impl PartialEq<Capabilities> for Capabilities
impl PartialEq<Capabilities> for Capabilities
source§fn eq(&self, other: &Capabilities) -> bool
fn eq(&self, other: &Capabilities) -> bool
self
and other
values to be equal, and is used
by ==
.