EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
ecode.h
Go to the documentation of this file.
1 /***************************************************************************/
15 #ifndef __SILICON_LABS_ECODE_H__
16 #define __SILICON_LABS_ECODE_H__
17 
18 /***************************************************************************/
43 /***************************************************************************/
51 typedef uint32_t Ecode_t;
52 
53 #define ECODE_EMDRV_BASE ( 0xF0000000 )
54 
55 #define ECODE_OK ( 0 )
56 
57 #define ECODE_EMDRV_RTCDRV_BASE ( ECODE_EMDRV_BASE | 0x00001000 )
58 #define ECODE_EMDRV_SPIDRV_BASE ( ECODE_EMDRV_BASE | 0x00002000 )
59 #define ECODE_EMDRV_NVM_BASE ( ECODE_EMDRV_BASE | 0x00003000 )
60 #define ECODE_EMDRV_USTIMER_BASE ( ECODE_EMDRV_BASE | 0x00004000 )
61 #define ECODE_EMDRV_AESDRV_BASE ( ECODE_EMDRV_BASE | 0x00005000 )
62 #define ECODE_EMDRV_ECC_BASE ( ECODE_EMDRV_BASE | 0x00006000 )
63 #define ECODE_EMDRV_UARTDRV_BASE ( ECODE_EMDRV_BASE | 0x00007000 )
64 #define ECODE_EMDRV_DMADRV_BASE ( ECODE_EMDRV_BASE | 0x00008000 )
65 #define ECODE_EMDRV_EZRADIODRV_BASE ( ECODE_EMDRV_BASE | 0x00009000 )
66 #define ECODE_EMDRV_SHADRV_BASE ( ECODE_EMDRV_BASE | 0x0000A000 )
67 #define ECODE_EMDRV_RSADRV_BASE ( ECODE_EMDRV_BASE | 0x0000B000 )
68 #define ECODE_EMDRV_CRYPTO_BASE ( ECODE_EMDRV_BASE | 0x0000C000 )
69 #define ECODE_EMDRV_TEMPDRV_BASE ( ECODE_EMDRV_BASE | 0x0000D000 )
70 
71 
73 #endif // __SILICON_LABS_ECODE_H__
uint32_t Ecode_t
Typedef for API function error code return values.
Definition: ecode.h:51