Crate driver_cp2130

Crate driver_cp2130 

Source
Expand description

CP2130 Driver

Copyright 2019 Ryan Kurte

Re-exports§

pub use crate::device::GpioLevel;
pub use crate::device::GpioMode;
pub use crate::device::SpiClock;
pub use crate::device::SpiConfig;
pub use crate::device::UsbOptions;

Modules§

device
CP2130 Driver Device Definitions
manager
CP2130 Driver Device Manager
prelude

Structs§

Cp2130
CP2130 provides methods to interact with the device, as well as create new spi and gpio connectors.
InputPin
InputPin object implements embedded-hal InputPin traits for the CP2130
OutputPin
OutputPin object implements embedded-hal OutputPin traits for the CP2130
Spi
Spi object implements embedded-hal SPI traits for the CP2130
SpiMode
SPI mode.

Enums§

Error

Traits§

Device
Device trait provides methods directly on the CP2130