flame 2.0.0.0
|
Functions | |
void | flame_cfg_setup (flame_cfg_t *cfg) |
Config Object Initialization function. | |
FLAME_RETVAL | flame_init (flame_t *ctx, flame_cfg_t *cfg) |
Initialization function. | |
uint8_t | flame_check_status (flame_t *ctx) |
Check the flame status function. | |
uint8_t | flame_get_interrupt (flame_t *ctx) |
Get interrupt status. | |
void flame_cfg_setup | ( | flame_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint8_t flame_check_status | ( | flame_t * | ctx | ) |
Check the flame status function.
ctx | Click object. |
@description This function will return 1 if a flame is detected and 0 if flame is not detectedfunction initializes all necessary pins and peripherals used for this click.
uint8_t flame_get_interrupt | ( | flame_t * | ctx | ) |
Get interrupt status.
ctx | Click object. |
@description This functions for reads interrupt pin.
FLAME_RETVAL flame_init | ( | flame_t * | ctx, |
flame_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.