A collection of Analog Devices drivers for the mbed platform
Thermocouple_Channel Class Reference
Thermocouple_Channel class. More...
#include <CN0391.h>
Public Member Functions | |
Thermocouple_Channel () | |
Thermocouple channel constructor. | |
Thermocouple_Channel (Thermocouple *t) | |
Constructs thermocouple channel using thermocouple type t. | |
Thermocouple * | get_thermocouple_type () |
gets thermocouple type | |
void | set_thermocouple_type (Thermocouple *new_t) |
sets new thermocouple type | |
void | setup_channel (Thermocouple *new_t, uint16_t thermocouple_channel, uint16_t rtd_channel, uint16_t calibration_channel) |
sets up thermocouple channel |
Detailed Description
Thermocouple_Channel class.
Definition at line 10 of file CN0391.h.
Constructor & Destructor Documentation
Thermocouple channel constructor.
Definition at line 16 of file CN0391.cpp.
Thermocouple_Channel | ( | Thermocouple * | t ) |
Constructs thermocouple channel using thermocouple type t.
Member Function Documentation
Thermocouple * get_thermocouple_type | ( | ) |
void set_thermocouple_type | ( | Thermocouple * | new_t ) |
sets new thermocouple type
- Parameters:
-
new_t new thermocouple type
Definition at line 25 of file CN0391.cpp.
void setup_channel | ( | Thermocouple * | new_t, |
uint16_t | thermocouple_channel, | ||
uint16_t | rtd_channel, | ||
uint16_t | calibration_channel | ||
) |
sets up thermocouple channel
- Parameters:
-
new_t thermocouple type thermocouple_channel - thermocouple ADC channel rtd_channel - RTD ADC channel calibration_channel - ADC channel used in calibration
Definition at line 30 of file CN0391.cpp.
Generated on Tue Jul 12 2022 17:59:52 by 1.7.2