Revision ef078306 include/alld_tps2051bdbv.h
| include/alld_tps2051bdbv.h | ||
|---|---|---|
| 31 | 31 |
|
| 32 | 32 |
#if defined(AMIROLLD_CFG_USE_TPS2051BDBV) || defined(__DOXYGEN__) |
| 33 | 33 |
|
| 34 |
/******************************************************************************/ |
|
| 35 |
/* CONSTANTS */ |
|
| 36 |
/******************************************************************************/ |
|
| 37 |
|
|
| 34 | 38 |
/** |
| 35 | 39 |
* @brief Enable pin active state. |
| 36 | 40 |
*/ |
| ... | ... | |
| 41 | 45 |
*/ |
| 42 | 46 |
#define TPS2051B_LLD_OVERCURRENT_ACTIVE_STATE APAL_GPIO_ACTIVE_LOW |
| 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 TPS2051B driver struct. |
| 46 | 62 |
*/ |
| ... | ... | |
| 65 | 81 |
TPS2051B_LLD_NO_OVERCURRENT = 0x00, |
| 66 | 82 |
} tps2051b_lld_overcurrent_t; |
| 67 | 83 |
|
| 84 |
/******************************************************************************/ |
|
| 85 |
/* MACROS */ |
|
| 86 |
/******************************************************************************/ |
|
| 87 |
|
|
| 88 |
/******************************************************************************/ |
|
| 89 |
/* EXTERN DECLARATIONS */ |
|
| 90 |
/******************************************************************************/ |
|
| 91 |
|
|
| 68 | 92 |
#ifdef __cplusplus |
| 69 | 93 |
extern "C" {
|
| 70 | 94 |
#endif |
| ... | ... | |
| 75 | 99 |
} |
| 76 | 100 |
#endif |
| 77 | 101 |
|
| 102 |
/******************************************************************************/ |
|
| 103 |
/* INLINE FUNCTIONS */ |
|
| 104 |
/******************************************************************************/ |
|
| 105 |
|
|
| 78 | 106 |
#endif /* defined(AMIROLLD_CFG_USE_TPS2051BDBV) */ |
| 79 | 107 |
|
| 80 | 108 |
#endif /* AMIROLLD_TPS2051B_H */ |
Also available in: Unified diff