buck10 2.0.0.0
|
This file contains API for Buck 10 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | buck10_t |
Buck 10 Click context object. More... | |
struct | buck10_cfg_t |
Buck 10 Click configuration object. More... | |
Macros | |
#define | BUCK10_DEVICE_ENABLE 0x01 |
Buck 10 mode settings. | |
#define | BUCK10_DEVICE_DISABLE 0x00 |
#define | BUCK10_MAP_MIKROBUS(cfg, mikrobus) cfg.en = MIKROBUS( mikrobus, MIKROBUS_PWM ) |
MikroBUS pin mapping. | |
Enumerations | |
enum | buck10_return_value_t { BUCK10_OK = 0 , BUCK10_ERROR = -1 } |
Buck 10 Click return value data. More... | |
Functions | |
void | buck10_cfg_setup (buck10_cfg_t *cfg) |
Buck 10 configuration object setup function. | |
err_t | buck10_init (buck10_t *ctx, buck10_cfg_t *cfg) |
Buck 10 initialization function. | |
void | buck10_set_device_mode (buck10_t *ctx, uint8_t mode) |
Function for enable or disable device. | |
This file contains API for Buck 10 Click Driver.