irreflect 2.0.0.0
|
This file contains API for IR reflect Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | irreflect_t |
Click ctx object definition. More... | |
struct | irreflect_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | IRREFLECT_MAP_MIKROBUS(cfg, mikrobus) |
#define | IRREFLECT_RETVAL uint8_t |
#define | IRREFLECT_OK 0x00 |
#define | IRREFLECT_INIT_ERROR 0xFF |
Functions | |
void | irreflect_cfg_setup (irreflect_cfg_t *cfg) |
Config Object Initialization function. | |
IRREFLECT_RETVAL | irreflect_init (irreflect_t *ctx, irreflect_cfg_t *cfg) |
Initialization function. | |
uint8_t | irreflect_reflect_status (irreflect_t *ctx) |
Detecting interrupt states of IR reflection from GP2S700HCP reflective photointerrupter sensor. | |
uint8_t | irreflect_analog_status (irreflect_t *ctx) |
Detecting states of analog pin of IR reflection from GP2S700HCP reflective photointerrupter sensor. | |
This file contains API for IR reflect Click driver.