singlecell 2.0.0.0
|
This file contains API for Single Cell Click driver. More...
#include "drv_digital_out.h"
Go to the source code of this file.
Data Structures | |
struct | singlecell_t |
Click ctx object definition. More... | |
struct | singlecell_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | SINGLECELL_MAP_MIKROBUS(cfg, mikrobus) cfg.en= MIKROBUS( mikrobus, MIKROBUS_CS ); |
#define | SINGLECELL_RETVAL uint8_t |
#define | SINGLECELL_OK 0x00 |
#define | SINGLECELL_INIT_ERROR 0xFF |
#define | SINGLECELL_DISABLE 0x00 |
#define | SINGLECELL_ENABLE 0x01 |
Functions | |
void | singlecell_cfg_setup (singlecell_cfg_t *cfg) |
Config Object Initialization function. | |
SINGLECELL_RETVAL | singlecell_init (singlecell_t *ctx, singlecell_cfg_t *cfg) |
Initialization function. | |
void | singlecell_default_cfg (singlecell_t *ctx) |
Click Default Configuration function. | |
void | singlecell_set_power_mode (singlecell_t *ctx, uint8_t en_mode) |
Set power mode function. | |
This file contains API for Single Cell Click driver.