1<?xml version="1.0" encoding="utf-8"?> 2<device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd"> 3 <peripheral> 4 <name>PTG</name> 5 <description>Pulse Train Generation</description> 6 <groupName>Pulse_Train</groupName> 7 <baseAddress>0x4003C000</baseAddress> 8 <size>32</size> 9 <access>read-write</access> 10 <addressBlock> 11 <offset>0</offset> 12 <size>0x0020</size> 13 <usage>registers</usage> 14 </addressBlock> 15 <interrupt> 16 <name>PT</name> 17 <description>Pulse Train IRQ</description> 18 <value>59</value> 19 </interrupt> 20 <registers> 21 <!-- ENABLE: Global Enable/Disable Controls for All Pulse Trains --> 22 <register> 23 <name>ENABLE</name> 24 <description>Global Enable/Disable Controls for All Pulse Trains</description> 25 <addressOffset>0x0000</addressOffset> 26 <access>read-write</access> 27 <fields> 28 <field> 29 <name>pt0</name> 30 <description>Enable/Disable control for PT0</description> 31 <bitOffset>0</bitOffset> 32 <bitWidth>1</bitWidth> 33 <access>read-write</access> 34 </field> 35 <field> 36 <name>pt1</name> 37 <description>Enable/Disable control for PT1</description> 38 <bitOffset>1</bitOffset> 39 <bitWidth>1</bitWidth> 40 <access>read-write</access> 41 </field> 42 <field> 43 <name>pt2</name> 44 <description>Enable/Disable control for PT2</description> 45 <bitOffset>2</bitOffset> 46 <bitWidth>1</bitWidth> 47 <access>read-write</access> 48 </field> 49 <field> 50 <name>pt3</name> 51 <description>Enable/Disable control for PT3</description> 52 <bitOffset>3</bitOffset> 53 <bitWidth>1</bitWidth> 54 <access>read-write</access> 55 </field> 56 <field> 57 <name>pt4</name> 58 <description>Enable/Disable control for PT4</description> 59 <bitOffset>4</bitOffset> 60 <bitWidth>1</bitWidth> 61 <access>read-write</access> 62 </field> 63 <field> 64 <name>pt5</name> 65 <description>Enable/Disable control for PT5</description> 66 <bitOffset>5</bitOffset> 67 <bitWidth>1</bitWidth> 68 <access>read-write</access> 69 </field> 70 <field> 71 <name>pt6</name> 72 <description>Enable/Disable control for PT6</description> 73 <bitOffset>6</bitOffset> 74 <bitWidth>1</bitWidth> 75 <access>read-write</access> 76 </field> 77 <field> 78 <name>pt7</name> 79 <description>Enable/Disable control for PT7</description> 80 <bitOffset>7</bitOffset> 81 <bitWidth>1</bitWidth> 82 <access>read-write</access> 83 </field> 84 </fields> 85 </register> 86 <!-- RESYNC: Global Resync (All Pulse Trains) Control --> 87 <register> 88 <name>RESYNC</name> 89 <description>Global Resync (All Pulse Trains) Control</description> 90 <addressOffset>0x0004</addressOffset> 91 <access>read-write</access> 92 <fields> 93 <field> 94 <name>pt0</name> 95 <description>Resync control for PT0</description> 96 <bitOffset>0</bitOffset> 97 <bitWidth>1</bitWidth> 98 <access>read-write</access> 99 </field> 100 <field> 101 <name>pt1</name> 102 <description>Resync control for PT1</description> 103 <bitOffset>1</bitOffset> 104 <bitWidth>1</bitWidth> 105 <access>read-write</access> 106 </field> 107 <field> 108 <name>pt2</name> 109 <description>Resync control for PT2</description> 110 <bitOffset>2</bitOffset> 111 <bitWidth>1</bitWidth> 112 <access>read-write</access> 113 </field> 114 <field> 115 <name>pt3</name> 116 <description>Resync control for PT3</description> 117 <bitOffset>3</bitOffset> 118 <bitWidth>1</bitWidth> 119 <access>read-write</access> 120 </field> 121 <field> 122 <name>pt4</name> 123 <description>Resync control for PT4</description> 124 <bitOffset>4</bitOffset> 125 <bitWidth>1</bitWidth> 126 <access>read-write</access> 127 </field> 128 <field> 129 <name>pt5</name> 130 <description>Resync control for PT5</description> 131 <bitOffset>5</bitOffset> 132 <bitWidth>1</bitWidth> 133 <access>read-write</access> 134 </field> 135 <field> 136 <name>pt6</name> 137 <description>Resync control for PT6</description> 138 <bitOffset>6</bitOffset> 139 <bitWidth>1</bitWidth> 140 <access>read-write</access> 141 </field> 142 <field> 143 <name>pt7</name> 144 <description>Resync control for PT7</description> 145 <bitOffset>7</bitOffset> 146 <bitWidth>1</bitWidth> 147 <access>read-write</access> 148 </field> 149 </fields> 150 </register> 151 <!-- INTFL: Pulse Train Interrupt Flags --> 152 <register> 153 <name>INTFL</name> 154 <description>Pulse Train Interrupt Flags</description> 155 <addressOffset>0x0008</addressOffset> 156 <access>read-write</access> 157 <fields> 158 <field> 159 <name>pt0</name> 160 <description>Pulse Train 0 Stopped Interrupt Flag</description> 161 <bitOffset>0</bitOffset> 162 <bitWidth>1</bitWidth> 163 <access>read-write</access> 164 </field> 165 <field> 166 <name>pt1</name> 167 <description>Pulse Train 1 Stopped Interrupt Flag</description> 168 <bitOffset>1</bitOffset> 169 <bitWidth>1</bitWidth> 170 <access>read-write</access> 171 </field> 172 <field> 173 <name>pt2</name> 174 <description>Pulse Train 2 Stopped Interrupt Flag</description> 175 <bitOffset>2</bitOffset> 176 <bitWidth>1</bitWidth> 177 <access>read-write</access> 178 </field> 179 <field> 180 <name>pt3</name> 181 <description>Pulse Train 3 Stopped Interrupt Flag</description> 182 <bitOffset>3</bitOffset> 183 <bitWidth>1</bitWidth> 184 <access>read-write</access> 185 </field> 186 <field> 187 <name>pt4</name> 188 <description>Pulse Train 4 Stopped Interrupt Flag</description> 189 <bitOffset>4</bitOffset> 190 <bitWidth>1</bitWidth> 191 <access>read-write</access> 192 </field> 193 <field> 194 <name>pt5</name> 195 <description>Pulse Train 5 Stopped Interrupt Flag</description> 196 <bitOffset>5</bitOffset> 197 <bitWidth>1</bitWidth> 198 <access>read-write</access> 199 </field> 200 <field> 201 <name>pt6</name> 202 <description>Pulse Train 6 Stopped Interrupt Flag</description> 203 <bitOffset>6</bitOffset> 204 <bitWidth>1</bitWidth> 205 <access>read-write</access> 206 </field> 207 <field> 208 <name>pt7</name> 209 <description>Pulse Train 7 Stopped Interrupt Flag</description> 210 <bitOffset>7</bitOffset> 211 <bitWidth>1</bitWidth> 212 <access>read-write</access> 213 </field> 214 </fields> 215 </register> 216 <!-- INTEN: Pulse Train Interrupt Enable/Disable --> 217 <register> 218 <name>INTEN</name> 219 <description>Pulse Train Interrupt Enable/Disable</description> 220 <addressOffset>0x000C</addressOffset> 221 <access>read-write</access> 222 <fields> 223 <field> 224 <name>pt0</name> 225 <description>Pulse Train 0 Stopped Interrupt Enable/Disable</description> 226 <bitOffset>0</bitOffset> 227 <bitWidth>1</bitWidth> 228 <access>read-write</access> 229 </field> 230 <field> 231 <name>pt1</name> 232 <description>Pulse Train 1 Stopped Interrupt Enable/Disable</description> 233 <bitOffset>1</bitOffset> 234 <bitWidth>1</bitWidth> 235 <access>read-write</access> 236 </field> 237 <field> 238 <name>pt2</name> 239 <description>Pulse Train 2 Stopped Interrupt Enable/Disable</description> 240 <bitOffset>2</bitOffset> 241 <bitWidth>1</bitWidth> 242 <access>read-write</access> 243 </field> 244 <field> 245 <name>pt3</name> 246 <description>Pulse Train 3 Stopped Interrupt Enable/Disable</description> 247 <bitOffset>3</bitOffset> 248 <bitWidth>1</bitWidth> 249 <access>read-write</access> 250 </field> 251 <field> 252 <name>pt4</name> 253 <description>Pulse Train 4 Stopped Interrupt Enable/Disable</description> 254 <bitOffset>4</bitOffset> 255 <bitWidth>1</bitWidth> 256 <access>read-write</access> 257 </field> 258 <field> 259 <name>pt5</name> 260 <description>Pulse Train 5 Stopped Interrupt Enable/Disable</description> 261 <bitOffset>5</bitOffset> 262 <bitWidth>1</bitWidth> 263 <access>read-write</access> 264 </field> 265 <field> 266 <name>pt6</name> 267 <description>Pulse Train 6 Stopped Interrupt Enable/Disable</description> 268 <bitOffset>6</bitOffset> 269 <bitWidth>1</bitWidth> 270 <access>read-write</access> 271 </field> 272 <field> 273 <name>pt7</name> 274 <description>Pulse Train 7 Stopped Interrupt Enable/Disable</description> 275 <bitOffset>7</bitOffset> 276 <bitWidth>1</bitWidth> 277 <access>read-write</access> 278 </field> 279 </fields> 280 </register> 281 <!--SAFE_EN: Pulse Train Global Safe Enable --> 282 <register> 283 <name>SAFE_EN</name> 284 <description>Pulse Train Global Safe Enable.</description> 285 <addressOffset>0x0010</addressOffset> 286 <access>write-only</access> 287 <fields> 288 <field> 289 <name>PT0</name> 290 <bitOffset>0</bitOffset> 291 <bitWidth>1</bitWidth> 292 <access>write-only</access> 293 </field> 294 <field> 295 <name>PT1</name> 296 <bitOffset>1</bitOffset> 297 <bitWidth>1</bitWidth> 298 <access>write-only</access> 299 </field> 300 <field> 301 <name>PT2</name> 302 <bitOffset>2</bitOffset> 303 <bitWidth>1</bitWidth> 304 <access>write-only</access> 305 </field> 306 <field> 307 <name>PT3</name> 308 <bitOffset>3</bitOffset> 309 <bitWidth>1</bitWidth> 310 <access>write-only</access> 311 </field> 312 <field> 313 <name>PT4</name> 314 <bitOffset>4</bitOffset> 315 <bitWidth>1</bitWidth> 316 <access>write-only</access> 317 </field> 318 <field> 319 <name>PT5</name> 320 <bitOffset>5</bitOffset> 321 <bitWidth>1</bitWidth> 322 <access>write-only</access> 323 </field> 324 <field> 325 <name>PT6</name> 326 <bitOffset>6</bitOffset> 327 <bitWidth>1</bitWidth> 328 <access>write-only</access> 329 </field> 330 <field> 331 <name>PT7</name> 332 <bitOffset>7</bitOffset> 333 <bitWidth>1</bitWidth> 334 <access>write-only</access> 335 </field> 336 </fields> 337 </register> 338 <!--SAFE_DIS: Pulse Train Global Safe Disable--> 339 <register> 340 <name>SAFE_DIS</name> 341 <description>Pulse Train Global Safe Disable.</description> 342 <addressOffset>0x0014</addressOffset> 343 <access>write-only</access> 344 <fields> 345 <field> 346 <name>PT0</name> 347 <bitOffset>0</bitOffset> 348 <bitWidth>1</bitWidth> 349 <access>write-only</access> 350 </field> 351 <field> 352 <name>PT1</name> 353 <bitOffset>1</bitOffset> 354 <bitWidth>1</bitWidth> 355 <access>write-only</access> 356 </field> 357 <field> 358 <name>PT2</name> 359 <bitOffset>2</bitOffset> 360 <bitWidth>1</bitWidth> 361 <access>write-only</access> 362 </field> 363 <field> 364 <name>PT3</name> 365 <bitOffset>3</bitOffset> 366 <bitWidth>1</bitWidth> 367 <access>write-only</access> 368 </field> 369 <field> 370 <name>PT4</name> 371 <bitOffset>4</bitOffset> 372 <bitWidth>1</bitWidth> 373 <access>write-only</access> 374 </field> 375 <field> 376 <name>PT5</name> 377 <bitOffset>5</bitOffset> 378 <bitWidth>1</bitWidth> 379 <access>write-only</access> 380 </field> 381 <field> 382 <name>PT6</name> 383 <bitOffset>6</bitOffset> 384 <bitWidth>1</bitWidth> 385 <access>write-only</access> 386 </field> 387 <field> 388 <name>PT7</name> 389 <bitOffset>7</bitOffset> 390 <bitWidth>1</bitWidth> 391 <access>write-only</access> 392 </field> 393 </fields> 394 </register> 395 </registers> 396 </peripheral> 397</device>