LibDriver MAX31856
Loading...
Searching...
No Matches
max31856 test driver function

max31856 test driver modules More...

Collaboration diagram for max31856 test driver function:

Functions

uint8_t max31856_interrupt_test_irq_handler (void)
 interrupt test irq callback
uint8_t max31856_interrupt_test (max31856_thermocouple_type_t type, float cold_junction_low_fault_threshold_deg, float cold_junction_high_fault_threshold_deg, float temperature_low_fault_threshold_deg, float temperature_high_fault_threshold_deg, uint32_t timeout)
 interrupt test
uint8_t max31856_read_test (max31856_thermocouple_type_t type, uint32_t times)
 read test
uint8_t max31856_register_test (void)
 register test

Detailed Description

max31856 test driver modules

Function Documentation

◆ max31856_interrupt_test()

uint8_t max31856_interrupt_test ( max31856_thermocouple_type_t type,
float cold_junction_low_fault_threshold_deg,
float cold_junction_high_fault_threshold_deg,
float temperature_low_fault_threshold_deg,
float temperature_high_fault_threshold_deg,
uint32_t timeout )

interrupt test

Parameters
[in]typethermocouple type
[in]cold_junction_low_fault_threshold_degcold junction low fault threshold
[in]cold_junction_high_fault_threshold_degcold junction high fault threshold
[in]temperature_low_fault_threshold_degtemperature low fault threshold
[in]temperature_high_fault_threshold_degtemperature high fault threshold
[in]timeouttimeout in ms
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 196 of file driver_max31856_interrupt_test.c.

Here is the call graph for this function:

◆ max31856_interrupt_test_irq_handler()

uint8_t max31856_interrupt_test_irq_handler ( void )

interrupt test irq callback

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

Definition at line 173 of file driver_max31856_interrupt_test.c.

Here is the call graph for this function:

◆ max31856_read_test()

uint8_t max31856_read_test ( max31856_thermocouple_type_t type,
uint32_t times )

read test

Parameters
[in]typethermocouple type
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_max31856_read_test.c.

Here is the call graph for this function:

◆ max31856_register_test()

uint8_t max31856_register_test ( void )

register test

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

Definition at line 49 of file driver_max31856_register_test.c.

Here is the call graph for this function: