ecode.h
Go to the documentation of this file.00001
00034 #ifndef __SILICON_LABS_ECODE_H__
00035 #define __SILICON_LABS_ECODE_H__
00036
00037
00042
00050 typedef uint32_t Ecode_t;
00051
00052 #define ECODE_EMDRV_BASE ( 0xF0000000 ) ///< Base value for all EMDRV errorcodes.
00053
00054 #define ECODE_OK ( 0 ) ///< Generic success return value.
00055
00056 #define ECODE_EMDRV_RTCDRV_BASE ( ECODE_EMDRV_BASE | 0x00001000 ) ///< Base value for RTCDRV errorcodes.
00057 #define ECODE_EMDRV_SPIDRV_BASE ( ECODE_EMDRV_BASE | 0x00002000 ) ///< Base value for SPIDRV errorcodes.
00058 #define ECODE_EMDRV_NVM_BASE ( ECODE_EMDRV_BASE | 0x00003000 ) ///< Base value for NVM errorcodes.
00059
00062 #endif // __SILICON_LABS_ECODE_H__