peltier 2.0.0.0
|
Functions | |
void | peltier_cfg_setup (peltier_cfg_t *cfg) |
Config Object Initialization function. | |
PELTIER_RETVAL | peltier_init (peltier_t *ctx, peltier_cfg_t *cfg) |
Initialization function. | |
void | peltier_enable_ldo2 (peltier_t *ctx) |
Enables LDO2 function. | |
void | peltier_disable_ldo2 (peltier_t *ctx) |
Disables LDO2 function. | |
void | peltier_enable_ldo1 (peltier_t *ctx) |
Enables LDO1 function. | |
void | peltier_disable_ldo1 (peltier_t *ctx) |
Disables LDO1 function. | |
uint8_t | peltier_battery_charge (peltier_t *ctx) |
Check ongoing battery charge flag pin function. | |
uint8_t | peltier_vin_good_flag (peltier_t *ctx) |
Check input voltage good flag pin function. | |
uint8_t peltier_battery_charge | ( | peltier_t * | ctx | ) |
Check ongoing battery charge flag pin function.
ctx | Click object. |
@description This function is used to check ongoing battery charge flag pin.
void peltier_cfg_setup | ( | peltier_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void peltier_disable_ldo1 | ( | peltier_t * | ctx | ) |
Disables LDO1 function.
ctx | Click object. |
@description This function is used to disable 1.8V output.
void peltier_disable_ldo2 | ( | peltier_t * | ctx | ) |
Disables LDO2 function.
ctx | Click object. |
@description This function is used to disable 3.3V output..
void peltier_enable_ldo1 | ( | peltier_t * | ctx | ) |
Enables LDO1 function.
ctx | Click object. |
@description This function is used to enable 1.8V output.
void peltier_enable_ldo2 | ( | peltier_t * | ctx | ) |
Enables LDO2 function.
ctx | Click object. |
@description This function is used to enable 3.3V output.
PELTIER_RETVAL peltier_init | ( | peltier_t * | ctx, |
peltier_cfg_t * | cfg ) |
Initialization function.
peltier | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
uint8_t peltier_vin_good_flag | ( | peltier_t * | ctx | ) |
Check input voltage good flag pin function.
ctx | Click object. |
@description This function is used to check input voltage flag pin.