singlecell 2.0.0.0
|
Functions | |
void | singlecell_cfg_setup (singlecell_cfg_t *cfg) |
Config Object Initialization function. | |
SINGLECELL_RETVAL | singlecell_init (singlecell_t *ctx, singlecell_cfg_t *cfg) |
Initialization function. | |
void | singlecell_default_cfg (singlecell_t *ctx) |
Click Default Configuration function. | |
void | singlecell_set_power_mode (singlecell_t *ctx, uint8_t en_mode) |
Set power mode function. | |
void singlecell_cfg_setup | ( | singlecell_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void singlecell_default_cfg | ( | singlecell_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for Single Cell click.
SINGLECELL_RETVAL singlecell_init | ( | singlecell_t * | ctx, |
singlecell_cfg_t * | cfg ) |
Initialization function.
singlecell | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void singlecell_set_power_mode | ( | singlecell_t * | ctx, |
uint8_t | en_mode ) |
Set power mode function.
ctx | Click object. |
en_mode | Enable or disable mode. |
@description This function enabled or disabled the regulator output by sets to '1' or '0' state of the EN pin for Single Cell click.