12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #ifndef _SAML11_IDAU_INSTANCE_H_
- #define _SAML11_IDAU_INSTANCE_H_
- #if (defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
- #define REG_IDAU_SECCTRL (0x41000001)
- #define REG_IDAU_SCFGB (0x41000004)
- #define REG_IDAU_SCFGA (0x41000008)
- #define REG_IDAU_SCFGR (0x4100000C)
- #else
- #define REG_IDAU_SECCTRL (*(__IO uint8_t*)0x41000001U)
- #define REG_IDAU_SCFGB (*(__IO uint32_t*)0x41000004U)
- #define REG_IDAU_SCFGA (*(__IO uint32_t*)0x41000008U)
- #define REG_IDAU_SCFGR (*(__IO uint8_t*)0x4100000CU)
- #endif
- #define IDAU_CRYA_AES_DECRYPT_T 0x02001908
- #define IDAU_CRYA_AES_ENCRYPT_T 0x02001904
- #define IDAU_CRYA_GF_MULT128 0x0200190C
- #define IDAU_CRYA_SHA_PROCESS 0x02001900
- #define IDAU_GRANULARITY_ANSC 0x20
- #define IDAU_GRANULARITY_AS 0x100
- #define IDAU_GRANULARITY_BNSC 0x20
- #define IDAU_GRANULARITY_BOOTPROT 0x100
- #define IDAU_GRANULARITY_BS 0x100
- #define IDAU_GRANULARITY_DS 0x100
- #define IDAU_GRANULARITY_RS 0x80
- #define IDAU_REGION_ANS 0x06
- #define IDAU_REGION_ANSC 0x05
- #define IDAU_REGION_AS 0x04
- #define IDAU_REGION_BNS 0x03
- #define IDAU_REGION_BNSC 0x02
- #define IDAU_REGION_BOOTROM 0x09
- #define IDAU_REGION_BS 0x01
- #define IDAU_REGION_DNS 0x08
- #define IDAU_REGION_DS 0x07
- #define IDAU_REGION_IOBUS 0x00
- #define IDAU_REGION_OTHER 0x00
- #define IDAU_REGION_PERIPHERALS 0x00
- #define IDAU_REGION_RNS 0x0B
- #define IDAU_REGION_RS 0x0A
- #define IDAU_INSTANCE_ID 32
- #endif
|