Revision a5507edc templates/periphAL.h

View differences:

templates/periphAL.h
35 35
 * @brief   The periphery abstraction layer interface minor version.
36 36
 * @note    A higher minor version implies new functionalty, but all old interfaces are still available.
37 37
 */
38
#define PERIPHAL_VERSION_MINOR    0
38
#define PERIPHAL_VERSION_MINOR    1
39 39

  
40 40
/*============================================================================*/
41 41
/* DEPENDENCIES                                                               */
......
100 100
apalExitStatus_t apalGpioToggle(apalGpio_t* gpio);
101 101

  
102 102
/**
103
 * @brief Return the interrupt enable status of the GPIO.
104
 *
105
 * @param[in]   gpio      GPIO to check.
106
 * @param[out]  enabled   Flag, indicating whether interrupt is enabled for the GPIO.
107
 *
108
 * @return The status indicates whether the function call was successful.
109
 */
110
static inline apalExitStatus_t apalGpioIsInterruptEnabled(apalGpio_t* gpio, bool* const enabled)
111

  
112
/**
103 113
 * @brief Get the current on/off state of a control GPIO.
104 114
 *
105 115
 * @param[in]   gpio  Control GPIO to read.
......
119 129
 */
120 130
apalExitStatus_t apalControlGpioSet(const apalControlGpio_t* const cgpio, const apalControlGpioState_t val);
121 131

  
132
/**
133
 * @brief   Enable or disable the interrupt event functionality.
134
 *
135
 * @param[in] cgpio   Control GPIO to set.
136
 * @param[in] enable  Flag, indicating whether the interrupt shall be activated (true) or deactivated (false).
137
 *
138
 * @return The status indicates whether the function call was successful.
139
 */
140
apalExitStatus_t apalControlGpioSetInterrupt(apalControlGpio_t* const cgpio, const bool enable);
141

  
122 142
#ifdef __cplusplus
123 143
}
124 144
#endif

Also available in: Unified diff