39#ifdef PREINIT_SUPPORTED
43#ifdef MikroCCoreVersion
44 #if MikroCCoreVersion >= 1
49#include "drv_digital_out.h"
50#include "drv_digital_in.h"
72#define CAPTOUCH6_MAP_MIKROBUS( cfg, mikrobus ) \
73 cfg.tout = MIKROBUS( mikrobus, MIKROBUS_AN ); \
74 cfg.pout = MIKROBUS( mikrobus, MIKROBUS_PWM );
captouch6_return_value_t
Cap Touch 6 Click return value data.
Definition captouch6.h:106
@ CAPTOUCH6_ERROR
Definition captouch6.h:108
@ CAPTOUCH6_OK
Definition captouch6.h:107
err_t captouch6_init(captouch6_t *ctx, captouch6_cfg_t *cfg)
Cap Touch 6 initialization function.
uint8_t captouch6_get_pout_pin(captouch6_t *ctx)
Cap Touch 6 get pout pin function.
void captouch6_cfg_setup(captouch6_cfg_t *cfg)
Cap Touch 6 configuration object setup function.
uint8_t captouch6_get_tout_pin(captouch6_t *ctx)
Cap Touch 6 get tout pin function.
Cap Touch 6 Click configuration object.
Definition captouch6.h:95
pin_name_t tout
Definition captouch6.h:96
pin_name_t pout
Definition captouch6.h:97
Cap Touch 6 Click context object.
Definition captouch6.h:84
digital_in_t pout
Definition captouch6.h:86
digital_in_t tout
Definition captouch6.h:85