buckboost2 2.0.0.0

Functions

void buckboost2_cfg_setup (buckboost2_cfg_t *cfg)
 Config Object Initialization function.
 
BUCKBOOST2_RETVAL buckboost2_init (buckboost2_t *ctx, buckboost2_cfg_t *cfg)
 Initialization function.
 
void buckboost2_power_on (buckboost2_t *ctx)
 Power on function.
 
void buckboost2_power_off (buckboost2_t *ctx)
 Power off function.
 
void buckboost2_set_mode (buckboost2_t *ctx, uint8_t mode)
 Mode setting functon.
 

Detailed Description

Function Documentation

◆ buckboost2_cfg_setup()

void buckboost2_cfg_setup ( buckboost2_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ buckboost2_init()

BUCKBOOST2_RETVAL buckboost2_init ( buckboost2_t * ctx,
buckboost2_cfg_t * cfg )

Initialization function.

Parameters
buckboost2Click object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.

◆ buckboost2_power_off()

void buckboost2_power_off ( buckboost2_t * ctx)

Power off function.

Parameters
buckboost2Click object.

@description This function powers OFF the chip

◆ buckboost2_power_on()

void buckboost2_power_on ( buckboost2_t * ctx)

Power on function.

Parameters
buckboost2Click object.

@description This function powers on the chip.

◆ buckboost2_set_mode()

void buckboost2_set_mode ( buckboost2_t * ctx,
uint8_t mode )

Mode setting functon.

Parameters
buckboost2Click object.
modesets chip's working mode.

@description This function sets the working mode.

Note
Options:
    mode with improvement current, 
      mode without improvement current