Revision ef078306 include/alld_a3906.h
include/alld_a3906.h | ||
---|---|---|
31 | 31 |
|
32 | 32 |
#if defined(AMIROLLD_CFG_USE_A3906) || defined(__DOXYGEN__) |
33 | 33 |
|
34 |
/******************************************************************************/ |
|
35 |
/* CONSTANTS */ |
|
36 |
/******************************************************************************/ |
|
37 |
|
|
34 | 38 |
/** |
35 | 39 |
* @brief Active state of power pin. |
36 | 40 |
*/ |
37 | 41 |
#define A3906_LLD_POWER_PIN_ACTIVE_STATE APAL_GPIO_ACTIVE_HIGH |
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 A3906 driver struct. |
41 | 57 |
*/ |
... | ... | |
51 | 67 |
A3906_LLD_POWER_ON = 0x01, /**< 'power on' state */ |
52 | 68 |
} a3906_lld_power_t; |
53 | 69 |
|
70 |
/******************************************************************************/ |
|
71 |
/* MACROS */ |
|
72 |
/******************************************************************************/ |
|
73 |
|
|
74 |
/******************************************************************************/ |
|
75 |
/* EXTERN DECLARATIONS */ |
|
76 |
/******************************************************************************/ |
|
54 | 77 |
|
55 | 78 |
#ifdef __cplusplus |
56 | 79 |
extern "C" { |
... | ... | |
62 | 85 |
} |
63 | 86 |
#endif |
64 | 87 |
|
88 |
/******************************************************************************/ |
|
89 |
/* INLINE FUNCTIONS */ |
|
90 |
/******************************************************************************/ |
|
91 |
|
|
65 | 92 |
#endif /* defined(AMIROLLD_CFG_USE_A3906) */ |
66 | 93 |
|
67 | 94 |
#endif /* AMIROLLD_A3906_H */ |
Also available in: Unified diff