| modm API documentation
    | 
#include <modm/driver/inertial/lis3_transport.hpp>
 
  
 | Public Member Functions | |
| Lis3TransportSpi (uint8_t) | |
| bool | ping () | 
| pings the sensor | |
| void | attachConfigurationHandler (Spi::ConfigurationHandler handler) | 
| Protected Member Functions | |
| bool | write (uint8_t reg, uint8_t value) | 
| write a 8bit value | |
| bool | read (uint8_t reg, uint8_t &value) | 
| read a 8bit value | |
| bool | read (uint8_t reg, uint8_t *buffer, uint8_t length) | 
| read multiple 8bit values from a start register | |
| bool | acquireMaster () | 
| bool | releaseMaster () | 
LIS3xx SPI Transport Layer.
This class manages communication with the accelerometer via the SPI bus. The SPI interface can be clocked with up to 10MHz and requires Mode3.
| Cs | connected Chip Select Pin |