ledflash 2.0.0.0
|
Functions | |
void | ledflash_cfg_setup (ledflash_cfg_t *cfg) |
Config Object Initialization function. | |
LEDFLASH_RETVAL | ledflash_init (ledflash_t *ctx, ledflash_cfg_t *cfg) |
Initialization function. | |
void | ledflash_char_supcap_enable (ledflash_t *ctx) |
Charge Supercapacitor Enable function. | |
void | ledflash_flash_enable (ledflash_t *ctx) |
Flash Enable function. | |
void | ledflash_torch_enable (ledflash_t *ctx) |
Torch Enable function. | |
void | ledflash_char_supcap_disable (ledflash_t *ctx) |
Charge Supercapacitor Disable function. | |
void | ledflash_flash_disable (ledflash_t *ctx) |
Flash Disable function. | |
void | ledflash_torch_disable (ledflash_t *ctx) |
Torch Disable function. | |
uint8_t | ledflash_flash_rdy_flag (ledflash_t *ctx) |
Check Flash Ready Flag function. | |
void ledflash_cfg_setup | ( | ledflash_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void ledflash_char_supcap_disable | ( | ledflash_t * | ctx | ) |
Charge Supercapacitor Disable function.
ctx | Click object. |
@description Function disables charging of the supercapacitor.
void ledflash_char_supcap_enable | ( | ledflash_t * | ctx | ) |
Charge Supercapacitor Enable function.
ctx | Click object. |
@description Function enables charging of the supercapacitor.
void ledflash_flash_disable | ( | ledflash_t * | ctx | ) |
Flash Disable function.
ctx | Click object. |
@description Function disables flash.
void ledflash_flash_enable | ( | ledflash_t * | ctx | ) |
Flash Enable function.
ctx | Click object. |
@description Function enables flash.
uint8_t ledflash_flash_rdy_flag | ( | ledflash_t * | ctx | ) |
Check Flash Ready Flag function.
ctx | Click object. |
@description Functions checks the flash ready flag.
LEDFLASH_RETVAL ledflash_init | ( | ledflash_t * | ctx, |
ledflash_cfg_t * | cfg ) |
Initialization function.
ledflash | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void ledflash_torch_disable | ( | ledflash_t * | ctx | ) |
Torch Disable function.
ctx | Click object. |
@description Function disables torch.
void ledflash_torch_enable | ( | ledflash_t * | ctx | ) |
Torch Enable function.
ctx | Click object. |
@description Function enables torch.