Revision ef078306 include/alld_l3g4200d.h
| include/alld_l3g4200d.h | ||
|---|---|---|
| 31 | 31 |
|
| 32 | 32 |
#if defined(AMIROLLD_CFG_USE_L3G4200D) || defined(__DOXYGEN__) |
| 33 | 33 |
|
| 34 |
/******************************************************************************/ |
|
| 35 |
/* CONSTANTS */ |
|
| 36 |
/******************************************************************************/ |
|
| 37 |
|
|
| 34 | 38 |
/** |
| 35 | 39 |
* @brief A rising edge indicates an interrupt. |
| 36 | 40 |
*/ |
| 37 | 41 |
#define L3G4200D_LLD_INT_EDGE APAL_GPIO_EDGE_RISING |
| 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 L3G4200D driver struct |
| 41 | 57 |
*/ |
| ... | ... | |
| 299 | 315 |
} registers; |
| 300 | 316 |
} l3g4200d_lld_int_cfg_t; |
| 301 | 317 |
|
| 318 |
/******************************************************************************/ |
|
| 319 |
/* MACROS */ |
|
| 320 |
/******************************************************************************/ |
|
| 321 |
|
|
| 322 |
/******************************************************************************/ |
|
| 323 |
/* EXTERN DECLARATIONS */ |
|
| 324 |
/******************************************************************************/ |
|
| 325 |
|
|
| 302 | 326 |
#ifdef __cplusplus |
| 303 | 327 |
extern "C" {
|
| 304 | 328 |
#endif |
| ... | ... | |
| 319 | 343 |
} |
| 320 | 344 |
#endif |
| 321 | 345 |
|
| 346 |
/******************************************************************************/ |
|
| 347 |
/* INLINE FUNCTIONS */ |
|
| 348 |
/******************************************************************************/ |
|
| 349 |
|
|
| 322 | 350 |
#endif /* defined(AMIROLLD_CFG_USE_L3G4200D) */ |
| 323 | 351 |
|
| 324 | 352 |
#endif /* AMIROLLD_L3G4200D_H */ |
Also available in: Unified diff