LibDriver MAX31855
Loading...
Searching...
No Matches
max31855 example driver function

max31855 example driver modules More...

Collaboration diagram for max31855 example driver function:

Functions

uint8_t max31855_basic_init (void)
 basic example init
uint8_t max31855_basic_deinit (void)
 basic example deinit
uint8_t max31855_basic_read (int16_t *raw, float *temp, max31855_fault_t *fault)
 basic example read the temperature

Detailed Description

max31855 example driver modules

Function Documentation

◆ max31855_basic_deinit()

uint8_t max31855_basic_deinit ( void )

basic example deinit

Returns
status code
  • 0 success
  • 1 deinit failed
Note
none

Definition at line 79 of file driver_max31855_basic.c.

Here is the call graph for this function:

◆ max31855_basic_init()

uint8_t max31855_basic_init ( void )

basic example init

Returns
status code
  • 0 success
  • 1 init failed
Note
none

Definition at line 48 of file driver_max31855_basic.c.

Here is the call graph for this function:

◆ max31855_basic_read()

uint8_t max31855_basic_read ( int16_t * raw,
float * temp,
max31855_fault_t * fault )

basic example read the temperature

Parameters
[out]*rawpointer to a raw temperature buffer
[out]*temppointer to a converted temperature buffer
[out]*faultpointer to a fault buffer
Returns
status code
  • 0 success
  • 1 read failed
Note
none

Definition at line 100 of file driver_max31855_basic.c.

Here is the call graph for this function: