ireclipse 2.0.0.0
|
This file contains API for Ir Eclipse Click driver. More...
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | ireclipse_t |
Click ctx object definition. More... | |
struct | ireclipse_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | IRECLIPSE_MAP_MIKROBUS(cfg, mikrobus) cfg.int_pin= MIKROBUS( mikrobus, MIKROBUS_INT ); |
#define | IRECLIPSE_RETVAL uint8_t |
#define | IRECLIPSE_OK 0x00 |
#define | IRECLIPSE_INIT_ERROR 0xFF |
#define | IRECLIPSE_LOW 0 |
#define | IRECLIPSE_HIGH 1 |
#define | IRECLIPSE_START_CNT_VAL 0 |
Functions | |
void | ireclipse_cfg_setup (ireclipse_cfg_t *cfg) |
Config Object Initialization function. | |
IRECLIPSE_RETVAL | ireclipse_init (ireclipse_t *ctx, ireclipse_cfg_t *cfg) |
Initialization function. | |
uint8_t | ireclipse_int_status (ireclipse_t *ctx) |
Detecting states of IR beam from EE-SX198 photo interrupter sensor. | |
This file contains API for Ir Eclipse Click driver.