-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhpm6750.svd
249 lines (246 loc) · 9.71 KB
/
hpm6750.svd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<?xml version="1.0" encoding="UTF-8"?>
<device schemaVersion="1.3" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd">
<vendor>HPMICRO</vendor>
<name>HPM6750</name>
<series>HPM6700/HPM6400</series>
<version>1.0</version>
<description>HPM6700/HPM6400 device</description>
<licenseText>
/*
* Copyright (c) 2021-2022 hpmicro
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
</licenseText>
<addressUnitBits>8</addressUnitBits>
<width>32</width>
<size>32</size>
<resetValue>0x0</resetValue>
<resetMask>0xFFFFFFFF</resetMask>
<peripherals>
<peripheral>
<name>IOC</name>
<description>Input/Output Control</description>
<baseAddress>0xf4040000</baseAddress>
<addressBlock>
<offset>0x0</offset>
<size>0xf64</size>
<usage>registers</usage>
</addressBlock>
<registers>
<cluster>
<dim>32</dim>
<dimIncrement>0x8</dimIncrement>
<dimName>pad</dimName>
<name>pad_a[%s]</name>
<description>Controller for input/output pad A</description>
<addressOffset>0x0</addressOffset>
<register>
<name>function</name>
<description>Select function for this pad</description>
<addressOffset>0x0</addressOffset>
<size>32</size>
<resetValue>0x00000000</resetValue>
<resetMask>0x0001011F</resetMask>
<fields>
<field>
<name>loop_back</name>
<description>Enable loop-back output into input</description>
<bitOffset>16</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<name>Enable</name>
<enumeratedValue>
<name>enable</name>
<description>Function enabled</description>
<value>1</value>
</enumeratedValue>
<enumeratedValue>
<name>disable</name>
<description>Function disabled</description>
<value>0</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>analog</name>
<description>Enable analog feature in pad</description>
<bitOffset>8</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues derivedFrom="loop_back.Enable" />
</field>
<field>
<name>alternate</name>
<description>Select alternate function for this pad</description>
<bitOffset>0</bitOffset>
<bitWidth>5</bitWidth>
</field>
</fields>
</register>
<register>
<name>config</name>
<description>Configurate pad settings</description>
<addressOffset>0x4</addressOffset>
<size>32</size>
<resetValue>0x00001010</resetValue>
<resetMask>0x00007817</resetMask>
<fields>
<field>
<name>voltage</name>
<description>Select pin voltage; only effective to high speed pads</description>
<bitOffset>14</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<name>Voltage</name>
<enumeratedValue>
<name>V3P3</name>
<description>3.3V</description>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>V1P8</name>
<description>1.8V</description>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>open_drain</name>
<description>Enable or disable open-drain output</description>
<bitOffset>13</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues derivedFrom="function.loop_back.Enable" />
</field>
<field>
<name>schmitt</name>
<description>schmitt trigger enable, only avaiable in high-speed IO</description>
<bitOffset>12</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues derivedFrom="function.loop_back.Enable" />
</field>
<field>
<name>pull_direction</name>
<description>Pull direction on this pad if pull enabled</description>
<bitOffset>11</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<name>Pull</name>
<enumeratedValue>
<name>up</name>
<description>This pad is internally pulled up</description>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>down</name>
<description>This pad is internally pulled down</description>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>pull_enable</name>
<description>Enable internal pull on this pin</description>
<bitOffset>4</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues derivedFrom="function.loop_back.Enable" />
</field>
<field>
<name>drive_strength</name>
<description>Pad drive strength, differs from pin type and voltage</description>
<bitOffset>0</bitOffset>
<bitWidth>3</bitWidth>
<enumeratedValues>
<name>DriveStrength</name>
<enumeratedValue>
<name>drive_0</name>
<description>85.61Ω on 3.3V high speed, 84.07Ω on 1.8V high speed, 4mA on normal pad</description>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>drive_1</name>
<description>61.2Ω on 3.3V high speed, 60.14Ω on 1.8V high speed, 8mA on normal pad</description>
<value>1</value>
</enumeratedValue>
<enumeratedValue>
<name>drive_2</name>
<description>42.88Ω on 3.3V high speed, 42.15Ω on 1.8V high speed, N/A on normal pad</description>
<value>2</value>
</enumeratedValue>
<enumeratedValue>
<name>drive_3</name>
<description>35.76Ω on 3.3V high speed, 35.19Ω on 1.8V high speed, 12mA on normal pad</description>
<value>3</value>
</enumeratedValue>
<enumeratedValue>
<name>drive_7</name>
<description>30.67Ω on 3.3V high speed, 30.2Ω on 1.8V high speed, N/A on normal pad</description>
<value>7</value>
</enumeratedValue>
</enumeratedValues>
</field>
</fields>
</register>
</cluster>
<cluster derivedFrom="pad_a[%s]">
<name>pad_b[%s]</name>
<description>Controller for input/output pad B</description>
<addressOffset>0x100</addressOffset>
</cluster>
<cluster derivedFrom="pad_a[%s]">
<name>pad_c[%s]</name>
<description>Controller for input/output pad C</description>
<addressOffset>0x200</addressOffset>
</cluster>
<cluster derivedFrom="pad_a[%s]">
<name>pad_d[%s]</name>
<description>Controller for input/output pad D</description>
<addressOffset>0x300</addressOffset>
</cluster>
<cluster derivedFrom="pad_a[%s]">
<name>pad_e[%s]</name>
<description>Controller for input/output pad E</description>
<addressOffset>0x400</addressOffset>
</cluster>
<cluster derivedFrom="pad_a[%s]">
<dim>11</dim>
<dimIncrement>0x8</dimIncrement>
<name>pad_f[%s]</name>
<description>Controller for input/output pad F</description>
<addressOffset>0x500</addressOffset>
</cluster>
<cluster derivedFrom="pad_a[%s]">
<dim>12</dim>
<dimIncrement>0x8</dimIncrement>
<name>pad_x[%s]</name>
<description>Controller for input/output pad X</description>
<addressOffset>0xd00</addressOffset>
</cluster>
<cluster derivedFrom="pad_a[%s]">
<dim>12</dim>
<dimIncrement>0x8</dimIncrement>
<name>pad_y[%s]</name>
<description>Controller for input/output pad Y</description>
<addressOffset>0xe00</addressOffset>
</cluster>
<cluster derivedFrom="pad_a[%s]">
<dim>12</dim>
<dimIncrement>0x8</dimIncrement>
<name>pad_z[%s]</name>
<description>Controller for input/output pad Z</description>
<addressOffset>0xf00</addressOffset>
</cluster>
</registers>
</peripheral>
<peripheral derivedFrom="IOC">
<name>PIOC</name>
<description>Power domain Input/Output Control</description>
<baseAddress>0xf40d8000</baseAddress>
</peripheral>
<peripheral derivedFrom="IOC">
<name>BIOC</name>
<description>Backup domain Input/Output Control</description>
<baseAddress>0xf5010000</baseAddress>
</peripheral>
</peripherals>
</device>