capextend3 2.0.0.0
|
This file contains API for Cap Extend 3 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | capextend3_t |
Click ctx object definition. More... | |
struct | capextend3_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | CAPEXTEND3_MAP_MIKROBUS(cfg, mikrobus) |
#define | CAPEXTEND3_RETVAL uint8_t |
#define | CAPEXTEND3_OK 0x00 |
#define | CAPEXTEND3_INIT_ERROR 0xFF |
Functions | |
void | capextend3_cfg_setup (capextend3_cfg_t *cfg) |
Config Object Initialization function. | |
CAPEXTEND3_RETVAL | capextend3_init (capextend3_t *ctx, capextend3_cfg_t *cfg) |
Initialization function. | |
uint8_t | capextend3_touch_0 (capextend3_t *ctx) |
Function reads state of AN pin. | |
uint8_t | capextend3_touch_1 (capextend3_t *ctx) |
Function reads state of RST pin. | |
uint8_t | capextend3_touch_2 (capextend3_t *ctx) |
Function reads state of CS pin. | |
uint8_t | capextend3_touch_3 (capextend3_t *ctx) |
Function reads state of INT pin. | |
uint8_t | capextend3_touch_4 (capextend3_t *ctx) |
Function reads state of PWM pin. | |
This file contains API for Cap Extend 3 Click driver.