barcode 2.0.0.0
|
This file contains API for Barcode Click driver. More...
#include "drv_digital_out.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | barcode_t |
Click ctx object definition. More... | |
struct | barcode_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | BARCODE_MAP_MIKROBUS(cfg, mikrobus) |
#define | BARCODE_RETVAL int8_t |
#define | BARCODE_OK 0 |
#define | BARCODE_INIT_ERROR (-1) |
#define | BARCODE_LOGIC_ON 0x00 |
#define | BARCODE_LOGIC_OFF 0x01 |
Functions | |
void | barcode_cfg_setup (barcode_cfg_t *cfg) |
Config Object Initialization function. | |
BARCODE_RETVAL | barcode_init (barcode_t *ctx, barcode_cfg_t *cfg) |
Initialization function. | |
void | barcode_enable_scaning (barcode_t *ctx, uint8_t state) |
Set WKP ( wake-up ) pin state. | |
void | barcode_generic_write (barcode_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
uint16_t | barcode_generic_read (barcode_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
This file contains API for Barcode Click driver.