LibDriver MAX31865
Loading...
Searching...
No Matches
max31865 example driver function

max31865 example driver modules More...

Collaboration diagram for max31865 example driver function:

Macros

#define MAX31865_BASIC_DEFAULT_FILTER_SELECT   MAX31865_FILTER_SELECT_50HZ
 max31865 basic example default definition
#define MAX31865_BASIC_DEFAULT_FAULT_DETECTION_CYCLE_CONTROL   MAX31865_FAULT_DETECTION_CYCLE_CONTROL_AUTOMATIC_DELAY
#define MAX31865_BASIC_DEFAULT_HIGH_FAULT_THRESHOLD   0xFFFEU
#define MAX31865_BASIC_DEFAULT_LOW_FAULT_THRESHOLD   0x0000U
#define MAX31865_SHOT_DEFAULT_FILTER_SELECT   MAX31865_FILTER_SELECT_50HZ
 max31865 shot example default definition
#define MAX31865_SHOT_DEFAULT_FAULT_DETECTION_CYCLE_CONTROL   MAX31865_FAULT_DETECTION_CYCLE_CONTROL_AUTOMATIC_DELAY
#define MAX31865_SHOT_DEFAULT_HIGH_FAULT_THRESHOLD   0xFFFEU
#define MAX31865_SHOT_DEFAULT_LOW_FAULT_THRESHOLD   0x0000U

Functions

uint8_t max31865_basic_init (max31865_wire_t wire, max31865_resistor_t type, float ref_resistor)
 basic example init
uint8_t max31865_basic_deinit (void)
 basic example deinit
uint8_t max31865_basic_read (float *temp)
 basic example read the temperature
uint8_t max31865_shot_init (max31865_wire_t wire, max31865_resistor_t type, float ref_resistor)
 shot example init
uint8_t max31865_shot_deinit (void)
 shot example deinit
uint8_t max31865_shot_read (float *temp)
 shot example read the temperature

Detailed Description

max31865 example driver modules

Macro Definition Documentation

◆ MAX31865_BASIC_DEFAULT_FAULT_DETECTION_CYCLE_CONTROL

#define MAX31865_BASIC_DEFAULT_FAULT_DETECTION_CYCLE_CONTROL   MAX31865_FAULT_DETECTION_CYCLE_CONTROL_AUTOMATIC_DELAY

automatic delay

Definition at line 58 of file driver_max31865_basic.h.

◆ MAX31865_BASIC_DEFAULT_FILTER_SELECT

#define MAX31865_BASIC_DEFAULT_FILTER_SELECT   MAX31865_FILTER_SELECT_50HZ

max31865 basic example default definition

filter select 50Hz

Definition at line 57 of file driver_max31865_basic.h.

◆ MAX31865_BASIC_DEFAULT_HIGH_FAULT_THRESHOLD

#define MAX31865_BASIC_DEFAULT_HIGH_FAULT_THRESHOLD   0xFFFEU

high fault threshold

Definition at line 59 of file driver_max31865_basic.h.

◆ MAX31865_BASIC_DEFAULT_LOW_FAULT_THRESHOLD

#define MAX31865_BASIC_DEFAULT_LOW_FAULT_THRESHOLD   0x0000U

low fault threshold

Definition at line 60 of file driver_max31865_basic.h.

◆ MAX31865_SHOT_DEFAULT_FAULT_DETECTION_CYCLE_CONTROL

#define MAX31865_SHOT_DEFAULT_FAULT_DETECTION_CYCLE_CONTROL   MAX31865_FAULT_DETECTION_CYCLE_CONTROL_AUTOMATIC_DELAY

automatic delay

Definition at line 56 of file driver_max31865_shot.h.

◆ MAX31865_SHOT_DEFAULT_FILTER_SELECT

#define MAX31865_SHOT_DEFAULT_FILTER_SELECT   MAX31865_FILTER_SELECT_50HZ

max31865 shot example default definition

filter select 50Hz

Definition at line 55 of file driver_max31865_shot.h.

◆ MAX31865_SHOT_DEFAULT_HIGH_FAULT_THRESHOLD

#define MAX31865_SHOT_DEFAULT_HIGH_FAULT_THRESHOLD   0xFFFEU

high fault threshold

Definition at line 57 of file driver_max31865_shot.h.

◆ MAX31865_SHOT_DEFAULT_LOW_FAULT_THRESHOLD

#define MAX31865_SHOT_DEFAULT_LOW_FAULT_THRESHOLD   0x0000U

low fault threshold

Definition at line 58 of file driver_max31865_shot.h.

Function Documentation

◆ max31865_basic_deinit()

uint8_t max31865_basic_deinit ( void )

basic example deinit

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

Definition at line 187 of file driver_max31865_basic.c.

Here is the call graph for this function:

◆ max31865_basic_init()

uint8_t max31865_basic_init ( max31865_wire_t wire,
max31865_resistor_t type,
float ref_resistor )

basic example init

Parameters
[in]wirept resistor wire
[in]typept resistor type
[in]ref_resistorreference resistor value
Returns
status code
  • 0 success
  • 1 init failed
Note
none

Definition at line 52 of file driver_max31865_basic.c.

Here is the call graph for this function:

◆ max31865_basic_read()

uint8_t max31865_basic_read ( float * temp)

basic example read the temperature

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

Definition at line 165 of file driver_max31865_basic.c.

Here is the call graph for this function:

◆ max31865_shot_deinit()

uint8_t max31865_shot_deinit ( void )

shot example deinit

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

Definition at line 177 of file driver_max31865_shot.c.

Here is the call graph for this function:

◆ max31865_shot_init()

uint8_t max31865_shot_init ( max31865_wire_t wire,
max31865_resistor_t type,
float ref_resistor )

shot example init

Parameters
[in]wirept resistor wire
[in]typept resistor type
[in]ref_resistorreference resistor value
Returns
status code
  • 0 success
  • 1 init failed
Note
none

Definition at line 52 of file driver_max31865_shot.c.

Here is the call graph for this function:

◆ max31865_shot_read()

uint8_t max31865_shot_read ( float * temp)

shot example read the temperature

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

Definition at line 155 of file driver_max31865_shot.c.

Here is the call graph for this function: