Revision ef078306 include/alld_lis331dlh.h
include/alld_lis331dlh.h | ||
---|---|---|
31 | 31 |
|
32 | 32 |
#if defined(AMIROLLD_CFG_USE_LIS331DLH) || defined(__DOXYGEN__) |
33 | 33 |
|
34 |
/******************************************************************************/ |
|
35 |
/* CONSTANTS */ |
|
36 |
/******************************************************************************/ |
|
37 |
|
|
34 | 38 |
/** |
35 | 39 |
* @brief A falling edge indicates an interrupt. |
36 | 40 |
*/ |
37 | 41 |
#define LIS331DLH_LLD_INT_EDGE APAL_GPIO_EDGE_FALLING |
38 | 42 |
|
43 |
/******************************************************************************/ |
|
44 |
/* SETTINGS */ |
|
45 |
/******************************************************************************/ |
|
46 |
|
|
47 |
/******************************************************************************/ |
|
48 |
/* CHECKS */ |
|
49 |
/******************************************************************************/ |
|
50 |
|
|
51 |
/******************************************************************************/ |
|
52 |
/* DATA STRUCTURES AND TYPES */ |
|
53 |
/******************************************************************************/ |
|
54 |
|
|
39 | 55 |
/** |
40 | 56 |
* @brief The LIS331DLH driver struct |
41 | 57 |
*/ |
... | ... | |
242 | 258 |
uint8_t duration; |
243 | 259 |
} lis331dlh_lld_int_cfg_t; |
244 | 260 |
|
261 |
/******************************************************************************/ |
|
262 |
/* MACROS */ |
|
263 |
/******************************************************************************/ |
|
264 |
|
|
265 |
/******************************************************************************/ |
|
266 |
/* EXTERN DECLARATIONS */ |
|
267 |
/******************************************************************************/ |
|
268 |
|
|
245 | 269 |
#ifdef __cplusplus |
246 | 270 |
extern "C" { |
247 | 271 |
#endif |
... | ... | |
259 | 283 |
} |
260 | 284 |
#endif |
261 | 285 |
|
286 |
/******************************************************************************/ |
|
287 |
/* INLINE FUNCTIONS */ |
|
288 |
/******************************************************************************/ |
|
289 |
|
|
262 | 290 |
#endif /* defined(AMIROLLD_CFG_USE_LIS331DLH) */ |
263 | 291 |
|
264 | 292 |
#endif /* AMIROLLD_LIS331DLH_H */ |
Also available in: Unified diff