component/chipid.h
Go to the documentation of this file.
1 
31 /*
32  * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
33  */
34 
35 #ifndef _SAME70_CHIPID_COMPONENT_
36 #define _SAME70_CHIPID_COMPONENT_
37 
38 /* ============================================================================= */
40 /* ============================================================================= */
43 
44 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
45 
46 typedef struct {
47  __I uint32_t CHIPID_CIDR;
48  __I uint32_t CHIPID_EXID;
49 } Chipid;
50 #endif /* !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
51 /* -------- CHIPID_CIDR : (CHIPID Offset: 0x0) Chip ID Register -------- */
52 #define CHIPID_CIDR_VERSION_Pos 0
53 #define CHIPID_CIDR_VERSION_Msk (0x1fu << CHIPID_CIDR_VERSION_Pos)
54 #define CHIPID_CIDR_EPROC_Pos 5
55 #define CHIPID_CIDR_EPROC_Msk (0x7u << CHIPID_CIDR_EPROC_Pos)
56 #define CHIPID_CIDR_EPROC_SAMx7 (0x0u << 5)
57 #define CHIPID_CIDR_EPROC_ARM946ES (0x1u << 5)
58 #define CHIPID_CIDR_EPROC_ARM7TDMI (0x2u << 5)
59 #define CHIPID_CIDR_EPROC_CM3 (0x3u << 5)
60 #define CHIPID_CIDR_EPROC_ARM920T (0x4u << 5)
61 #define CHIPID_CIDR_EPROC_ARM926EJS (0x5u << 5)
62 #define CHIPID_CIDR_EPROC_CA5 (0x6u << 5)
63 #define CHIPID_CIDR_EPROC_CM4 (0x7u << 5)
64 #define CHIPID_CIDR_NVPSIZ_Pos 8
65 #define CHIPID_CIDR_NVPSIZ_Msk (0xfu << CHIPID_CIDR_NVPSIZ_Pos)
66 #define CHIPID_CIDR_NVPSIZ_NONE (0x0u << 8)
67 #define CHIPID_CIDR_NVPSIZ_8K (0x1u << 8)
68 #define CHIPID_CIDR_NVPSIZ_16K (0x2u << 8)
69 #define CHIPID_CIDR_NVPSIZ_32K (0x3u << 8)
70 #define CHIPID_CIDR_NVPSIZ_64K (0x5u << 8)
71 #define CHIPID_CIDR_NVPSIZ_128K (0x7u << 8)
72 #define CHIPID_CIDR_NVPSIZ_160K (0x8u << 8)
73 #define CHIPID_CIDR_NVPSIZ_256K (0x9u << 8)
74 #define CHIPID_CIDR_NVPSIZ_512K (0xAu << 8)
75 #define CHIPID_CIDR_NVPSIZ_1024K (0xCu << 8)
76 #define CHIPID_CIDR_NVPSIZ_2048K (0xEu << 8)
77 #define CHIPID_CIDR_NVPSIZ2_Pos 12
78 #define CHIPID_CIDR_NVPSIZ2_Msk (0xfu << CHIPID_CIDR_NVPSIZ2_Pos)
79 #define CHIPID_CIDR_NVPSIZ2_NONE (0x0u << 12)
80 #define CHIPID_CIDR_NVPSIZ2_8K (0x1u << 12)
81 #define CHIPID_CIDR_NVPSIZ2_16K (0x2u << 12)
82 #define CHIPID_CIDR_NVPSIZ2_32K (0x3u << 12)
83 #define CHIPID_CIDR_NVPSIZ2_64K (0x5u << 12)
84 #define CHIPID_CIDR_NVPSIZ2_128K (0x7u << 12)
85 #define CHIPID_CIDR_NVPSIZ2_256K (0x9u << 12)
86 #define CHIPID_CIDR_NVPSIZ2_512K (0xAu << 12)
87 #define CHIPID_CIDR_NVPSIZ2_1024K (0xCu << 12)
88 #define CHIPID_CIDR_NVPSIZ2_2048K (0xEu << 12)
89 #define CHIPID_CIDR_SRAMSIZ_Pos 16
90 #define CHIPID_CIDR_SRAMSIZ_Msk (0xfu << CHIPID_CIDR_SRAMSIZ_Pos)
91 #define CHIPID_CIDR_SRAMSIZ_48K (0x0u << 16)
92 #define CHIPID_CIDR_SRAMSIZ_192K (0x1u << 16)
93 #define CHIPID_CIDR_SRAMSIZ_384K (0x2u << 16)
94 #define CHIPID_CIDR_SRAMSIZ_6K (0x3u << 16)
95 #define CHIPID_CIDR_SRAMSIZ_24K (0x4u << 16)
96 #define CHIPID_CIDR_SRAMSIZ_4K (0x5u << 16)
97 #define CHIPID_CIDR_SRAMSIZ_80K (0x6u << 16)
98 #define CHIPID_CIDR_SRAMSIZ_160K (0x7u << 16)
99 #define CHIPID_CIDR_SRAMSIZ_8K (0x8u << 16)
100 #define CHIPID_CIDR_SRAMSIZ_16K (0x9u << 16)
101 #define CHIPID_CIDR_SRAMSIZ_32K (0xAu << 16)
102 #define CHIPID_CIDR_SRAMSIZ_64K (0xBu << 16)
103 #define CHIPID_CIDR_SRAMSIZ_128K (0xCu << 16)
104 #define CHIPID_CIDR_SRAMSIZ_256K (0xDu << 16)
105 #define CHIPID_CIDR_SRAMSIZ_96K (0xEu << 16)
106 #define CHIPID_CIDR_SRAMSIZ_512K (0xFu << 16)
107 #define CHIPID_CIDR_ARCH_Pos 20
108 #define CHIPID_CIDR_ARCH_Msk (0xffu << CHIPID_CIDR_ARCH_Pos)
109 #define CHIPID_CIDR_ARCH_SAME70 (0x10u << 20)
110 #define CHIPID_CIDR_ARCH_SAMS70 (0x11u << 20)
111 #define CHIPID_CIDR_ARCH_SAMV71 (0x12u << 20)
112 #define CHIPID_CIDR_ARCH_SAMV70 (0x13u << 20)
113 #define CHIPID_CIDR_NVPTYP_Pos 28
114 #define CHIPID_CIDR_NVPTYP_Msk (0x7u << CHIPID_CIDR_NVPTYP_Pos)
115 #define CHIPID_CIDR_NVPTYP_ROM (0x0u << 28)
116 #define CHIPID_CIDR_NVPTYP_ROMLESS (0x1u << 28)
117 #define CHIPID_CIDR_NVPTYP_FLASH (0x2u << 28)
118 #define CHIPID_CIDR_NVPTYP_ROM_FLASH (0x3u << 28)
119 #define CHIPID_CIDR_NVPTYP_SRAM (0x4u << 28)
120 #define CHIPID_CIDR_EXT (0x1u << 31)
121 /* -------- CHIPID_EXID : (CHIPID Offset: 0x4) Chip ID Extension Register -------- */
122 #define CHIPID_EXID_EXID_Pos 0
123 #define CHIPID_EXID_EXID_Msk (0xffffffffu << CHIPID_EXID_EXID_Pos)
126 
127 
128 #endif /* _SAME70_CHIPID_COMPONENT_ */
Chipid hardware registers.
__I uint32_t CHIPID_CIDR
(Chipid Offset: 0x0) Chip ID Register
__I uint32_t CHIPID_EXID
(Chipid Offset: 0x4) Chip ID Extension Register
#define __I
Definition: core_cm7.h:263


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:57