captouch6 2.1.0.0
captouch6.h File Reference

This file contains API for Cap Touch 6 Click Driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"

Go to the source code of this file.

Data Structures

struct  captouch6_t
 Cap Touch 6 Click context object. More...
 
struct  captouch6_cfg_t
 Cap Touch 6 Click configuration object. More...
 

Macros

#define CAPTOUCH6_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.
 

Enumerations

enum  captouch6_return_value_t { CAPTOUCH6_OK = 0 , CAPTOUCH6_ERROR = -1 }
 Cap Touch 6 Click return value data. More...
 

Functions

void captouch6_cfg_setup (captouch6_cfg_t *cfg)
 Cap Touch 6 configuration object setup function.
 
err_t captouch6_init (captouch6_t *ctx, captouch6_cfg_t *cfg)
 Cap Touch 6 initialization function.
 
uint8_t captouch6_get_tout_pin (captouch6_t *ctx)
 Cap Touch 6 get tout pin function.
 
uint8_t captouch6_get_pout_pin (captouch6_t *ctx)
 Cap Touch 6 get pout pin function.
 

Detailed Description

This file contains API for Cap Touch 6 Click Driver.

Enumeration Type Documentation

◆ captouch6_return_value_t

Cap Touch 6 Click return value data.

Predefined enum values for driver return values.

Enumerator
CAPTOUCH6_OK 
CAPTOUCH6_ERROR