| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (c) 2020 Raspberry Pi (Trading) Ltd. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
| --> |
| <device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd"> |
| <vendor>Raspberry Pi</vendor> |
| <name>RP2040</name> |
| <version>0.1</version> |
| <description> |
| Dual-core Arm Cortex-M0+ processor, flexible clock running up to 133 MHz\n |
| 264KB on-chip SRAM\n |
| 2 x UART, 2 x SPI controllers, 2 x I2C controllers, 16 x PWM channels\n |
| 1 x USB 1.1 controller and PHY, with host and device support\n |
| 8 x Programmable I/O (PIO) state machines for custom peripheral support\n |
| Supported input power 1.8-5.5V DC\n |
| Operating temperature -20C to +85C\n |
| Drag-and-drop programming using mass storage over USB\n |
| Low-power sleep and dormant modes\n |
| Accurate on-chip clock\n |
| Temperature sensor\n |
| Accelerated integer and floating-point libraries on-chip |
| </description> |
| <licenseText> |
| Copyright (c) 2020 Raspberry Pi (Trading) Ltd.\n |
| \n |
| SPDX-License-Identifier: BSD-3-Clause |
| </licenseText> |
| <cpu> |
| <name>CM0PLUS</name> |
| <revision>r0p1</revision> |
| <endian>little</endian> |
| <mpuPresent>true</mpuPresent> |
| <fpuPresent>false</fpuPresent> |
| <vtorPresent>1</vtorPresent> |
| <nvicPrioBits>2</nvicPrioBits> |
| <vendorSystickConfig>false</vendorSystickConfig> |
| <deviceNumInterrupts>26</deviceNumInterrupts> |
| </cpu> |
| <addressUnitBits>8</addressUnitBits> |
| <width>32</width> |
| <peripherals> |
| <peripheral> |
| <name>XIP_CTRL</name> |
| <version>1</version> |
| <description>QSPI flash execute-in-place block</description> |
| <baseAddress>0x14000000</baseAddress> |
| <size>32</size> |
| <addressBlock> |
| <offset>0</offset> |
| <size>0x0020</size> |
| <usage>registers</usage> |
| </addressBlock> |
| <interrupt> |
| <name>XIP_IRQ</name> |
| <value>6</value> |
| </interrupt> |
| <registers> |
| <register> |
| <name>CTRL</name> |
| <description>Cache control</description> |
| <addressOffset>0x0000</addressOffset> |
| <resetValue>0x00000003</resetValue> |
| <fields> |
| <field> |
| <name>POWER_DOWN</name> |
| <description>When 1, the cache memories are powered down. They retain state,\n |
| but can not be accessed. This reduces static power dissipation.\n |
| Writing 1 to this bit forces CTRL_EN to 0, i.e. the cache cannot\n |
| be enabled when powered down.\n |
| Cache-as-SRAM accesses will produce a bus error response when\n |
| the cache is powered down.</description> |
| <bitRange>[3:3]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ERR_BADWRITE</name> |
| <description>When 1, writes to any alias other than 0x0 (caching, allocating)\n |
| will produce a bus fault. When 0, these writes are silently ignored.\n |
| In either case, writes to the 0x0 alias will deallocate on tag match,\n |
| as usual.</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>EN</name> |
| <description>When 1, enable the cache. When the cache is disabled, all XIP accesses\n |
| will go straight to the flash, without querying the cache. When enabled,\n |
| cacheable XIP accesses will query the cache, and the flash will\n |
| not be accessed if the tag matches and the valid bit is set.\n\n |
| If the cache is enabled, cache-as-SRAM accesses have no effect on the\n |
| cache data RAM, and will produce a bus error response.</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FLUSH</name> |
| <description>Cache Flush control</description> |
| <addressOffset>0x0004</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>FLUSH</name> |
| <description>Write 1 to flush the cache. This clears the tag memory, but\n |
| the data memory retains its contents. (This means cache-as-SRAM\n |
| contents is not affected by flush or reset.)\n |
| Reading will hold the bus (stall the processor) until the flush\n |
| completes. Alternatively STAT can be polled until completion.</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| <modifiedWriteValues>clear</modifiedWriteValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>STAT</name> |
| <description>Cache Status</description> |
| <addressOffset>0x0008</addressOffset> |
| <resetValue>0x00000002</resetValue> |
| <fields> |
| <field> |
| <name>FIFO_FULL</name> |
| <description>When 1, indicates the XIP streaming FIFO is completely full.\n |
| The streaming FIFO is 2 entries deep, so the full and empty\n |
| flag allow its level to be ascertained.</description> |
| <bitRange>[2:2]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>FIFO_EMPTY</name> |
| <description>When 1, indicates the XIP streaming FIFO is completely empty.</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>FLUSH_READY</name> |
| <description>Reads as 0 while a cache flush is in progress, and 1 otherwise.\n |
| The cache is flushed whenever the XIP block is reset, and also\n |
| when requested via the FLUSH register.</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CTR_HIT</name> |
| <description>Cache Hit counter\n |
| A 32 bit saturating counter that increments upon each cache hit,\n |
| i.e. when an XIP access is serviced directly from cached data.\n |
| Write any value to clear.</description> |
| <addressOffset>0x000c</addressOffset> |
| <access>read-write</access> |
| <resetValue>0x00000000</resetValue> |
| <modifiedWriteValues>oneToClear</modifiedWriteValues> |
| </register> |
| <register> |
| <name>CTR_ACC</name> |
| <description>Cache Access counter\n |
| A 32 bit saturating counter that increments upon each XIP access,\n |
| whether the cache is hit or not. This includes noncacheable accesses.\n |
| Write any value to clear.</description> |
| <addressOffset>0x0010</addressOffset> |
| <access>read-write</access> |
| <resetValue>0x00000000</resetValue> |
| <modifiedWriteValues>oneToClear</modifiedWriteValues> |
| </register> |
| <register> |
| <name>STREAM_ADDR</name> |
| <description>FIFO stream address</description> |
| <addressOffset>0x0014</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>STREAM_ADDR</name> |
| <description>The address of the next word to be streamed from flash to the streaming FIFO.\n |
| Increments automatically after each flash access.\n |
| Write the initial access address here before starting a streaming read.</description> |
| <bitRange>[31:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>STREAM_CTR</name> |
| <description>FIFO stream control</description> |
| <addressOffset>0x0018</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>STREAM_CTR</name> |
| <description>Write a nonzero value to start a streaming read. This will then\n |
| progress in the background, using flash idle cycles to transfer\n |
| a linear data block from flash to the streaming FIFO.\n |
| Decrements automatically (1 at a time) as the stream\n |
| progresses, and halts on reaching 0.\n |
| Write 0 to halt an in-progress stream, and discard any in-flight\n |
| read, so that a new stream can immediately be started (after\n |
| draining the FIFO and reinitialising STREAM_ADDR)</description> |
| <bitRange>[21:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>STREAM_FIFO</name> |
| <description>FIFO stream data\n |
| Streamed data is buffered here, for retrieval by the system DMA.\n |
| This FIFO can also be accessed via the XIP_AUX slave, to avoid exposing\n |
| the DMA to bus stalls caused by other XIP traffic.</description> |
| <addressOffset>0x001c</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000000</resetValue> |
| </register> |
| </registers> |
| </peripheral> |
| <peripheral> |
| <name>XIP_SSI</name> |
| <version>1</version> |
| <description>DW_apb_ssi has the following features:\n |
| * APB interface - Allows for easy integration into a DesignWare Synthesizable Components for AMBA 2 implementation.\n |
| * APB3 and APB4 protocol support.\n |
| * Scalable APB data bus width - Supports APB data bus widths of 8, 16, and 32 bits.\n |
| * Serial-master or serial-slave operation - Enables serial communication with serial-master or serial-slave peripheral devices.\n |
| * Programmable Dual/Quad/Octal SPI support in Master Mode.\n |
| * Dual Data Rate (DDR) and Read Data Strobe (RDS) Support - Enables the DW_apb_ssi master to perform operations with the device in DDR and RDS modes when working in Dual/Quad/Octal mode of operation.\n |
| * Data Mask Support - Enables the DW_apb_ssi to selectively update the bytes in the device. This feature is applicable only in enhanced SPI modes.\n |
| * eXecute-In-Place (XIP) support - Enables the DW_apb_ssi master to behave as a memory mapped I/O and fetches the data from the device based on the APB read request. This feature is applicable only in enhanced SPI modes.\n |
| * DMA Controller Interface - Enables the DW_apb_ssi to interface to a DMA controller over the bus using a handshaking interface for transfer requests.\n |
| * Independent masking of interrupts - Master collision, transmit FIFO overflow, transmit FIFO empty, receive FIFO full, receive FIFO underflow, and receive FIFO overflow interrupts can all be masked independently.\n |
| * Multi-master contention detection - Informs the processor of multiple serial-master accesses on the serial bus.\n |
| * Bypass of meta-stability flip-flops for synchronous clocks - When the APB clock (pclk) and the DW_apb_ssi serial clock (ssi_clk) are synchronous, meta-stable flip-flops are not used when transferring control signals across these clock domains.\n |
| * Programmable delay on the sample time of the received serial data bit (rxd); enables programmable control of routing delays resulting in higher serial data-bit rates.\n |
| * Programmable features:\n |
| - Serial interface operation - Choice of Motorola SPI, Texas Instruments Synchronous Serial Protocol or National Semiconductor Microwire.\n |
| - Clock bit-rate - Dynamic control of the serial bit rate of the data transfer; used in only serial-master mode of operation.\n |
| - Data Item size (4 to 32 bits) - Item size of each data transfer under the control of the programmer.\n |
| * Configured features:\n |
| - FIFO depth - 16 words deep. The FIFO width is fixed at 32 bits.\n |
| - 1 slave select output.\n |
| - Hardware slave-select - Dedicated hardware slave-select line.\n |
| - Combined interrupt line - one combined interrupt line from the DW_apb_ssi to the interrupt controller.\n |
| - Interrupt polarity - active high interrupt lines.\n |
| - Serial clock polarity - low serial-clock polarity directly after reset.\n |
| - Serial clock phase - capture on first edge of serial-clock directly after reset.</description> |
| <baseAddress>0x18000000</baseAddress> |
| <size>32</size> |
| <addressBlock> |
| <offset>0</offset> |
| <size>0x0100</size> |
| <usage>registers</usage> |
| </addressBlock> |
| <registers> |
| <register> |
| <name>CTRLR0</name> |
| <description>Control register 0</description> |
| <addressOffset>0x0000</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>SSTE</name> |
| <description>Slave select toggle enable</description> |
| <bitRange>[24:24]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SPI_FRF</name> |
| <description>SPI frame format</description> |
| <bitRange>[22:21]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>STD</name> |
| <description>Standard 1-bit SPI frame format; 1 bit per SCK, full-duplex</description> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>DUAL</name> |
| <description>Dual-SPI frame format; two bits per SCK, half-duplex</description> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>QUAD</name> |
| <description>Quad-SPI frame format; four bits per SCK, half-duplex</description> |
| <value>2</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| <field> |
| <name>DFS_32</name> |
| <description>Data frame size in 32b transfer mode\n |
| Value of n -> n+1 clocks per frame.</description> |
| <bitRange>[20:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>CFS</name> |
| <description>Control frame size\n |
| Value of n -> n+1 clocks per frame.</description> |
| <bitRange>[15:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SRL</name> |
| <description>Shift register loop (test mode)</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SLV_OE</name> |
| <description>Slave output enable</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>TMOD</name> |
| <description>Transfer mode</description> |
| <bitRange>[9:8]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>TX_AND_RX</name> |
| <description>Both transmit and receive</description> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>TX_ONLY</name> |
| <description>Transmit only (not for FRF == 0, standard SPI mode)</description> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>RX_ONLY</name> |
| <description>Receive only (not for FRF == 0, standard SPI mode)</description> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>EEPROM_READ</name> |
| <description>EEPROM read mode (TX then RX; RX starts after control data TX'd)</description> |
| <value>3</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| <field> |
| <name>SCPOL</name> |
| <description>Serial clock polarity</description> |
| <bitRange>[7:7]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SCPH</name> |
| <description>Serial clock phase</description> |
| <bitRange>[6:6]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>FRF</name> |
| <description>Frame format</description> |
| <bitRange>[5:4]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>DFS</name> |
| <description>Data frame size</description> |
| <bitRange>[3:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CTRLR1</name> |
| <description>Master Control register 1</description> |
| <addressOffset>0x0004</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>NDF</name> |
| <description>Number of data frames</description> |
| <bitRange>[15:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>SSIENR</name> |
| <description>SSI Enable</description> |
| <addressOffset>0x0008</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>SSI_EN</name> |
| <description>SSI enable</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>MWCR</name> |
| <description>Microwire Control</description> |
| <addressOffset>0x000c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>MHS</name> |
| <description>Microwire handshaking</description> |
| <bitRange>[2:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>MDD</name> |
| <description>Microwire control</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>MWMOD</name> |
| <description>Microwire transfer mode</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>SER</name> |
| <description>Slave enable</description> |
| <addressOffset>0x0010</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>SER</name> |
| <description>For each bit:\n |
| 0 -> slave not selected\n |
| 1 -> slave selected</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>BAUDR</name> |
| <description>Baud rate</description> |
| <addressOffset>0x0014</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>SCKDV</name> |
| <description>SSI clock divider</description> |
| <bitRange>[15:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>TXFTLR</name> |
| <description>TX FIFO threshold level</description> |
| <addressOffset>0x0018</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>TFT</name> |
| <description>Transmit FIFO threshold</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>RXFTLR</name> |
| <description>RX FIFO threshold level</description> |
| <addressOffset>0x001c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>RFT</name> |
| <description>Receive FIFO threshold</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>TXFLR</name> |
| <description>TX FIFO level</description> |
| <addressOffset>0x0020</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>TFTFL</name> |
| <description>Transmit FIFO level</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>RXFLR</name> |
| <description>RX FIFO level</description> |
| <addressOffset>0x0024</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>RXTFL</name> |
| <description>Receive FIFO level</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>SR</name> |
| <description>Status register</description> |
| <addressOffset>0x0028</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>DCOL</name> |
| <description>Data collision error</description> |
| <bitRange>[6:6]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>TXE</name> |
| <description>Transmission error</description> |
| <bitRange>[5:5]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RFF</name> |
| <description>Receive FIFO full</description> |
| <bitRange>[4:4]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RFNE</name> |
| <description>Receive FIFO not empty</description> |
| <bitRange>[3:3]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>TFE</name> |
| <description>Transmit FIFO empty</description> |
| <bitRange>[2:2]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>TFNF</name> |
| <description>Transmit FIFO not full</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>BUSY</name> |
| <description>SSI busy flag</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>IMR</name> |
| <description>Interrupt mask</description> |
| <addressOffset>0x002c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>MSTIM</name> |
| <description>Multi-master contention interrupt mask</description> |
| <bitRange>[5:5]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>RXFIM</name> |
| <description>Receive FIFO full interrupt mask</description> |
| <bitRange>[4:4]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>RXOIM</name> |
| <description>Receive FIFO overflow interrupt mask</description> |
| <bitRange>[3:3]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>RXUIM</name> |
| <description>Receive FIFO underflow interrupt mask</description> |
| <bitRange>[2:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>TXOIM</name> |
| <description>Transmit FIFO overflow interrupt mask</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>TXEIM</name> |
| <description>Transmit FIFO empty interrupt mask</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>ISR</name> |
| <description>Interrupt status</description> |
| <addressOffset>0x0030</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>MSTIS</name> |
| <description>Multi-master contention interrupt status</description> |
| <bitRange>[5:5]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RXFIS</name> |
| <description>Receive FIFO full interrupt status</description> |
| <bitRange>[4:4]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RXOIS</name> |
| <description>Receive FIFO overflow interrupt status</description> |
| <bitRange>[3:3]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RXUIS</name> |
| <description>Receive FIFO underflow interrupt status</description> |
| <bitRange>[2:2]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>TXOIS</name> |
| <description>Transmit FIFO overflow interrupt status</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>TXEIS</name> |
| <description>Transmit FIFO empty interrupt status</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>RISR</name> |
| <description>Raw interrupt status</description> |
| <addressOffset>0x0034</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>MSTIR</name> |
| <description>Multi-master contention raw interrupt status</description> |
| <bitRange>[5:5]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RXFIR</name> |
| <description>Receive FIFO full raw interrupt status</description> |
| <bitRange>[4:4]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RXOIR</name> |
| <description>Receive FIFO overflow raw interrupt status</description> |
| <bitRange>[3:3]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RXUIR</name> |
| <description>Receive FIFO underflow raw interrupt status</description> |
| <bitRange>[2:2]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>TXOIR</name> |
| <description>Transmit FIFO overflow raw interrupt status</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>TXEIR</name> |
| <description>Transmit FIFO empty raw interrupt status</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>TXOICR</name> |
| <description>TX FIFO overflow interrupt clear</description> |
| <addressOffset>0x0038</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>TXOICR</name> |
| <description>Clear-on-read transmit FIFO overflow interrupt</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>RXOICR</name> |
| <description>RX FIFO overflow interrupt clear</description> |
| <addressOffset>0x003c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>RXOICR</name> |
| <description>Clear-on-read receive FIFO overflow interrupt</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>RXUICR</name> |
| <description>RX FIFO underflow interrupt clear</description> |
| <addressOffset>0x0040</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>RXUICR</name> |
| <description>Clear-on-read receive FIFO underflow interrupt</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>MSTICR</name> |
| <description>Multi-master interrupt clear</description> |
| <addressOffset>0x0044</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>MSTICR</name> |
| <description>Clear-on-read multi-master contention interrupt</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>ICR</name> |
| <description>Interrupt clear</description> |
| <addressOffset>0x0048</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>ICR</name> |
| <description>Clear-on-read all active interrupts</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>DMACR</name> |
| <description>DMA control</description> |
| <addressOffset>0x004c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>TDMAE</name> |
| <description>Transmit DMA enable</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>RDMAE</name> |
| <description>Receive DMA enable</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>DMATDLR</name> |
| <description>DMA TX data level</description> |
| <addressOffset>0x0050</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>DMATDL</name> |
| <description>Transmit data watermark level</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>DMARDLR</name> |
| <description>DMA RX data level</description> |
| <addressOffset>0x0054</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>DMARDL</name> |
| <description>Receive data watermark level (DMARDLR+1)</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>IDR</name> |
| <description>Identification register</description> |
| <addressOffset>0x0058</addressOffset> |
| <resetValue>0x51535049</resetValue> |
| <fields> |
| <field> |
| <name>IDCODE</name> |
| <description>Peripheral dentification code</description> |
| <bitRange>[31:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>SSI_VERSION_ID</name> |
| <description>Version ID</description> |
| <addressOffset>0x005c</addressOffset> |
| <resetValue>0x3430312a</resetValue> |
| <fields> |
| <field> |
| <name>SSI_COMP_VERSION</name> |
| <description>SNPS component version (format X.YY)</description> |
| <bitRange>[31:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>DR0</name> |
| <description>Data Register 0 (of 36)</description> |
| <addressOffset>0x0060</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>DR</name> |
| <description>First data register of 36</description> |
| <bitRange>[31:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>RX_SAMPLE_DLY</name> |
| <description>RX sample delay</description> |
| <addressOffset>0x00f0</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>RSD</name> |
| <description>RXD sample delay (in SCLK cycles)</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>SPI_CTRLR0</name> |
| <description>SPI control</description> |
| <addressOffset>0x00f4</addressOffset> |
| <resetValue>0x03000000</resetValue> |
| <fields> |
| <field> |
| <name>XIP_CMD</name> |
| <description>SPI Command to send in XIP mode (INST_L = 8-bit) or to append to Address (INST_L = 0-bit)</description> |
| <bitRange>[31:24]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SPI_RXDS_EN</name> |
| <description>Read data strobe enable</description> |
| <bitRange>[18:18]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>INST_DDR_EN</name> |
| <description>Instruction DDR transfer enable</description> |
| <bitRange>[17:17]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SPI_DDR_EN</name> |
| <description>SPI DDR transfer enable</description> |
| <bitRange>[16:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>WAIT_CYCLES</name> |
| <description>Wait cycles between control frame transmit and data reception (in SCLK cycles)</description> |
| <bitRange>[15:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>INST_L</name> |
| <description>Instruction length (0/4/8/16b)</description> |
| <bitRange>[9:8]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>NONE</name> |
| <description>No instruction</description> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>4B</name> |
| <description>4-bit instruction</description> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>8B</name> |
| <description>8-bit instruction</description> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>16B</name> |
| <description>16-bit instruction</description> |
| <value>3</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| <field> |
| <name>ADDR_L</name> |
| <description>Address length (0b-60b in 4b increments)</description> |
| <bitRange>[5:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>TRANS_TYPE</name> |
| <description>Address and instruction transfer format</description> |
| <bitRange>[1:0]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>1C1A</name> |
| <description>Command and address both in standard SPI frame format</description> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>1C2A</name> |
| <description>Command in standard SPI format, address in format specified by FRF</description> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>2C2A</name> |
| <description>Command and address both in format specified by FRF (e.g. Dual-SPI)</description> |
| <value>2</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>TXD_DRIVE_EDGE</name> |
| <description>TX drive edge</description> |
| <addressOffset>0x00f8</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>TDE</name> |
| <description>TXD drive edge</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| </registers> |
| </peripheral> |
| <peripheral> |
| <name>SYSINFO</name> |
| <version>1</version> |
| <baseAddress>0x40000000</baseAddress> |
| <size>32</size> |
| <addressBlock> |
| <offset>0</offset> |
| <size>0x1000</size> |
| <usage>registers</usage> |
| </addressBlock> |
| <registers> |
| <register> |
| <name>CHIP_ID</name> |
| <description>JEDEC JEP-106 compliant chip identifier.</description> |
| <addressOffset>0x0000</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>REVISION</name> |
| <bitRange>[31:28]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>PART</name> |
| <bitRange>[27:12]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>MANUFACTURER</name> |
| <bitRange>[11:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>PLATFORM</name> |
| <description>Platform register. Allows software to know what environment it is running in.</description> |
| <addressOffset>0x0004</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>ASIC</name> |
| <bitRange>[1:1]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>FPGA</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>GITREF_RP2040</name> |
| <description>Git hash of the chip source. Used to identify chip version.</description> |
| <addressOffset>0x0040</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000000</resetValue> |
| </register> |
| </registers> |
| </peripheral> |
| <peripheral> |
| <name>SYSCFG</name> |
| <version>1</version> |
| <description>Register block for various chip control signals</description> |
| <baseAddress>0x40004000</baseAddress> |
| <size>32</size> |
| <addressBlock> |
| <offset>0</offset> |
| <size>0x1000</size> |
| <usage>registers</usage> |
| </addressBlock> |
| <registers> |
| <register> |
| <name>PROC0_NMI_MASK</name> |
| <description>Processor core 0 NMI source mask\n |
| Set a bit high to enable NMI from that IRQ</description> |
| <addressOffset>0x0000</addressOffset> |
| <access>read-write</access> |
| <resetValue>0x00000000</resetValue> |
| </register> |
| <register> |
| <name>PROC1_NMI_MASK</name> |
| <description>Processor core 1 NMI source mask\n |
| Set a bit high to enable NMI from that IRQ</description> |
| <addressOffset>0x0004</addressOffset> |
| <access>read-write</access> |
| <resetValue>0x00000000</resetValue> |
| </register> |
| <register> |
| <name>PROC_CONFIG</name> |
| <description>Configuration for processors</description> |
| <addressOffset>0x0008</addressOffset> |
| <resetValue>0x10000000</resetValue> |
| <fields> |
| <field> |
| <name>PROC1_DAP_INSTID</name> |
| <description>Configure proc1 DAP instance ID.\n |
| Recommend that this is NOT changed until you require debug access in multi-chip environment\n |
| WARNING: do not set to 15 as this is reserved for RescueDP</description> |
| <bitRange>[31:28]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PROC0_DAP_INSTID</name> |
| <description>Configure proc0 DAP instance ID.\n |
| Recommend that this is NOT changed until you require debug access in multi-chip environment\n |
| WARNING: do not set to 15 as this is reserved for RescueDP</description> |
| <bitRange>[27:24]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PROC1_HALTED</name> |
| <description>Indication that proc1 has halted</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>PROC0_HALTED</name> |
| <description>Indication that proc0 has halted</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>PROC_IN_SYNC_BYPASS</name> |
| <description>For each bit, if 1, bypass the input synchronizer between that GPIO\n |
| and the GPIO input register in the SIO. The input synchronizers should\n |
| generally be unbypassed, to avoid injecting metastabilities into processors.\n |
| If you're feeling brave, you can bypass to save two cycles of input\n |
| latency. This register applies to GPIO 0...29.</description> |
| <addressOffset>0x000c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>PROC_IN_SYNC_BYPASS</name> |
| <bitRange>[29:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>PROC_IN_SYNC_BYPASS_HI</name> |
| <description>For each bit, if 1, bypass the input synchronizer between that GPIO\n |
| and the GPIO input register in the SIO. The input synchronizers should\n |
| generally be unbypassed, to avoid injecting metastabilities into processors.\n |
| If you're feeling brave, you can bypass to save two cycles of input\n |
| latency. This register applies to GPIO 30...35 (the QSPI IOs).</description> |
| <addressOffset>0x0010</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>PROC_IN_SYNC_BYPASS_HI</name> |
| <bitRange>[5:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>DBGFORCE</name> |
| <description>Directly control the SWD debug port of either processor</description> |
| <addressOffset>0x0014</addressOffset> |
| <resetValue>0x00000066</resetValue> |
| <fields> |
| <field> |
| <name>PROC1_ATTACH</name> |
| <description>Attach processor 1 debug port to syscfg controls, and disconnect it from external SWD pads.</description> |
| <bitRange>[7:7]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PROC1_SWCLK</name> |
| <description>Directly drive processor 1 SWCLK, if PROC1_ATTACH is set</description> |
| <bitRange>[6:6]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PROC1_SWDI</name> |
| <description>Directly drive processor 1 SWDIO input, if PROC1_ATTACH is set</description> |
| <bitRange>[5:5]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PROC1_SWDO</name> |
| <description>Observe the value of processor 1 SWDIO output.</description> |
| <bitRange>[4:4]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>PROC0_ATTACH</name> |
| <description>Attach processor 0 debug port to syscfg controls, and disconnect it from external SWD pads.</description> |
| <bitRange>[3:3]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PROC0_SWCLK</name> |
| <description>Directly drive processor 0 SWCLK, if PROC0_ATTACH is set</description> |
| <bitRange>[2:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PROC0_SWDI</name> |
| <description>Directly drive processor 0 SWDIO input, if PROC0_ATTACH is set</description> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PROC0_SWDO</name> |
| <description>Observe the value of processor 0 SWDIO output.</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>MEMPOWERDOWN</name> |
| <description>Control power downs to memories. Set high to power down memories.\n |
| Use with extreme caution</description> |
| <addressOffset>0x0018</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>ROM</name> |
| <bitRange>[7:7]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>USB</name> |
| <bitRange>[6:6]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SRAM5</name> |
| <bitRange>[5:5]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SRAM4</name> |
| <bitRange>[4:4]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SRAM3</name> |
| <bitRange>[3:3]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SRAM2</name> |
| <bitRange>[2:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SRAM1</name> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>SRAM0</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| </registers> |
| </peripheral> |
| <peripheral> |
| <name>CLOCKS</name> |
| <version>1</version> |
| <baseAddress>0x40008000</baseAddress> |
| <size>32</size> |
| <addressBlock> |
| <offset>0</offset> |
| <size>0x1000</size> |
| <usage>registers</usage> |
| </addressBlock> |
| <interrupt> |
| <name>CLOCKS_IRQ</name> |
| <value>17</value> |
| </interrupt> |
| <registers> |
| <register> |
| <name>CLK_GPOUT0_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x0000</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>NUDGE</name> |
| <description>An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n |
| This can be done at any time</description> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PHASE</name> |
| <description>This delays the enable signal by up to 3 cycles of the input clock\n |
| This must be set before the clock is enabled to have any effect</description> |
| <bitRange>[17:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>DC50</name> |
| <description>Enables duty cycle correction for odd divisors</description> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ENABLE</name> |
| <description>Starts and stops the clock generator cleanly</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>KILL</name> |
| <description>Asynchronously kills the clock generator</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[8:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>5</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_sys</name> |
| <value>6</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_usb</name> |
| <value>7</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_adc</name> |
| <value>8</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_rtc</name> |
| <value>9</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_ref</name> |
| <value>10</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_GPOUT0_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x0004</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[31:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>FRAC</name> |
| <description>Fractional component of the divisor</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_GPOUT0_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.</description> |
| <addressOffset>0x0008</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_GPOUT1_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x000c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>NUDGE</name> |
| <description>An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n |
| This can be done at any time</description> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PHASE</name> |
| <description>This delays the enable signal by up to 3 cycles of the input clock\n |
| This must be set before the clock is enabled to have any effect</description> |
| <bitRange>[17:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>DC50</name> |
| <description>Enables duty cycle correction for odd divisors</description> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ENABLE</name> |
| <description>Starts and stops the clock generator cleanly</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>KILL</name> |
| <description>Asynchronously kills the clock generator</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[8:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>5</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_sys</name> |
| <value>6</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_usb</name> |
| <value>7</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_adc</name> |
| <value>8</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_rtc</name> |
| <value>9</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_ref</name> |
| <value>10</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_GPOUT1_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x0010</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[31:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>FRAC</name> |
| <description>Fractional component of the divisor</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_GPOUT1_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.</description> |
| <addressOffset>0x0014</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_GPOUT2_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x0018</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>NUDGE</name> |
| <description>An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n |
| This can be done at any time</description> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PHASE</name> |
| <description>This delays the enable signal by up to 3 cycles of the input clock\n |
| This must be set before the clock is enabled to have any effect</description> |
| <bitRange>[17:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>DC50</name> |
| <description>Enables duty cycle correction for odd divisors</description> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ENABLE</name> |
| <description>Starts and stops the clock generator cleanly</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>KILL</name> |
| <description>Asynchronously kills the clock generator</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[8:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc_ph</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>5</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_sys</name> |
| <value>6</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_usb</name> |
| <value>7</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_adc</name> |
| <value>8</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_rtc</name> |
| <value>9</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_ref</name> |
| <value>10</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_GPOUT2_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x001c</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[31:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>FRAC</name> |
| <description>Fractional component of the divisor</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_GPOUT2_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.</description> |
| <addressOffset>0x0020</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_GPOUT3_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x0024</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>NUDGE</name> |
| <description>An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n |
| This can be done at any time</description> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PHASE</name> |
| <description>This delays the enable signal by up to 3 cycles of the input clock\n |
| This must be set before the clock is enabled to have any effect</description> |
| <bitRange>[17:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>DC50</name> |
| <description>Enables duty cycle correction for odd divisors</description> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ENABLE</name> |
| <description>Starts and stops the clock generator cleanly</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>KILL</name> |
| <description>Asynchronously kills the clock generator</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[8:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc_ph</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>5</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_sys</name> |
| <value>6</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_usb</name> |
| <value>7</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_adc</name> |
| <value>8</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_rtc</name> |
| <value>9</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_ref</name> |
| <value>10</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_GPOUT3_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x0028</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[31:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>FRAC</name> |
| <description>Fractional component of the divisor</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_GPOUT3_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.</description> |
| <addressOffset>0x002c</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_REF_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x0030</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[6:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>2</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| <field> |
| <name>SRC</name> |
| <description>Selects the clock source glitchlessly, can be changed on-the-fly</description> |
| <bitRange>[1:0]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>rosc_clksrc_ph</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_clk_ref_aux</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>2</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_REF_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x0034</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[9:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_REF_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| The glitchless multiplexer does not switch instantaneously (to avoid glitches), so software should poll this register to wait for the switch to complete. This register contains one decoded bit for each of the clock sources enumerated in the CTRL SRC field. At most one of these bits will be set at any time, indicating that clock is currently present at the output of the glitchless mux. Whilst switching is in progress, this register may briefly show all-0s.</description> |
| <addressOffset>0x0038</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_SYS_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x003c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[7:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>5</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| <field> |
| <name>SRC</name> |
| <description>Selects the clock source glitchlessly, can be changed on-the-fly</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clk_ref</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_clk_sys_aux</name> |
| <value>1</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_SYS_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x0040</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[31:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>FRAC</name> |
| <description>Fractional component of the divisor</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_SYS_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| The glitchless multiplexer does not switch instantaneously (to avoid glitches), so software should poll this register to wait for the switch to complete. This register contains one decoded bit for each of the clock sources enumerated in the CTRL SRC field. At most one of these bits will be set at any time, indicating that clock is currently present at the output of the glitchless mux. Whilst switching is in progress, this register may briefly show all-0s.</description> |
| <addressOffset>0x0044</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_PERI_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x0048</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>ENABLE</name> |
| <description>Starts and stops the clock generator cleanly</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>KILL</name> |
| <description>Asynchronously kills the clock generator</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[7:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clk_sys</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc_ph</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>5</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>6</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_PERI_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.</description> |
| <addressOffset>0x0050</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_USB_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x0054</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>NUDGE</name> |
| <description>An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n |
| This can be done at any time</description> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PHASE</name> |
| <description>This delays the enable signal by up to 3 cycles of the input clock\n |
| This must be set before the clock is enabled to have any effect</description> |
| <bitRange>[17:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ENABLE</name> |
| <description>Starts and stops the clock generator cleanly</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>KILL</name> |
| <description>Asynchronously kills the clock generator</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[7:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc_ph</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>5</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_USB_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x0058</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[9:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_USB_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.</description> |
| <addressOffset>0x005c</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_ADC_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x0060</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>NUDGE</name> |
| <description>An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n |
| This can be done at any time</description> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PHASE</name> |
| <description>This delays the enable signal by up to 3 cycles of the input clock\n |
| This must be set before the clock is enabled to have any effect</description> |
| <bitRange>[17:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ENABLE</name> |
| <description>Starts and stops the clock generator cleanly</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>KILL</name> |
| <description>Asynchronously kills the clock generator</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[7:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc_ph</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>5</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_ADC_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x0064</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[9:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_ADC_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.</description> |
| <addressOffset>0x0068</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_RTC_CTRL</name> |
| <description>Clock control, can be changed on-the-fly (except for auxsrc)</description> |
| <addressOffset>0x006c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>NUDGE</name> |
| <description>An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n |
| This can be done at any time</description> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>PHASE</name> |
| <description>This delays the enable signal by up to 3 cycles of the input clock\n |
| This must be set before the clock is enabled to have any effect</description> |
| <bitRange>[17:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ENABLE</name> |
| <description>Starts and stops the clock generator cleanly</description> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>KILL</name> |
| <description>Asynchronously kills the clock generator</description> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>AUXSRC</name> |
| <description>Selects the auxiliary clock source, will glitch when switching</description> |
| <bitRange>[7:5]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>clksrc_pll_usb</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_pll_sys</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc_ph</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>5</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_RTC_DIV</name> |
| <description>Clock divisor, can be changed on-the-fly</description> |
| <addressOffset>0x0070</addressOffset> |
| <resetValue>0x00000100</resetValue> |
| <fields> |
| <field> |
| <name>INT</name> |
| <description>Integer component of the divisor, 0 -> divide by 2^16</description> |
| <bitRange>[31:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>FRAC</name> |
| <description>Fractional component of the divisor</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_RTC_SELECTED</name> |
| <description>Indicates which SRC is currently selected by the glitchless mux (one-hot).\n |
| This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.</description> |
| <addressOffset>0x0074</addressOffset> |
| <access>read-only</access> |
| <resetValue>0x00000001</resetValue> |
| </register> |
| <register> |
| <name>CLK_SYS_RESUS_CTRL</name> |
| <addressOffset>0x0078</addressOffset> |
| <resetValue>0x000000ff</resetValue> |
| <fields> |
| <field> |
| <name>CLEAR</name> |
| <description>For clearing the resus after the fault that triggered it has been corrected</description> |
| <bitRange>[16:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>FRCE</name> |
| <description>Force a resus, for test purposes only</description> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>ENABLE</name> |
| <description>Enable resus</description> |
| <bitRange>[8:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>TIMEOUT</name> |
| <description>This is expressed as a number of clk_ref cycles\n |
| and must be >= 2x clk_ref_freq/min_clk_tst_freq</description> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>CLK_SYS_RESUS_STATUS</name> |
| <addressOffset>0x007c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>RESUSSED</name> |
| <description>Clock has been resuscitated, correct the error then send ctrl_clear=1</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FC0_REF_KHZ</name> |
| <description>Reference clock frequency in kHz</description> |
| <addressOffset>0x0080</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>FC0_REF_KHZ</name> |
| <bitRange>[19:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FC0_MIN_KHZ</name> |
| <description>Minimum pass frequency in kHz. This is optional. Set to 0 if you are not using the pass/fail flags</description> |
| <addressOffset>0x0084</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>FC0_MIN_KHZ</name> |
| <bitRange>[24:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FC0_MAX_KHZ</name> |
| <description>Maximum pass frequency in kHz. This is optional. Set to 0x1ffffff if you are not using the pass/fail flags</description> |
| <addressOffset>0x0088</addressOffset> |
| <resetValue>0x01ffffff</resetValue> |
| <fields> |
| <field> |
| <name>FC0_MAX_KHZ</name> |
| <bitRange>[24:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FC0_DELAY</name> |
| <description>Delays the start of frequency counting to allow the mux to settle\n |
| Delay is measured in multiples of the reference clock period</description> |
| <addressOffset>0x008c</addressOffset> |
| <resetValue>0x00000001</resetValue> |
| <fields> |
| <field> |
| <name>FC0_DELAY</name> |
| <bitRange>[2:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FC0_INTERVAL</name> |
| <description>The test interval is 0.98us * 2**interval, but let's call it 1us * 2**interval\n |
| The default gives a test interval of 250us</description> |
| <addressOffset>0x0090</addressOffset> |
| <resetValue>0x00000008</resetValue> |
| <fields> |
| <field> |
| <name>FC0_INTERVAL</name> |
| <bitRange>[3:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FC0_SRC</name> |
| <description>Clock sent to frequency counter, set to 0 when not required\n |
| Writing to this register initiates the frequency count</description> |
| <addressOffset>0x0094</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>FC0_SRC</name> |
| <bitRange>[7:0]</bitRange> |
| <access>read-write</access> |
| <enumeratedValues> |
| <enumeratedValue> |
| <name>NULL</name> |
| <value>0</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>pll_sys_clksrc_primary</name> |
| <value>1</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>pll_usb_clksrc_primary</name> |
| <value>2</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc</name> |
| <value>3</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>rosc_clksrc_ph</name> |
| <value>4</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>xosc_clksrc</name> |
| <value>5</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin0</name> |
| <value>6</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clksrc_gpin1</name> |
| <value>7</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_ref</name> |
| <value>8</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_sys</name> |
| <value>9</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_peri</name> |
| <value>10</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_usb</name> |
| <value>11</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_adc</name> |
| <value>12</value> |
| </enumeratedValue> |
| <enumeratedValue> |
| <name>clk_rtc</name> |
| <value>13</value> |
| </enumeratedValue> |
| </enumeratedValues> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FC0_STATUS</name> |
| <description>Frequency counter status</description> |
| <addressOffset>0x0098</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>DIED</name> |
| <description>Test clock stopped during test</description> |
| <bitRange>[28:28]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>FAST</name> |
| <description>Test clock faster than expected, only valid when status_done=1</description> |
| <bitRange>[24:24]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>SLOW</name> |
| <description>Test clock slower than expected, only valid when status_done=1</description> |
| <bitRange>[20:20]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>FAIL</name> |
| <description>Test failed</description> |
| <bitRange>[16:16]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>WAITING</name> |
| <description>Waiting for test clock to start</description> |
| <bitRange>[12:12]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>RUNNING</name> |
| <description>Test running</description> |
| <bitRange>[8:8]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>DONE</name> |
| <description>Test complete</description> |
| <bitRange>[4:4]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>PASS</name> |
| <description>Test passed</description> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>FC0_RESULT</name> |
| <description>Result of frequency measurement, only valid when status_done=1</description> |
| <addressOffset>0x009c</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>KHZ</name> |
| <bitRange>[29:5]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>FRAC</name> |
| <bitRange>[4:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>WAKE_EN0</name> |
| <description>enable clock in wake mode</description> |
| <addressOffset>0x00a0</addressOffset> |
| <resetValue>0xffffffff</resetValue> |
| <fields> |
| <field> |
| <name>clk_sys_sram3</name> |
| <bitRange>[31:31]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram2</name> |
| <bitRange>[30:30]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram1</name> |
| <bitRange>[29:29]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram0</name> |
| <bitRange>[28:28]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_spi1</name> |
| <bitRange>[27:27]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_peri_spi1</name> |
| <bitRange>[26:26]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_spi0</name> |
| <bitRange>[25:25]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_peri_spi0</name> |
| <bitRange>[24:24]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sio</name> |
| <bitRange>[23:23]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_rtc</name> |
| <bitRange>[22:22]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_rtc_rtc</name> |
| <bitRange>[21:21]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_rosc</name> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_rom</name> |
| <bitRange>[19:19]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_resets</name> |
| <bitRange>[18:18]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pwm</name> |
| <bitRange>[17:17]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_psm</name> |
| <bitRange>[16:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pll_usb</name> |
| <bitRange>[15:15]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pll_sys</name> |
| <bitRange>[14:14]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pio1</name> |
| <bitRange>[13:13]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pio0</name> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pads</name> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_vreg_and_chip_reset</name> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_jtag</name> |
| <bitRange>[9:9]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_io</name> |
| <bitRange>[8:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_i2c1</name> |
| <bitRange>[7:7]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_i2c0</name> |
| <bitRange>[6:6]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_dma</name> |
| <bitRange>[5:5]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_busfabric</name> |
| <bitRange>[4:4]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_busctrl</name> |
| <bitRange>[3:3]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_adc</name> |
| <bitRange>[2:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_adc_adc</name> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_clocks</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>WAKE_EN1</name> |
| <description>enable clock in wake mode</description> |
| <addressOffset>0x00a4</addressOffset> |
| <resetValue>0x00007fff</resetValue> |
| <fields> |
| <field> |
| <name>clk_sys_xosc</name> |
| <bitRange>[14:14]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_xip</name> |
| <bitRange>[13:13]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_watchdog</name> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_usb_usbctrl</name> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_usbctrl</name> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_uart1</name> |
| <bitRange>[9:9]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_peri_uart1</name> |
| <bitRange>[8:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_uart0</name> |
| <bitRange>[7:7]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_peri_uart0</name> |
| <bitRange>[6:6]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_timer</name> |
| <bitRange>[5:5]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_tbman</name> |
| <bitRange>[4:4]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sysinfo</name> |
| <bitRange>[3:3]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_syscfg</name> |
| <bitRange>[2:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram5</name> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram4</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>SLEEP_EN0</name> |
| <description>enable clock in sleep mode</description> |
| <addressOffset>0x00a8</addressOffset> |
| <resetValue>0xffffffff</resetValue> |
| <fields> |
| <field> |
| <name>clk_sys_sram3</name> |
| <bitRange>[31:31]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram2</name> |
| <bitRange>[30:30]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram1</name> |
| <bitRange>[29:29]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram0</name> |
| <bitRange>[28:28]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_spi1</name> |
| <bitRange>[27:27]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_peri_spi1</name> |
| <bitRange>[26:26]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_spi0</name> |
| <bitRange>[25:25]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_peri_spi0</name> |
| <bitRange>[24:24]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sio</name> |
| <bitRange>[23:23]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_rtc</name> |
| <bitRange>[22:22]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_rtc_rtc</name> |
| <bitRange>[21:21]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_rosc</name> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_rom</name> |
| <bitRange>[19:19]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_resets</name> |
| <bitRange>[18:18]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pwm</name> |
| <bitRange>[17:17]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_psm</name> |
| <bitRange>[16:16]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pll_usb</name> |
| <bitRange>[15:15]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pll_sys</name> |
| <bitRange>[14:14]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pio1</name> |
| <bitRange>[13:13]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pio0</name> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_pads</name> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_vreg_and_chip_reset</name> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_jtag</name> |
| <bitRange>[9:9]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_io</name> |
| <bitRange>[8:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_i2c1</name> |
| <bitRange>[7:7]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_i2c0</name> |
| <bitRange>[6:6]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_dma</name> |
| <bitRange>[5:5]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_busfabric</name> |
| <bitRange>[4:4]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_busctrl</name> |
| <bitRange>[3:3]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_adc</name> |
| <bitRange>[2:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_adc_adc</name> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_clocks</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>SLEEP_EN1</name> |
| <description>enable clock in sleep mode</description> |
| <addressOffset>0x00ac</addressOffset> |
| <resetValue>0x00007fff</resetValue> |
| <fields> |
| <field> |
| <name>clk_sys_xosc</name> |
| <bitRange>[14:14]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_xip</name> |
| <bitRange>[13:13]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_watchdog</name> |
| <bitRange>[12:12]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_usb_usbctrl</name> |
| <bitRange>[11:11]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_usbctrl</name> |
| <bitRange>[10:10]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_uart1</name> |
| <bitRange>[9:9]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_peri_uart1</name> |
| <bitRange>[8:8]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_uart0</name> |
| <bitRange>[7:7]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_peri_uart0</name> |
| <bitRange>[6:6]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_timer</name> |
| <bitRange>[5:5]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_tbman</name> |
| <bitRange>[4:4]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sysinfo</name> |
| <bitRange>[3:3]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_syscfg</name> |
| <bitRange>[2:2]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram5</name> |
| <bitRange>[1:1]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>clk_sys_sram4</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>ENABLED0</name> |
| <description>indicates the state of the clock enable</description> |
| <addressOffset>0x00b0</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>clk_sys_sram3</name> |
| <bitRange>[31:31]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_sram2</name> |
| <bitRange>[30:30]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_sram1</name> |
| <bitRange>[29:29]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_sram0</name> |
| <bitRange>[28:28]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_spi1</name> |
| <bitRange>[27:27]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_peri_spi1</name> |
| <bitRange>[26:26]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_spi0</name> |
| <bitRange>[25:25]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_peri_spi0</name> |
| <bitRange>[24:24]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_sio</name> |
| <bitRange>[23:23]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_rtc</name> |
| <bitRange>[22:22]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_rtc_rtc</name> |
| <bitRange>[21:21]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_rosc</name> |
| <bitRange>[20:20]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_rom</name> |
| <bitRange>[19:19]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_resets</name> |
| <bitRange>[18:18]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_pwm</name> |
| <bitRange>[17:17]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_psm</name> |
| <bitRange>[16:16]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_pll_usb</name> |
| <bitRange>[15:15]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_pll_sys</name> |
| <bitRange>[14:14]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_pio1</name> |
| <bitRange>[13:13]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_pio0</name> |
| <bitRange>[12:12]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_pads</name> |
| <bitRange>[11:11]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_vreg_and_chip_reset</name> |
| <bitRange>[10:10]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_jtag</name> |
| <bitRange>[9:9]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_io</name> |
| <bitRange>[8:8]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_i2c1</name> |
| <bitRange>[7:7]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_i2c0</name> |
| <bitRange>[6:6]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_dma</name> |
| <bitRange>[5:5]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_busfabric</name> |
| <bitRange>[4:4]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_busctrl</name> |
| <bitRange>[3:3]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_adc</name> |
| <bitRange>[2:2]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_adc_adc</name> |
| <bitRange>[1:1]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_clocks</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>ENABLED1</name> |
| <description>indicates the state of the clock enable</description> |
| <addressOffset>0x00b4</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>clk_sys_xosc</name> |
| <bitRange>[14:14]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_xip</name> |
| <bitRange>[13:13]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_watchdog</name> |
| <bitRange>[12:12]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_usb_usbctrl</name> |
| <bitRange>[11:11]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_usbctrl</name> |
| <bitRange>[10:10]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_uart1</name> |
| <bitRange>[9:9]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_peri_uart1</name> |
| <bitRange>[8:8]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_uart0</name> |
| <bitRange>[7:7]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_peri_uart0</name> |
| <bitRange>[6:6]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_timer</name> |
| <bitRange>[5:5]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_tbman</name> |
| <bitRange>[4:4]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_sysinfo</name> |
| <bitRange>[3:3]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_syscfg</name> |
| <bitRange>[2:2]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_sram5</name> |
| <bitRange>[1:1]</bitRange> |
| <access>read-only</access> |
| </field> |
| <field> |
| <name>clk_sys_sram4</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>INTR</name> |
| <description>Raw Interrupts</description> |
| <addressOffset>0x00b8</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>CLK_SYS_RESUS</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>INTE</name> |
| <description>Interrupt Enable</description> |
| <addressOffset>0x00bc</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>CLK_SYS_RESUS</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>INTF</name> |
| <description>Interrupt Force</description> |
| <addressOffset>0x00c0</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>CLK_SYS_RESUS</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-write</access> |
| </field> |
| </fields> |
| </register> |
| <register> |
| <name>INTS</name> |
| <description>Interrupt status after masking & forcing</description> |
| <addressOffset>0x00c4</addressOffset> |
| <resetValue>0x00000000</resetValue> |
| <fields> |
| <field> |
| <name>CLK_SYS_RESUS</name> |
| <bitRange>[0:0]</bitRange> |
| <access>read-only</access> |
| </field> |
| </fields> |
| </register> |
| </registers> |
| </peripheral> |
| <peripheral> |
| <name>RESETS</name> |
| <version>1</version> |
| <baseAddress>0x4000c000</baseAddress> |
| <size>32</size> |
| <addressBlock> |
| <offset>0</offset> |
| <size>0x1000</size> |
| <usage>registers</usage> |
| </addressBlock> |
| <registers> |
| <register> |
| <name>RESET</name> |
| <description>Reset control. If a bit is set it means the peripheral is in reset. 0 means the peripheral's reset is deasserted.</description> |
| <addressOffset>0x0000</addressOffset> |
| <resetValue>0x01ffffff</resetValue> |
| <fields> |
| <field> |
| <name>usbctrl</name> |
| <bitRange>[24:24]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>uart1</name> |
| <bitRange>[23:23]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>uart0</name> |
| <bitRange>[22:22]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>timer</name> |
| <bitRange>[21:21]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>tbman</name> |
| <bitRange>[20:20]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>sysinfo</name> |
| <bitRange>[19:19]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>syscfg</name> |
| <bitRange>[18:18]</bitRange> |
| <access>read-write</access> |
| </field> |
| <field> |
| <name>spi1</name> |
| <bitRange>[17:17]</bitRange> |
| <access>read-write</access> |
| |