Revision 1678f270 core/inc/aos_types.h

View differences:

core/inc/aos_types.h
1 1
/*
2 2
AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform.
3
Copyright (C) 2016..2018  Thomas Schöpping et al.
3
Copyright (C) 2016..2019  Thomas Schöpping et al.
4 4

  
5 5
This program is free software: you can redistribute it and/or modify
6 6
it under the terms of the GNU General Public License as published by
......
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