Revision dada2194 modules/LightRing_1-0/module.h

View differences:

modules/LightRing_1-0/module.h
158 158
/**
159 159
 * @brief   Event flag to be set on a LASER_OC interrupt.
160 160
 */
161
#define MODULE_OS_IOEVENTFLAGS_LASEROC          ((eventflags_t)1 << GPIOB_LASER_OC_N)
161
#define MODULE_OS_IOEVENTFLAGS_LASEROC          AOS_IOEVENT_FLAG(GPIOB_LASER_OC_N)
162 162

  
163 163
/**
164 164
 * @brief   Event flag to be set on a SYS_UART_DN interrupt.
165 165
 */
166
#define MODULE_OS_IOEVENTFLAGS_SYSUARTDN        ((eventflags_t)1 << GPIOB_SYS_UART_DN)
166
#define MODULE_OS_IOEVENTFLAGS_SYSUARTDN        AOS_IOEVENT_FLAG(GPIOB_SYS_UART_DN)
167 167

  
168 168
/**
169 169
 * @brief   Event flag to be set on a WL_GDO2 interrupt.
170 170
 */
171
#define MODULE_OS_IOEVENTFLAGS_WLGDO2           ((eventflags_t)1 << GPIOB_WL_GDO2)
171
#define MODULE_OS_IOEVENTFLAGS_WLGDO2           AOS_IOEVENT_FLAG(GPIOB_WL_GDO2)
172 172

  
173 173
/**
174 174
 * @brief   Event flag to be set on a WL_GDO0 interrupt.
175 175
 */
176
#define MODULE_OS_IOEVENTFLAGS_WLGDO0           ((eventflags_t)1 << GPIOB_WL_GDO0)
176
#define MODULE_OS_IOEVENTFLAGS_WLGDO0           AOS_IOEVENT_FLAG(GPIOB_WL_GDO0)
177 177

  
178 178
/**
179 179
 * @brief   Event flag to be set on a SYS_PD interrupt.
180 180
 */
181
#define MODULE_OS_IOEVENTFLAGS_SYSPD            ((eventflags_t)1 << GPIOC_SYS_PD_N)
181
#define MODULE_OS_IOEVENTFLAGS_SYSPD            AOS_IOEVENT_FLAG(GPIOC_SYS_PD_N)
182 182

  
183 183
/**
184 184
 * @brief   Event flag to be set on a SYS_SYNC interrupt.
185 185
 */
186
#define MODULE_OS_IOEVENTFLAGS_SYSSYNC          ((eventflags_t)1 << GPIOD_SYS_INT_N)
186
#define MODULE_OS_IOEVENTFLAGS_SYSSYNC          AOS_IOEVENT_FLAG(GPIOD_SYS_INT_N)
187 187

  
188 188
#if (AMIROOS_CFG_SHELL_ENABLE == true) || defined(__DOXYGEN__)
189 189
/**

Also available in: Unified diff