Revision ef078306 include/alld_pca9544a.h
| include/alld_pca9544a.h | ||
|---|---|---|
| 31 | 31 |
|
| 32 | 32 |
#if defined(AMIROLLD_CFG_USE_PCA9544A) || defined(__DOXYGEN__) |
| 33 | 33 |
|
| 34 |
/******************************************************************************/ |
|
| 35 |
/* CONSTANTS */ |
|
| 36 |
/******************************************************************************/ |
|
| 37 |
|
|
| 34 | 38 |
/** |
| 35 | 39 |
* @brief Maximum I2C frequency. |
| 36 | 40 |
*/ |
| 37 | 41 |
#define PCA9544A_LLD_I2C_MAXFREQUENCY 400000 |
| 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 PCA9544ADriver struct |
| 41 | 57 |
*/ |
| ... | ... | |
| 94 | 110 |
|
| 95 | 111 |
typedef uint8_t pca9544a_lld_intstatus_t; |
| 96 | 112 |
|
| 113 |
/******************************************************************************/ |
|
| 114 |
/* MACROS */ |
|
| 115 |
/******************************************************************************/ |
|
| 116 |
|
|
| 117 |
/******************************************************************************/ |
|
| 118 |
/* EXTERN DECLARATIONS */ |
|
| 119 |
/******************************************************************************/ |
|
| 120 |
|
|
| 97 | 121 |
#ifdef __cplusplus |
| 98 | 122 |
extern "C" {
|
| 99 | 123 |
#endif |
| ... | ... | |
| 106 | 130 |
} |
| 107 | 131 |
#endif |
| 108 | 132 |
|
| 133 |
/******************************************************************************/ |
|
| 134 |
/* INLINE FUNCTIONS */ |
|
| 135 |
/******************************************************************************/ |
|
| 136 |
|
|
| 109 | 137 |
#endif /* defined(AMIROLLD_CFG_USE_PCA9544A) */ |
| 110 | 138 |
|
| 111 | 139 |
#endif /* AMIROLLD_PCA9544A_H */ |
Also available in: Unified diff