buckboost 2.0.0.0

Functions

void buckboost_cfg_setup (buckboost_cfg_t *cfg)
 Config Object Initialization function.
 
BUCKBOOST_RETVAL buckboost_init (buckboost_t *ctx, buckboost_cfg_t *cfg)
 Initialization function.
 
void buckboost_default_cfg (buckboost_t *ctx)
 Click Default Configuration function.
 
void buckboost_enable (buckboost_t *ctx)
 Enable the converter function.
 
void buckboost_disable (buckboost_t *ctx)
 Disable the converter function.
 
void buckboost_set_mode_fixed_freq (buckboost_t *ctx)
 Set fixed frequency PWM operation function.
 
void buckboost_enables_auto_burst_mode (buckboost_t *ctx)
 Enables automatic burst mode operation.
 
void buckboost_set_2500mv (buckboost_t *ctx)
 Set the output voltage of 2500 mV function.
 
void buckboost_set_3300mv (buckboost_t *ctx)
 Set the output voltage of 3000 mV function.
 
void buckboost_set_4100mv (buckboost_t *ctx)
 Set the output voltage of 4100 mV function.
 
void buckboost_set_5000mv (buckboost_t *ctx)
 Set the output voltage of 5000 mV function.
 
void buckboost_set_6900mv (buckboost_t *ctx)
 Set the output voltage of 6900 mV function.
 
void buckboost_set_8200mv (buckboost_t *ctx)
 Set the output voltage of 8200 mV function.
 
void buckboost_set_12000mv (buckboost_t *ctx)
 Set the output voltage of 12000 mV function.
 
void buckboost_set_15000mv (buckboost_t *ctx)
 Set the output voltage of 15000 mV function.
 

Detailed Description

Function Documentation

◆ buckboost_cfg_setup()

void buckboost_cfg_setup ( buckboost_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.

◆ buckboost_default_cfg()

void buckboost_default_cfg ( buckboost_t * ctx)

Click Default Configuration function.

Parameters
ctxClick object.

@description This function executes default configuration for Buck-Boost click.

◆ buckboost_disable()

void buckboost_disable ( buckboost_t * ctx)

Disable the converter function.

Parameters
ctxClick object.

@description This function disable the converter of LTC3129-1 on Buck Boost Click by clear RST ( RUN ) pin ( logic 0 ).

◆ buckboost_enable()

void buckboost_enable ( buckboost_t * ctx)

Enable the converter function.

Parameters
ctxClick object.

@description This function enable the converter of LTC3129-1 on Buck Boost Click by set RST ( RUN ) pin ( logic 1 ).

◆ buckboost_enables_auto_burst_mode()

void buckboost_enables_auto_burst_mode ( buckboost_t * ctx)

Enables automatic burst mode operation.

Parameters
ctxClick object.

@description This function enables automatic burst mode operation of LTC3129-1 on Buck Boost Click by clear PWM pin ( logic 0 ).

◆ buckboost_init()

BUCKBOOST_RETVAL buckboost_init ( buckboost_t * ctx,
buckboost_cfg_t * cfg )

Initialization function.

Parameters
buckboostClick object.
cfgClick configuration structure.

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

◆ buckboost_set_12000mv()

void buckboost_set_12000mv ( buckboost_t * ctx)

Set the output voltage of 12000 mV function.

Parameters
ctxClick object.

@description This function set the output voltage of 12000 mV function of LTC3129-1 on Buck Boost Click by :

  • VS1 : set INT pin ( logic 1 ),
  • VS2 : set AN pin ( logic 1 ) and
  • VS3 : clear CS pin ( logic 0 ).

◆ buckboost_set_15000mv()

void buckboost_set_15000mv ( buckboost_t * ctx)

Set the output voltage of 15000 mV function.

Parameters
ctxClick object.

@description This function set the output voltage of 15000 mV function of LTC3129-1 on Buck Boost Click by :

  • VS1 : set INT pin ( logic 1 ),
  • VS2 : set AN pin ( logic 1 ) and
  • VS3 : set CS pin ( logic 1 ).

◆ buckboost_set_2500mv()

void buckboost_set_2500mv ( buckboost_t * ctx)

Set the output voltage of 2500 mV function.

Parameters
ctxClick object.

@description This function set the output voltage of 2500 mV function of LTC3129-1 on Buck Boost Click by :

  • VS1 : clear INT pin ( logic 0 ),
  • VS2 : clear AN pin ( logic 0 ) and
  • VS3 : clear CS pin ( logic 0 ).

◆ buckboost_set_3300mv()

void buckboost_set_3300mv ( buckboost_t * ctx)

Set the output voltage of 3000 mV function.

Parameters
ctxClick object.

@description This function set the output voltage of 3000 mV function of LTC3129-1 on Buck Boost Click by :

  • VS1 : clear INT pin ( logic 0 ),
  • VS2 : clear AN pin ( logic 0 ) and
  • VS3 : set CS pin ( logic 1 ).

◆ buckboost_set_4100mv()

void buckboost_set_4100mv ( buckboost_t * ctx)

Set the output voltage of 4100 mV function.

Parameters
ctxClick object.

@description This function set the output voltage of 4100 mV function of LTC3129-1 on Buck Boost Click by :

  • VS1 : clear INT pin ( logic 0 ),
  • VS2 : set AN pin ( logic 1 ) and
  • VS3 : clear CS pin ( logic 0 ).

◆ buckboost_set_5000mv()

void buckboost_set_5000mv ( buckboost_t * ctx)

Set the output voltage of 5000 mV function.

Parameters
ctxClick object.

@description This function set the output voltage of 5000 mV function of LTC3129-1 on Buck Boost Click by :

  • VS1 : clear INT pin ( logic 0 ),
  • VS2 : set AN pin ( logic 1 ) and
  • VS3 : set CS pin ( logic 1 ).

◆ buckboost_set_6900mv()

void buckboost_set_6900mv ( buckboost_t * ctx)

Set the output voltage of 6900 mV function.

Parameters
ctxClick object.

@description This function set the output voltage of 6900 mV function of LTC3129-1 on Buck Boost Click by :

  • VS1 : set INT pin ( logic 1 ),
  • VS2 : clear AN pin ( logic 0 ) and
  • VS3 : clear CS pin ( logic 0 ).

◆ buckboost_set_8200mv()

void buckboost_set_8200mv ( buckboost_t * ctx)

Set the output voltage of 8200 mV function.

Parameters
ctxClick object.

@description This function set the output voltage of 8200 mV function of LTC3129-1 on Buck Boost Click by :

  • VS1 : set INT pin ( logic 1 ),
  • VS2 : clear AN pin ( logic 0 ) and
  • VS3 : set CS pin ( logic 1 ).

◆ buckboost_set_mode_fixed_freq()

void buckboost_set_mode_fixed_freq ( buckboost_t * ctx)

Set fixed frequency PWM operation function.

Parameters
ctxClick object.

@description This function set fixed frequency PWM operation mode of LTC3129-1 on Buck Boost Click by set PWM pin ( logic 1 ).