Revision dada2194 core/inc/aos_types.h

View differences:

core/inc/aos_types.h
28 28
#define _AMIROOS_TYPES_H_
29 29

  
30 30
/**
31
 * @brief   Converts a GPIO pad number to a unique event flag.
32
 */
33
#define AOS_IOEVENT_FLAG(pad)                   ((eventflags_t)1 << pad)
34

  
35
/**
31 36
 * @brief   Error codes used in AMiRo-OS.
32 37
 */
33 38
typedef enum {

Also available in: Unified diff