Revision ef078306 include/alld_bq27500.h
| include/alld_bq27500.h | ||
|---|---|---|
| 31 | 31 |
|
| 32 | 32 |
#if defined(AMIROLLD_CFG_USE_BQ27500) || defined(__DOXYGEN__) |
| 33 | 33 |
|
| 34 |
/******************************************************************************/ |
|
| 35 |
/* CONSTANTS */ |
|
| 36 |
/******************************************************************************/ |
|
| 37 |
|
|
| 34 | 38 |
/** |
| 35 | 39 |
* @brief fixed I2C address |
| 36 | 40 |
*/ |
| ... | ... | |
| 61 | 65 |
*/ |
| 62 | 66 |
#define BQ27500_LLD_BATGOOD_ACTIVE_STATE APAL_GPIO_ACTIVE_LOW |
| 63 | 67 |
|
| 68 |
/******************************************************************************/ |
|
| 69 |
/* SETTINGS */ |
|
| 70 |
/******************************************************************************/ |
|
| 71 |
|
|
| 72 |
/******************************************************************************/ |
|
| 73 |
/* CHECKS */ |
|
| 74 |
/******************************************************************************/ |
|
| 75 |
|
|
| 76 |
/******************************************************************************/ |
|
| 77 |
/* DATA STRUCTURES AND TYPES */ |
|
| 78 |
/******************************************************************************/ |
|
| 79 |
|
|
| 64 | 80 |
/** |
| 65 | 81 |
* @brief Possible standard commands. |
| 66 | 82 |
*/ |
| ... | ... | |
| 229 | 245 |
BQ27500_LLD_BATTERY_NOT_GOOD = 0x00, |
| 230 | 246 |
} bq27500_lld_batgood_t; |
| 231 | 247 |
|
| 248 |
/******************************************************************************/ |
|
| 249 |
/* MACROS */ |
|
| 250 |
/******************************************************************************/ |
|
| 251 |
|
|
| 252 |
/******************************************************************************/ |
|
| 253 |
/* EXTERN DECLARATIONS */ |
|
| 254 |
/******************************************************************************/ |
|
| 255 |
|
|
| 232 | 256 |
#ifdef __cplusplus |
| 233 | 257 |
extern "C" {
|
| 234 | 258 |
#endif |
| ... | ... | |
| 244 | 268 |
} |
| 245 | 269 |
#endif |
| 246 | 270 |
|
| 271 |
/******************************************************************************/ |
|
| 272 |
/* INLINE FUNCTIONS */ |
|
| 273 |
/******************************************************************************/ |
|
| 274 |
|
|
| 247 | 275 |
#endif /* defined(AMIROLLD_CFG_USE_BQ27500) */ |
| 248 | 276 |
|
| 249 | 277 |
#endif /* AMIROLLD_BQ27500_H */ |
Also available in: Unified diff