Convert osStatus to string

Dependents:   signal_test

Committer:
YasuhiroKawai
Date:
Sun Jul 23 02:26:54 2017 +0000
Revision:
2:55205e357147
Parent:
1:38e7b2a405d5
initial version

Who changed what in which revision?

UserRevisionLine numberNew 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 2:55205e357147 8 #define RTOS_ERR_STR_MINOR (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 */