Revision ef078306 include/alld_at42qt1050.h
include/alld_at42qt1050.h | ||
---|---|---|
31 | 31 |
|
32 | 32 |
#if defined(AMIROLLD_CFG_USE_AT42QT1050) || defined(__DOXYGEN__) |
33 | 33 |
|
34 |
/******************************************************************************/ |
|
35 |
/* CONSTANTS */ |
|
36 |
/******************************************************************************/ |
|
37 |
|
|
34 | 38 |
/** |
35 | 39 |
* @brief Maximum I2C frequency. |
36 | 40 |
*/ |
... | ... | |
52 | 56 |
#define AT42QT1050_LLD_MAX_KEY_ACQUIRATION_TIME 8000 |
53 | 57 |
|
54 | 58 |
/** |
59 |
* @brief The chip ID as can be read from the according register (constant). |
|
60 |
*/ |
|
61 |
#define AT42QT1050_LLD_CHIPID 0x46 |
|
62 |
|
|
63 |
/******************************************************************************/ |
|
64 |
/* SETTINGS */ |
|
65 |
/******************************************************************************/ |
|
66 |
|
|
67 |
/******************************************************************************/ |
|
68 |
/* CHECKS */ |
|
69 |
/******************************************************************************/ |
|
70 |
|
|
71 |
/******************************************************************************/ |
|
72 |
/* DATA STRUCTURES AND TYPES */ |
|
73 |
/******************************************************************************/ |
|
74 |
|
|
75 |
/** |
|
55 | 76 |
* @brief The AT42QT1050Driver sruct. |
56 | 77 |
*/ |
57 | 78 |
typedef struct { |
... | ... | |
112 | 133 |
} at42qt1050_lld_register_t; |
113 | 134 |
|
114 | 135 |
/** |
115 |
* @brief The chip ID as can be read from the according register (constant). |
|
116 |
*/ |
|
117 |
#define AT42QT1050_LLD_CHIPID 0x46 |
|
118 |
|
|
119 |
/** |
|
120 | 136 |
* @brief Firmware version register structure. |
121 | 137 |
*/ |
122 | 138 |
typedef union { |
... | ... | |
210 | 226 |
AT42QT1050_LLD_RESETCALIBRATE_RESET = 0x80u, |
211 | 227 |
} at42qt1050_lld_resetcalibratereg_t; |
212 | 228 |
|
229 |
/******************************************************************************/ |
|
230 |
/* MACROS */ |
|
231 |
/******************************************************************************/ |
|
232 |
|
|
233 |
/******************************************************************************/ |
|
234 |
/* EXTERN DECLARATIONS */ |
|
235 |
/******************************************************************************/ |
|
236 |
|
|
213 | 237 |
#ifdef __cplusplus |
214 | 238 |
extern "C" { |
215 | 239 |
#endif |
... | ... | |
227 | 251 |
} |
228 | 252 |
#endif |
229 | 253 |
|
254 |
/******************************************************************************/ |
|
255 |
/* INLINE FUNCTIONS */ |
|
256 |
/******************************************************************************/ |
|
257 |
|
|
230 | 258 |
#endif /* defined(AMIROLLD_CFG_USE_AT42QT1050) */ |
231 | 259 |
|
232 | 260 |
#endif /* AMIROLLD_AT42QT1050_H */ |
Also available in: Unified diff