Struct mcp2210::ChipSettings [−][src]
pub struct ChipSettings { pub gp0_mode: PinMode, pub gp1_mode: PinMode, pub gp2_mode: PinMode, pub gp3_mode: PinMode, pub gp4_mode: PinMode, pub gp5_mode: PinMode, pub gp6_mode: PinMode, pub gp7_mode: PinMode, pub gp8_mode: PinMode, pub default_gpio_value: GpioValue, pub default_gpio_direction: GpioDirection, pub remote_wakeup: bool, pub interrupt_mode: InterruptMode, pub bus_release: bool, pub nvram_access_control: NvramAccessControl, }
Fields
gp0_mode: PinMode
gp1_mode: PinMode
gp2_mode: PinMode
gp3_mode: PinMode
gp4_mode: PinMode
gp5_mode: PinMode
gp6_mode: PinMode
gp7_mode: PinMode
gp8_mode: PinMode
default_gpio_value: GpioValue
default_gpio_direction: GpioDirection
remote_wakeup: bool
interrupt_mode: InterruptMode
bus_release: bool
nvram_access_control: NvramAccessControl
Methods
impl ChipSettings
[src]
impl ChipSettings
pub fn from_buffer(buf: &Buffer) -> Result<ChipSettings, String>
[src]
pub fn from_buffer(buf: &Buffer) -> Result<ChipSettings, String>
pub fn write_to_buffer(&self, buf: &mut Buffer)
[src]
pub fn write_to_buffer(&self, buf: &mut Buffer)
Trait Implementations
impl Copy for ChipSettings
[src]
impl Copy for ChipSettings
impl Clone for ChipSettings
[src]
impl Clone for ChipSettings
fn clone(&self) -> ChipSettings
[src]
fn clone(&self) -> ChipSettings
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ChipSettings
[src]
impl Debug for ChipSettings
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ChipSettings
[src]
impl PartialEq for ChipSettings
fn eq(&self, other: &ChipSettings) -> bool
[src]
fn eq(&self, other: &ChipSettings) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ChipSettings) -> bool
[src]
fn ne(&self, other: &ChipSettings) -> bool
This method tests for !=
.
impl Eq for ChipSettings
[src]
impl Eq for ChipSettings
Auto Trait Implementations
impl Send for ChipSettings
impl Send for ChipSettings
impl Sync for ChipSettings
impl Sync for ChipSettings