uniqueid 2.0.0.0
|
API for UNIQUE ID Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_one_wire.h"
Go to the source code of this file.
Data Structures | |
struct | uniqueid_t |
UNIQUE ID click context object. More... | |
struct | uniqueid_cfg_t |
UNIQUE ID click configuration object. More... | |
Macros | |
#define | UNIQUEID_FAMILY_CODE 0x01 |
UNIQUE ID Family Code value. | |
#define | UNIQUEID_MAP_MIKROBUS(cfg, mikrobus) |
Enumerations | |
enum | uniqueid_gpio_sel_t { UNIQUEID_GPIO_0 , UNIQUEID_GPIO_1 } |
UNIQUE ID click GPIO selector. More... | |
enum | uniqueid_return_value_t { UNIQUEID_OK = 0 , UNIQUEID_ERROR = -1 } |
UNIQUE ID click return value data. More... | |
Functions | |
void | uniqueid_cfg_setup (uniqueid_cfg_t *cfg) |
UNIQUE ID configuration object setup function. | |
void | uniqueid_gpio_selection (uniqueid_cfg_t *cfg, uniqueid_gpio_sel_t gpio_sel) |
UNIQUE ID driver interface setup function. | |
err_t | uniqueid_init (uniqueid_t *ctx, uniqueid_cfg_t *cfg) |
UNIQUE ID initialization function. | |
err_t | uniqueid_read_id (uniqueid_t *ctx, uint8_t *family, uint8_t *serial_num) |
UNIQUE ID read Family Code and Serial Number function. | |
API for UNIQUE ID Click driver.