boost 2.0.0.0
|
Functions | |
void | boost_cfg_setup (boost_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | boost_init (boost_t *ctx, boost_cfg_t *cfg) |
Initialization function. | |
void | boost_device_enable (boost_t *ctx) |
Device Enable function. | |
void | boost_device_disable (boost_t *ctx) |
Device Disable function. | |
void | boost_dac_setup (boost_t *ctx, boost_dac_cfg_t *cfg) |
DAC Setup function. | |
err_t | boost_dac_write (boost_t *ctx, uint16_t dac_val) |
DAC Write function. | |
float | boost_vout_read (boost_t *ctx) |
VOUT Read function. | |
void boost_cfg_setup | ( | boost_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void boost_dac_setup | ( | boost_t * | ctx, |
boost_dac_cfg_t * | cfg ) |
DAC Setup function.
ctx | Click object. |
cfg | DAC configuration structure. |
@description This function performs the setup of the DAC converter of the Boost click.
err_t boost_dac_write | ( | boost_t * | ctx, |
uint16_t | dac_val ) |
DAC Write function.
ctx | Click object. |
dac_val | DAC writing value [12-bit]. |
@description This function sets the DAC converter to the selected value and allows the output voltage changing.
void boost_device_disable | ( | boost_t * | ctx | ) |
Device Disable function.
ctx | Click object. |
@description This function puts the device to power OFF state.
void boost_device_enable | ( | boost_t * | ctx | ) |
Device Enable function.
ctx | Click object. |
@description This function puts the device to power ON state.
err_t boost_init | ( | boost_t * | ctx, |
boost_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
float boost_vout_read | ( | boost_t * | ctx | ) |
VOUT Read function.
ctx | Click object. |
@description This function reads the output voltage level.