mic24055 2.0.0.0
|
This file contains API for MIC24055 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | mic24055_t |
Click ctx object definition. More... | |
struct | mic24055_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | MIC24055_MAP_MIKROBUS(cfg, mikrobus) |
#define | MIC24055_RETVAL uint8_t |
#define | MIC24055_OK 0x00 |
#define | MIC24055_INIT_ERROR 0xFF |
Functions | |
void | mic24055_cfg_setup (mic24055_cfg_t *cfg) |
Config Object Initialization function. | |
MIC24055_RETVAL | mic24055_init (mic24055_t *ctx, mic24055_cfg_t *cfg) |
Initialization function. | |
void | mic24055_generic_transfer (mic24055_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
void | mic24055_dac_output (mic24055_t *ctx, uint16_t value_dac) |
Generic transfer function. | |
void | mic24055_set_vout (mic24055_t *ctx, uint16_t voltage) |
Set output voltage. | |
This file contains API for MIC24055 Click driver.