buck3 2.0.0.0
|
Functions | |
void | buck3_cfg_setup (buck3_cfg_t *cfg) |
Config Object Initialization function. | |
BUCK3_RETVAL | buck3_init (buck3_t *ctx, buck3_cfg_t *cfg) |
Initialization function. | |
void | buck3_default_cfg (buck3_t *ctx) |
Click Default Configuration function. | |
uint8_t | buck3_get_power_good (buck3_t *ctx) |
Function reads state of PGD pin. | |
void | buck3_set_device_state (buck3_t *ctx, uint8_t state) |
Function for setting chip mode. | |
void buck3_cfg_setup | ( | buck3_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void buck3_default_cfg | ( | buck3_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for Buck 3 click.
- Power mode (Device actiive)
uint8_t buck3_get_power_good | ( | buck3_t * | ctx | ) |
Function reads state of PGD pin.
ctx | Click object. |
- 1 / FB pin voltage is between 93% and 107% of the internal reference voltage (VREF). - 0 / Overvoltage detected or device is under thermal shutdown.
BUCK3_RETVAL buck3_init | ( | buck3_t * | ctx, |
buck3_cfg_t * | cfg ) |
Initialization function.
buck3 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void buck3_set_device_state | ( | buck3_t * | ctx, |
uint8_t | state ) |
Function for setting chip mode.
ctx | Click object. |
state | Turns device ON or OFF |
- ACTIVE mode - SLEEP mode