upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Public Member Functions | Static Public Attributes | List of all members

API for the MAX31723 Temperature Sensor. More...

Detailed Description

Maxim Integrated* MAX31723 is a low-voltage 3-wire/SPI temperature sensor controller. This module was tested on the Maxim Integrated MAX31732PMB1 PMOD module from the analog PMOD kit.

Public Member Functions

synchronized void delete ()
 
 MAX31723 (int csn)
 
short getTemperature ()
 
String name ()
 

Static Public Attributes

static final short R_STS_READ_CMD = javaupm_max31723JNI.MAX31723_R_STS_READ_CMD_get()
 
static final short R_STS_WRITE_CMD = javaupm_max31723JNI.MAX31723_R_STS_WRITE_CMD_get()
 
static final short R_TEMPERATURE_LSB = javaupm_max31723JNI.MAX31723_R_TEMPERATURE_LSB_get()
 
static final short R_TEMPERATURE_MSB = javaupm_max31723JNI.MAX31723_R_TEMPERATURE_MSB_get()
 
static final short B_CONT_READING = javaupm_max31723JNI.MAX31723_B_CONT_READING_get()
 

Constructor & Destructor Documentation

MAX31723 ( int  csn)

Instantiates an MAX31723 object

Parameters
busNumber of the used bus
devAddrAddress of the used I2C device

Member Function Documentation

short getTemperature ( )

MAXDS3231M object destructor; basically, it closes the I2C connection. it is not needed anymore, as the connections will be closed when m_spi and m_csnPinCtx variables will go out of scope ~MAX31723 (); Gets the on-board temperature.

String name ( )

Returns the name of the component


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