Revision ef078306 include/alld_bq24103a.h
| include/alld_bq24103a.h | ||
|---|---|---|
| 31 | 31 |
|
| 32 | 32 |
#if defined(AMIROLLD_CFG_USE_BQ24103A) || defined(__DOXYGEN__) |
| 33 | 33 |
|
| 34 |
/******************************************************************************/ |
|
| 35 |
/* CONSTANTS */ |
|
| 36 |
/******************************************************************************/ |
|
| 37 |
|
|
| 34 | 38 |
/** |
| 35 | 39 |
* @brief Active state of enabled gpio. |
| 36 | 40 |
*/ |
| ... | ... | |
| 41 | 45 |
*/ |
| 42 | 46 |
#define BQ24103A_LLD_CHARGE_STATUS_GPIO_ACTIVE_STATE APAL_GPIO_ACTIVE_HIGH |
| 43 | 47 |
|
| 48 |
/******************************************************************************/ |
|
| 49 |
/* SETTINGS */ |
|
| 50 |
/******************************************************************************/ |
|
| 51 |
|
|
| 52 |
/******************************************************************************/ |
|
| 53 |
/* CHECKS */ |
|
| 54 |
/******************************************************************************/ |
|
| 55 |
|
|
| 56 |
/******************************************************************************/ |
|
| 57 |
/* DATA STRUCTURES AND TYPES */ |
|
| 58 |
/******************************************************************************/ |
|
| 59 |
|
|
| 44 | 60 |
/** |
| 45 | 61 |
* @brief The BQ24103A driver struct. |
| 46 | 62 |
*/ |
| ... | ... | |
| 65 | 81 |
BQ24103A_LLD_NOT_CHARGING = 0x00, /**< @brife status indicating that the battery is not being charged */ |
| 66 | 82 |
} bq24103a_lld_charge_state_t; |
| 67 | 83 |
|
| 84 |
/******************************************************************************/ |
|
| 85 |
/* MACROS */ |
|
| 86 |
/******************************************************************************/ |
|
| 87 |
|
|
| 88 |
/******************************************************************************/ |
|
| 89 |
/* EXTERN DECLARATIONS */ |
|
| 90 |
/******************************************************************************/ |
|
| 68 | 91 |
|
| 69 | 92 |
#ifdef __cplusplus |
| 70 | 93 |
extern "C" {
|
| ... | ... | |
| 76 | 99 |
} |
| 77 | 100 |
#endif |
| 78 | 101 |
|
| 102 |
/******************************************************************************/ |
|
| 103 |
/* INLINE FUNCTIONS */ |
|
| 104 |
/******************************************************************************/ |
|
| 105 |
|
|
| 79 | 106 |
#endif /* defined(AMIROLLD_CFG_USE_BQ24103A) */ |
| 80 | 107 |
|
| 81 | 108 |
#endif /* AMIROLLD_BQ24103A_H */ |
Also available in: Unified diff