Loading...
Searching...
No Matches

Detailed Description

#include "periph/spi.h"
+ Include dependency graph for max31855.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  max31855_params_t
 Device initialization parameters. More...
 
struct  max31855_t
 Device descriptor for the driver. More...
 
struct  max31855_data_t
 Data structure for the MAX31855. More...
 

Enumerations

enum  max31855_fault_t { MAX31855_FAULT_VCC_SHORT = 0 , MAX31855_FAULT_GND_SHORT = 1 , MAX31855_FAULT_OPEN_CIRCUIT = 2 , MAX31855_FAULT_NO_FAULT = 3 }
 Fault status of the MAX31855. More...
 

Functions

int max31855_init (max31855_t *dev, const max31855_params_t *params)
 Initialize the given device.
 
void max31855_raw_to_data (uint32_t raw_data, max31855_data_t *data)
 Parse the raw data from the MAX31855 to the data structure.
 
int max31855_read (max31855_t *dev, max31855_data_t *data)
 Read data from the MAX31855.
 
void max31855_read_raw (max31855_t *dev, uint32_t *data)
 Read raw data from the MAX31855.