boost2 2.0.0.0
|
Functions | |
void | boost2_cfg_setup (boost2_cfg_t *cfg) |
Config Object Initialization function. | |
BOOST2_RETVAL | boost2_init (boost2_t *ctx, boost2_cfg_t *cfg) |
Initialization function. | |
void | boost2_set_en_pin (boost2_t *ctx, uint8_t new_state) |
Set enable pin. | |
uint8_t | boost2_get_pg_pin (boost2_t *ctx) |
Get PG pin state. | |
void boost2_cfg_setup | ( | boost2_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint8_t boost2_get_pg_pin | ( | boost2_t * | ctx | ) |
Get PG pin state.
ctx | Click object. |
@description This function returns the state of PG pin.
BOOST2_RETVAL boost2_init | ( | boost2_t * | ctx, |
boost2_cfg_t * | cfg ) |
Initialization function.
boost2 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void boost2_set_en_pin | ( | boost2_t * | ctx, |
uint8_t | new_state ) |
Set enable pin.
ctx | Click object. |
new_state | Selected new state of the enable pin. |
@description This function sets the state of EN pin.