Convert osStatus to string
RTOSerrstr.h@1:38e7b2a405d5, 2017-06-12 (annotated)
- Committer:
- YasuhiroKawai
- Date:
- Mon Jun 12 06:05:24 2017 +0000
- Revision:
- 1:38e7b2a405d5
- Parent:
- 0:3dc7afd73ac9
- Child:
- 2:55205e357147
Initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
YasuhiroKawai | 0:3dc7afd73ac9 | 1 | /** |
YasuhiroKawai | 0:3dc7afd73ac9 | 2 | * |
YasuhiroKawai | 0:3dc7afd73ac9 | 3 | */ |
YasuhiroKawai | 1:38e7b2a405d5 | 4 | #ifndef RTOS_ERR_STR_H |
YasuhiroKawai | 1:38e7b2a405d5 | 5 | #define RTOS_ERR_STR_H |
YasuhiroKawai | 1:38e7b2a405d5 | 6 | |
YasuhiroKawai | 1:38e7b2a405d5 | 7 | #define RTOS_ERR_STR_MAJOR (0) |
YasuhiroKawai | 1:38e7b2a405d5 | 8 | #define RTOS_ERR_STR_MAJOR (1) |
YasuhiroKawai | 0:3dc7afd73ac9 | 9 | |
YasuhiroKawai | 0:3dc7afd73ac9 | 10 | #ifdef __cplusplus |
YasuhiroKawai | 0:3dc7afd73ac9 | 11 | extern "C" { |
YasuhiroKawai | 0:3dc7afd73ac9 | 12 | #endif /* __cplusplus */ |
YasuhiroKawai | 0:3dc7afd73ac9 | 13 | /** |
YasuhiroKawai | 0:3dc7afd73ac9 | 14 | * @fn getOsStatusStr |
YasuhiroKawai | 0:3dc7afd73ac9 | 15 | * @param [in] status |
YasuhiroKawai | 0:3dc7afd73ac9 | 16 | */ |
YasuhiroKawai | 0:3dc7afd73ac9 | 17 | extern const char * getOsStatusStr(osStatus status); |
YasuhiroKawai | 0:3dc7afd73ac9 | 18 | |
YasuhiroKawai | 0:3dc7afd73ac9 | 19 | #ifdef __cplusplus |
YasuhiroKawai | 0:3dc7afd73ac9 | 20 | } |
YasuhiroKawai | 1:38e7b2a405d5 | 21 | #endif /* __cplusplus */ |
YasuhiroKawai | 1:38e7b2a405d5 | 22 | |
YasuhiroKawai | 1:38e7b2a405d5 | 23 | #endif /* RTOS_ERR_STR_H */ |