buckboost2 2.0.0.0
|
This file contains API for Buck Boost 2 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | buckboost2_t |
Click ctx object definition. More... | |
struct | buckboost2_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | BUCKBOOST2_MAP_MIKROBUS(cfg, mikrobus) |
#define | BUCKBOOST2_RETVAL uint8_t |
#define | BUCKBOOST2_OK 0x00 |
#define | BUCKBOOST2_INIT_ERROR 0xFF |
#define | BUCKBOOST2_WITH_IMPROVEMENT 0x01 |
#define | BUCKBOOST2_WITHOUT_IMPROVEMENT 0x00 |
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. | |
This file contains API for Buck Boost 2 Click driver.