Crate adxl345_driver2
source ·Expand description
Provides a complete ADXL345 compatible command set and supporting code.
This is meant to be a hardware level driver interface for the device.
Modules§
- Contains the I²C driver for the device.
- Contains the SPI driver for the device.
Structs§
- Activity/Tap Status bit flags returned by activity_tap_status() method.
- Activity mode bit flags used in activity_control() and set_activity_control() methods.
- Bandwidth rate control bitfields used in bandwidth_rate() and set_bandwidth_rate() methods.
- Data format bitfields used in data_format() and set_data_format() methods.
- Fifo buffer control bitfields used in fifo_control() and set_fifo_control() methods.
- Fifo buffer status bitfields used in fifo_status() method.
- Interrupt enable control bit flags use by interrupt_control() and set_interrupt_control() methods.
- Interrupt map bit flags use by interrupt_map() and set_interrupt_map() methods.
- Interrupt source bit flags use by interrupt_source() method.
- Power control bitfields used in power_control() and set_power_control() methods.
- Hold a collection of single/double tap non-control related values.
- Tap axis mode bit flags used in tap_control() and set_tap_control() methods.
Enums§
- Provides a shared set of error types.
Traits§
- Complete R/W register command set for the accelerometer.
- Read register command set for accelerometer.
- Write register command set for accelerometer.
Type Aliases§
- Result type used when return value is needed from methods in library.
- Result type used when return value is NOT needed from methods in library.