modm API documentation
modm::Ixm42xxxTransportSpi< SpiMaster, Cs > Class Template Reference

#include <modm/driver/inertial/ixm42xxx_transport.hpp>

Inheritance diagram for modm::Ixm42xxxTransportSpi< SpiMaster, Cs >:
modm::SpiDevice< SpiMaster > modm::NestedResumable< 4 >

Public Member Functions

 Ixm42xxxTransportSpi (uint8_t)
 
modm::ResumableResult< bool > ping ()
 pings the sensor
 
void attachConfigurationHandler (Spi::ConfigurationHandler handler)
 

Protected Member Functions

modm::ResumableResult< bool > write (uint8_t reg, uint8_t value)
 write a 8bit value
 
modm::ResumableResult< bool > read (uint8_t reg, uint8_t &value)
 read a 8bit value
 
modm::ResumableResult< bool > read (uint8_t reg, uint8_t *buffer, std::size_t length)
 read multiple 8bit values from a start register
 
bool acquireMaster ()
 
bool releaseMaster ()
 
int8_t getResumableDepth () const
 
bool isResumableRunning () const
 
void stopResumable ()
 

Detailed Description

template<class SpiMaster, class Cs>
class modm::Ixm42xxxTransportSpi< SpiMaster, Cs >

IXM42xxx SPI Transport Layer.

See also
Ixm42xxx
Template Parameters
SpiMasterSpiMaster interface
CsChip-select pin
Author
Rasmus Kleist Hørlyck Sørensen

The documentation for this class was generated from the following file: