buck8 2.0.0.0
|
Functions | |
void | buck8_cfg_setup (buck8_cfg_t *cfg) |
Config Object Initialization function. | |
BUCK8_RETVAL | buck8_init (buck8_t *ctx, buck8_cfg_t *cfg) |
Initialization function. | |
void | buck8_default_cfg (buck8_t *ctx) |
Click Default Configuration function. | |
void | buck8_set_power_mode (buck8_t *ctx, uint8_t mode) |
Function settings mode. | |
uint8_t | buck8_get_state (buck8_t *ctx) |
Function reads state of pin. | |
void buck8_cfg_setup | ( | buck8_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void buck8_default_cfg | ( | buck8_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for Buck 8 click.
- Set power mode (Active)
uint8_t buck8_get_state | ( | buck8_t * | ctx | ) |
Function reads state of pin.
ctx | Click object |
- 1 / if the input voltage is greater than the set maximum range. - 0 / if the input voltage is lower than the set maximum range.
BUCK8_RETVAL buck8_init | ( | buck8_t * | ctx, |
buck8_cfg_t * | cfg ) |
Initialization function.
buck8 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void buck8_set_power_mode | ( | buck8_t * | ctx, |
uint8_t | mode ) |
Function settings mode.
ctx | Click object |
- Active mode - Sleep mode