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

#include <modm/driver/temperature/tmp12x.hpp>

Inheritance diagram for modm::Tmp12x< SpiMaster, Cs, TemperatureT >:
modm::SpiDevice< SpiMaster > modm::NestedResumable< 1 >

Public Typedefs

using Temperature = TemperatureT
 

Public Member Functions

void initialize ()
 
modm::ResumableResult< Temperature > read ()
 
void attachConfigurationHandler (Spi::ConfigurationHandler handler)
 

Protected Member Functions

bool acquireMaster ()
 
bool releaseMaster ()
 
int8_t getResumableDepth () const
 
bool isResumableRunning () const
 
void stopResumable ()
 

Detailed Description

template<typename SpiMaster, typename Cs, typename TemperatureT>
class modm::Tmp12x< SpiMaster, Cs, TemperatureT >

TMP12x temperature sensor driver Use aliases Tmp121, Tmp123, Tmp125 for convenience.

Author
Christopher Durand
Template Parameters
SpiMasterSPI master interface
CsChip select output
TemperatureTSensor temperature type

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