mic3 2.0.0.0
|
This file contains API for MIC 3 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | mic3_t |
MIC 3 Click context object. More... | |
struct | mic3_cfg_t |
MIC 3 Click configuration object. More... | |
Macros | |
#define | MIC3_PIN_STATE_HIGH 0x01 |
MIC 3 description setting. | |
#define | MIC3_PIN_STATE_LOW 0x00 |
#define | MIC3_MAP_MIKROBUS(cfg, mikrobus) cfg.shd = MIKROBUS( mikrobus, MIKROBUS_CS ) |
MikroBUS pin mapping. | |
Enumerations | |
enum | mic3_return_value_t { MIC3_OK = 0 , MIC3_ERROR = -1 } |
MIC 3 Click return value data. More... | |
Functions | |
void | mic3_cfg_setup (mic3_cfg_t *cfg) |
MIC 3 configuration object setup function. | |
err_t | mic3_init (mic3_t *ctx, mic3_cfg_t *cfg) |
MIC 3 initialization function. | |
err_t | mic3_default_cfg (mic3_t *ctx) |
MIC 3 default configuration function. | |
void | mic3_shd_pin_set (mic3_t *ctx, uint8_t state) |
MIC 3 SHD pin setting function. | |
This file contains API for MIC 3 Click Driver.
enum mic3_return_value_t |