thermo16 2.0.0.0
|
Functions | |
void | thermo16_cfg_setup (thermo16_cfg_t *cfg) |
Config Object Initialization function. | |
THERMO16_RETVAL | thermo16_init (thermo16_t *ctx, thermo16_cfg_t *cfg) |
Initialization function. | |
thermo16_data_t | thermo16_generic_read (thermo16_t *ctx) |
Generic read function. | |
float | thermo16_get_temperature (thermo16_t *ctx, uint8_t temp_format) |
Temperature function. | |
void thermo16_cfg_setup | ( | thermo16_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
thermo16_data_t thermo16_generic_read | ( | thermo16_t * | ctx | ) |
Generic read function.
ctx | Click object. |
@description This function read ADC data.
float thermo16_get_temperature | ( | thermo16_t * | ctx, |
uint8_t | temp_format ) |
Temperature function.
ctx | Click object. |
temp_format | Temperature format ( CELSIUS, KELVIN, FAHRENHEIT ) |
@description This function read Temperature data.
THERMO16_RETVAL thermo16_init | ( | thermo16_t * | ctx, |
thermo16_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.