24. Programmable logic array (PLAY)
24.1 PLAY introduction
The programmable logic array allows the user to create custom logic and state machines without the need for external programmable logic devices, such as FPGAs. The PLAY provides a number of programmable logic elements, in the form of look-up tables (LUTs), each of which have four inputs and one output. The output can be programmed to be any logical function of the four inputs. More complex functions can be created by cascading logic elements.
Inputs to and outputs from the logic array can be selected from a choice of external I/Os, internal signals or software programmable register bits. External inputs can be synchronized to the internal clock and filtered to remove short pulses, or connected directly to the logic array if purely combinatorial or asynchronous functions are required.
Each logic element output can be registered using the internal clock, or another signal. Registered outputs can be fed back to the logic array inputs to create finite state machines. Transitions on the outputs can set flags, which can generate interrupts to the processor. The state of the flags can be read and reset by software. The raw states of the logic element outputs can also be read by software or by an external debugger. This provides visibility of the logic array state to simplify debugging of the programmed logic functions.
The array is configured via memory-mapped registers. Configuration is simple and intuitive. Configuration registers are protected against accidental programming by a lock bit. The configuration is maintained in case of a warm system reset.
24.2 PLAY main features
- • Glitch-free programmable logic elements each comprising a 4-input look-up table and a register
- • Configurable input and output interconnects
- • Optional synchronization of inputs, with programmable glitch filters and edge detection/pulse extension feature.
- • Software programmable inputs
- • Flags with interrupt capability for communication with software
- • Simple register-based configuration interface, protected by software lock
24.3 PLAY functional description
- • a logic array, including
- – 16 logic elements
- – an input interconnect
- – an output interconnect
- • a synchronization and filter unit
- • a configuration unit
- • a flag and interrupt unit
- • an APB bus slave interface
These are shown in Figure 135.
24.3.1 PLAY block diagram
Figure 135. PLAY block diagram
![Figure 135. PLAY block diagram. This block diagram illustrates the internal architecture of the PLAY (Programmable Logic Array) block. Inputs on the left include play_clk, PLAY_IN[15:0], play_in0_[7:1] to play_in15_[7:1], APB, play_rstn, and play_app_rstn. Internal components include a Sync & Filter block, Reg, Config, Input interconnect, Logic elements with LUTs inside a Logic array, Output interconnect, and Flags logic. Outputs on the right are play_out[15:0], PLAY_OUT[15:0], and play_irq. Reference identifier MSv74232V2 is at bottom right.](/RM0517-STM32H5E4-5F4-5E5-5F5/330e79ffc5fb097cd9584de1e1fb113d_img.jpg)
24.3.2 PLAY pins and internal signals
Table 193. PLAY pins
| Pin name | Pin type | Description |
|---|---|---|
| PLAY_IN[15:0] | Digital inputs | External inputs to the PLAY |
| PLAY_OUT[15:0] | Digital outputs | External outputs from the PLAY |
Table 194. PLAY internal signals
| Signal name | Signal type | Description |
|---|---|---|
| play_in[15:0]_[7:1] | Digital inputs | PLAY internal inputs |
| play_out[15:0] | Digital outputs | PLAY internal outputs |
| play_clk | Clock input | PLAY clock from RCC |
| pclk | Clock input | APB bus clock |
| play_irq | Interrupt request | Global interrupt |
| play_rstn | Reset input | Global reset (includes config) |
| play_app_rstn | Reset input | Application reset (excludes config) |
| play_priv0, play_priv1 | Digital outputs | Privilege attribute indicators |
Table 195 lists the signals connected to the PLAY inputs. Up to 16 inputs can be selected for connection to the logic array, one from each row. See Section 24.3.4: Input selection for details.
Table 195. PLAY logic array inputn signal selection| input n | PLAY_FILTnCFG.PREMUXSEL[2:0] | |||||||
|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
| 0 | play_in0_0 | play_in0_1 | play_in0_2 | play_in0_3 | play_in0_4 | play_in0_5 | play_in0_6 | play_in0_7 |
| PLAY_IN0 | tim2_trgo | tim3_trgo | SPI1_MOSI | EVENTOUT | adc1_awd2 | lptim2_ch2 | lptim1_ch2 | |
| 1 | play_in1_0 | play_in1_1 | play_in1_2 | play_in1_3 | play_in1_4 | play_in1_5 | play_in1_6 | play_in1_7 |
| PLAY_IN1 | tim2_oc3 | tim3_oc3 | SPI1_SCLK | SPI2_NSS | USART1_TX | comp2_out | comp1_out | |
| 2 | play_in2_0 | play_in2_1 | play_in2_2 | play_in2_3 | play_in2_4 | play_in2_5 | play_in2_6 | play_in2_7 |
| PLAY_IN2 | tim2_oc4 | tim3_oc4 | tim2_trgo | SPI2_MOSI | USART1_CK | rcc_mco2 | rcc_mco1 | |
| 3 | play_in3_0 | play_in3_1 | play_in3_2 | play_in3_3 | play_in3_4 | play_in3_5 | play_in3_6 | play_in3_7 |
| PLAY_IN3 | lptim1_ch1 | lptim2_ch1 | tim2_oc3 | SPI2_SCLK | NMI | adc2_awd1 | adc1_awd1 | |
| 4 | play_in4_0 | play_in4_1 | play_in4_2 | play_in4_3 | play_in4_4 | play_in4_5 | play_in4_6 | play_in4_7 |
| PLAY_IN4 | lptim1_ch2 | lptim2_ch2 | tim2_oc4 | tim3_trgo | LOCKUP | adc2_awd2 | adc1_awd2 | |
| 5 | play_in5_0 | play_in5_1 | play_in5_2 | play_in5_3 | play_in5_4 | play_in5_5 | play_in5_6 | play_in5_7 |
| PLAY_IN5 | comp1_out | comp2_out | lptim1_ch1 | tim3_oc3 | SPI1_NSS | USART2_TX | USART1_TX | |
| 6 | play_in6_0 | play_in6_1 | play_in6_2 | play_in6_3 | play_in6_4 | play_in6_5 | play_in6_6 | play_in6_7 |
| PLAY_IN6 | rcc_mco1 | rcc_mco2 | lptim1_ch2 | tim3_oc4 | SPI1_MOSI | USART2_CK | USART1_CK | |
| 7 | play_in7_0 | play_in7_1 | play_in7_2 | play_in7_3 | play_in7_4 | play_in7_5 | play_in7_6 | play_in7_7 |
| PLAY_IN7 | adc1_awd1 | adc2_awd1 | comp1_out | lptim2_ch1 | SPI1_SCLK | 0 | NMI | |
| 8 | play_in8_0 | play_in8_1 | play_in8_2 | play_in8_3 | play_in8_4 | play_in8_5 | play_in8_6 | play_in8_7 |
| PLAY_IN8 | adc1_awd2 | adc2_awd2 | rcc_mco1 | lptim2_ch2 | tim2_trgo | EVENTOUT | LOCKUP | |
| 9 | play_in9_0 | play_in9_1 | play_in9_2 | play_in9_3 | play_in9_4 | play_in9_5 | play_in9_6 | play_in9_7 |
| PLAY_IN9 | USART1_TX | USART2_TX | adc1_awd1 | comp2_out | tim2_oc3 | SPI2_NSS | SPI1_NSS | |
| 10 | play_in10_0 | play_in10_1 | play_in10_2 | play_in10_3 | play_in10_4 | play_in10_5 | play_in10_6 | play_in10_7 |
| PLAY_IN10 | USART1_CK | USART2_CK | adc1_awd2 | rcc_mco2 | tim2_oc4 | SPI2_MOSI | SPI1_MOSI | |
| 11 | play_in11_0 | play_in11_1 | play_in11_2 | play_in11_3 | play_in11_4 | play_in11_5 | play_in11_6 | play_in11_7 |
| PLAY_IN11 | NMI | 0 | USART1_TX | adc2_awd1 | lptim1_ch1 | SPI2_SCLK | SPI1_SCLK | |
| 12 | play_in12_0 | play_in12_1 | play_in12_2 | play_in12_3 | play_in12_4 | play_in12_5 | play_in12_6 | play_in12_7 |
| PLAY_IN12 | LOCKUP | EVENTOUT | USART1_CK | adc2_awd2 | lptim1_ch2 | tim3_trgo | tim2_trgo | |
| 13 | play_in13_0 | play_in13_1 | play_in13_2 | play_in13_3 | play_in13_4 | play_in13_5 | play_in13_6 | play_in13_7 |
| PLAY_IN13 | SPI1_NSS | SPI2_NSS | NMI | USART2_TX | comp1_out | tim3_oc3 | tim2_oc3 | |
| 14 | play_in14_0 | play_in14_1 | play_in14_2 | play_in14_3 | play_in14_4 | play_in14_5 | play_in14_6 | play_in14_7 |
| PLAY_IN14 | SPI1_MOSI | SPI2_MOSI | LOCKUP | USART2_CK | rcc_mco1 | tim3_oc4 | tim2_oc4 | |
| 15 | play_in15_0 | play_in15_1 | play_in15_2 | play_in15_3 | play_in15_4 | play_in15_5 | play_in15_6 | play_in15_7 |
| PLAY_IN15 | SPI1_SCLK | SPI2_SCLK | SPI1_NSS | 0 | adc1_awd1 | lptim2_ch1 | lptim1_ch1 | |
Table 196. PLAY output connections
| Signal name | External pins | Internal signals |
|---|---|---|
| play_out0 | PLAY_OUT0 | TIM2_etr16 TIM3_etr16 lptim1_ext_trig7 lptim2_ext_trig7 |
| play_out1 | PLAY_OUT1 | TIM1_brk[3] TIM8_brk[3] |
| play_out2 | PLAY_OUT2 | TIM1_brk2[3] TIM8_brk2[3] |
| play_out3 | PLAY_OUT3 | TIM2_ti1_4 TIM3_ti1_4 lptim1_in1_mux2 lptim2_in1_mux2 |
| play_out4 | PLAY_OUT4 | TIM2_ti2_3 TIM3_ti2_3 lptim1_in2_mux2 lptim2_in2_mux2 |
| play_out5 | PLAY_OUT5 | TIM2_ti3_1 TIM3_ti3_1 lptim1_ic1_mux3 lptim2_ic1_mux3 |
| play_out6 | PLAY_OUT6 | TIM2_ti4_1 TIM3_ti4_1 |
| play_out7 | PLAY_OUT7 | adc1_ext_trg20 adc2_ext_trg20 adc3_ext_trg20 |
| play_out8 | PLAY_OUT8 | - |
| play_out9 | PLAY_OUT9 | adc1_jext_trg20 adc2_jext_trg20 adc3_jext_trg20 |
| play_out10 | PLAY_OUT10 | - |
| play_out11 | PLAY_OUT11 | dac_trg14 |
| play_out12 | PLAY_OUT12 | dac_trg15 |
| play_out13 | PLAY_OUT13 | dts_ts1_trg4 |
| play_out14 | PLAY_OUT14 | EXTI_event_64 |
| play_out15 | PLAY_OUT15 | GPDMA_trig_72 |
24.3.3 PLAY reset and clocks
The PLAY has two reset inputs:
- • play_rstn: connected to the power reset
- • play_app_rstn: connected to the system reset
The PLAY configuration registers are reset by:
- • play_rstn
All other registers, including the PLAY logic element output registers, are reset by:
- • play_rstn
- • play_app_rstn
The PLAY configuration and control registers are clocked by:
- • pclk (APB bus clock)
The synchronisation and filters are clocked by:
- • play_clk
The PLAY logic element output registers are clocked by:
- • play_clk, optionally conditioned by any of the PLAY inputs or logic element registered outputs
24.3.4 Input selection
There are 16 inputs to the logic array, in0 to in15, which can be connected to external I/Os or internal signals coming from other functional units.
Each logic array input can connect to one of eight signals. A pre-multiplexer selects which signal is connected to an input. The pre-multiplexer for logic array input n is configured by the PLAY_FILTnCFG.PREMUXSEL[2:0] register field (see Figure 136). Only one signal can be chosen per input.
Figure 136. Input multiplexing
![Diagram illustrating input multiplexing for the PLAY logic array. It shows two examples: PLAY_IN0 and PLAY_IN15. For each, a pre-multiplexer (represented by a triangle) selects one of eight signals (play_in0_0 to play_in0_7 for IN0, and play_in15_0 to play_in15_7 for IN15) based on the configuration register field (PLAY_FILT0CFG.PREMUXSEL[2:0] for IN0, and PLAY_FILT15CFG.PREMUXSEL[2:0] for IN15). The output of the multiplexer is the Logic array input in0 or in15 respectively.](/RM0517-STM32H5E4-5F4-5E5-5F5/62c9519be08d4ce1b278b0bedee9d796_img.jpg)
The diagram shows the input multiplexing process for the PLAY logic array. It illustrates two specific inputs, PLAY_IN0 and PLAY_IN15, as examples. For each input, a pre-multiplexer (represented by a triangle) selects one of eight signals (play_in0_0 to play_in0_7 for IN0, and play_in15_0 to play_in15_7 for IN15) based on the configuration register field (PLAY_FILT0CFG.PREMUXSEL[2:0] for IN0, and PLAY_FILT15CFG.PREMUXSEL[2:0] for IN15). The output of the multiplexer is the Logic array input in0 or in15 respectively. The diagram is labeled MSv74237V2.
The mapping of signals to logic array inputs is shown in Table 195. The left hand column contains the logic array input number. The columns to the right show the play_in signal name as well as the source signal to which it is connected, for each setting of PLAY_FILTnCFG.PREMUXSEL[2:0]. Some source signal names appear more than once in the table, which means they can be mapped to more than one input. This offers more flexibility when mapping source signals to logic array inputs.
24.3.5 Input filtering and edge detection
Inputs pass through a filter stage, which can be configured to remove short pulses or glitches and generate a pulse if an edge is detected (see Figure 137).
Figure 137. Input filter and edge detection

The diagram shows the signal flow for input filtering and edge detection. An 'Input' signal enters a 'Sync' block, followed by a 'Filter' block. The output of the 'Filter' is fed into a multiplexer (MUX) with select lines from PLAY_FILTCFGn.WIDTH[7:0]. The MUX output goes to an 'Edge detect' block. The output of 'Edge detect' is fed into another MUX with select lines from PLAY_FILTCFGn.EDGEDET[1:0]. The final output goes 'To input interconnect'. A reference code 'MSv74236V1' is located in the bottom right corner.
Filtering
Every input has a filter which removes pulses shorter than a programmable number of play_clk clock cycles (after synchronization). The filter samples the input at the play_clk clock frequency and starts a counter if it detects a change in state. If the input transitions again before the counter reaches zero, the counter is stopped and reloaded, and the filter output state remains unchanged. If the counter reaches zero, it is reloaded and the filter output state toggles.
The minimum pulse width for input n can be programmed from 1 to 255 cycles in register bits PLAY_FILTCFGn.WIDTH[7:0]. Note that the filter introduces a delay equal to the programmed minimum pulse width.
Figure 138 illustrates the operation of the filter for PLAY_FILTCFGn.WIDTH[7:0] = 3. Pulses whose width is less than three periods of play_clk (\(T_{play\_clk}\)) are filtered. Pulses whose width is three periods or more propagate through the filter, with a delay of three \(T_{play\_clk}\) periods.
Figure 138. Filter operation example

The timing diagram illustrates the filter's behavior with PLAY_FILTCFGn.WIDTH[7:0] = 3. It shows four signals over time: play_clk, 'Input before synchronization', 'Input after synchronization', and 'Filter output'. \(T_{play\_clk}\) is the clock period. A 2-cycle wide pulse in the input is shown as 'pulse is filtered' (dashed box) in the output. A 4-cycle wide pulse in the input results in a 3-cycle wide pulse in the filter output, delayed by 3 cycles. A reference code 'MSv74235V1' is in the bottom right corner.
The filter can be bypassed by setting PLAY_FILTCFGn.WIDTH[7:0] = 0.
Edge detection and pulse generation
For all inputs there is an optional edge detection feature which detects a transition and generates a positive pulse of one play_clk clock period. This can be used to detect and lengthen pulses which are shorter than the play_clk clock period, or to trigger actions on an edge rather than a level. The edge detection feature is enabled for input n by programming the PLAY_FILTCFGn.EDGEDET[1:0] field with direction of the transition (rising, falling or both edges). Setting the field to 0 disables and bypasses the edge detection.
If the filter is enabled (PLAY_FILTCFGn.WIDTH[7:0] > 0), the edge detector generates a pulse when an edge is detected at the output of the filter (see Figure 139). Note that if both rising and falling edges are programmed, back-to-back transitions on successive clocks generate a double length pulse.
Figure 139. Edge detector operation (rising and falling edge) with filter enabled
![Timing diagram for Figure 139 showing edge detector operation with filter enabled. It displays three signals: play_clk, Filter output, and Edge detector output. The play_clk is a periodic square wave. The Filter output shows a delayed version of the input signal's edges. The Edge detector output shows positive pulses synchronized to the play_clk clock edges, triggered by transitions in the Filter output. The configuration is PLAY_FILTCFGn.EDGEDET[1:0] = 3. A time period T_play_clk is indicated between clock edges.](/RM0517-STM32H5E4-5F4-5E5-5F5/423805b6a572360213ad283b17d7e3f1_img.jpg)
MSv74233V1
To lengthen a pulse shorter than one play_clk period, the filter must be bypassed. This is done by setting PLAY_FILTCFGn.WIDTH[7:0] = 0. The synchronization is done by the edge detection unit. When an edge is detected on the input signal, a positive pulse is generated after a delay of between one and two play_clk periods (see Figure 140).
Figure 140. Edge detector operation (rising and falling edge) with filter bypassed
![Timing diagram for Figure 140 showing edge detector operation with filter bypassed. It displays three signals: play_clk, Input, and Edge detector output. The play_clk is a periodic square wave. The Input signal shows several transitions. The Edge detector output shows positive pulses synchronized to the play_clk clock edges, triggered directly by transitions in the Input signal. The configuration is PLAY_FILTCFGn.EDGEDET[1:0] = 3. A time period T_play_clk is indicated between clock edges.](/RM0517-STM32H5E4-5F4-5E5-5F5/b7a1fb427a356ddcad8f3ab5f12f3db3_img.jpg)
MSv74234V1
If both rising and falling edges are programmed, and the input pulse width is less than one play_clk period, only one output pulse is generated. Note however that if two transitions occur either side of a clock edge, a double length pulse is generated.
Synchronization
All input signals are considered to be asynchronous to the play_clk clock. If any synchronous logic is connected downstream, it is mandatory to synchronize the inputs to
the play_clk clock, to avoid meta-stability. Synchronization introduces a delay of 1 to 2 play_clk periods.
Synchronization is performed by enabling the filter or the edge detector. If both the filter and edge detector are bypassed (PLAY_FILTnCFG.WIDTH[7:0] = 0 and PLAY_FILTnCFG.EDGEDET[1:0] = 0), the input signal is propagated directly to the logic array without synchronization.
Caution: If both edge detector and filter are bypassed, the input must only be used to drive purely combinatorial logic.
24.3.6 Software programmable inputs
The PLAY_SWIN register contains 16 bits which are connected to inputs swin0 to swin15. This allows software programmable functionality to be included in the logic expression. This can be used for example to enable or disable functionality, or to trigger state transitions, by software. These inputs also allow testing of the programmed logic array functionality.
The PLAY_SWIN register bits can be set independently by writing a 1 to the corresponding bits in the PLAY_SWIN_SET register. In the same way they can be reset by writing a 1 to the corresponding bits in the PLAY_SWIN_CLR register. It is also possible to read and write the bits directly in the PLAY_SWIN register.
Every time there is a write to the PLAY_SWIN, PLAY_SWIN_SET or PLAY_SWIN_CLR register, a positive pulse is generated on the swin_we signal. The pulse lasts one play_clk cycle, starting from the moment the register value is updated (see Figure 141). The swin_we signal is connected to the input interconnect and can be used as a clock enable for any of the logic element output registers. This means that writing to the PLAY_SWIN register can trigger a state transition conditioned by the new values on swin0 to swin15, for example.
Figure 141. swin_we pulse timing
![Timing diagram showing play_clk, swin[15:0] (with segments mmmm and nnnn), and swin_we signals. The swin_we signal shows a positive pulse that starts at the rising edge of play_clk and ends at the next rising edge of play_clk. The swin[15:0] signal changes from 'mmmm' to 'nnnn' during this pulse.](/RM0517-STM32H5E4-5F4-5E5-5F5/b5000f365406ade40b671bffc676ff27_img.jpg)
The figure is a timing diagram enclosed in a rectangular box. It contains three horizontal signal traces. The top trace is labeled 'play_clk' and shows a periodic square wave. The middle trace is labeled 'swin[15:0]' and shows a signal that is divided into two segments by a vertical line: the first segment is labeled 'mmmm' and the second is labeled 'nnnn'. The bottom trace is labeled 'swin_we' and shows a single positive pulse. This pulse begins at the rising edge of the first 'play_clk' cycle and ends at the rising edge of the second 'play_clk' cycle. The transition from 'mmmm' to 'nnnn' on the 'swin[15:0]' signal occurs exactly at the rising edge of the second 'play_clk' cycle, which is also the rising edge where the 'swin_we' pulse ends. In the bottom right corner of the box, the text 'MSv74251V1' is printed.
24.3.7 Logic elements
The logic array provides 16 logic elements (LEs), each containing a 4-input, single output look-up table (LUT) and a register (Figure 142).
Figure 142. Logic element
![Diagram of a Logic Element (LE) showing a 16-entry Look-Up Table (LUT) with inputs lein[3:0] and outputs leoutd (direct) and leoutr (registered). A clock enable signal (play_clk) controls the registered output.](/RM0517-STM32H5E4-5F4-5E5-5F5/d0e199c66831cf12d470f25888d29c00_img.jpg)
The diagram illustrates a Logic Element (LE) structure. It features a Look-Up Table (LUT) with 16 entries, labeled d[0] through d[15]. Four inputs, lein[3:0], are fed into the LUT. The LUT produces a direct output, leoutd. This output is also connected to a multiplexer (represented by a triangle symbol) that selects between the direct output and a registered output, leoutr. The selection is controlled by a clock enable signal, play_clk, which is ANDed with another signal before being fed into the multiplexer. The diagram is labeled MSv74239V1 in the bottom right corner.
Look-up table (LUT)
The LUT is a 16 x 1-bit memory which generates a single output, leoutd, whose value is a function of the four LUT inputs, lein[3:0] which make up the address. The LUT is programmed at configuration time with the required state of the output for every possible combination of lein[3:0].
To implement a Boolean logic expression, the full truth table for the expression must be detailed.
This is demonstrated using the following logic expression as an example:
This expression corresponds to the diagram in Figure 143.
Figure 143. Example logic expression 1

The diagram shows the implementation of the logic expression \(\text{leoutd} = \text{lein}[0] \text{ AND } \text{lein}[1] \text{ OR } \text{lein}[2] \text{ AND } \text{lein}[3]\). It consists of two AND gates. The first AND gate takes inputs lein[0] and lein[1]. The second AND gate takes inputs lein[2] and lein[3]. The outputs of these two AND gates are connected to the inputs of an OR gate. The output of the OR gate is leoutd. The diagram is labeled MSv74240V1 in the bottom right corner.
The truth table is given in Table 197.
Table 197. Truth table example 1
| Inputs - lein[3:0] | Output - leoutd |
|---|---|
| 0000 | 0 |
| 0001 | 0 |
| 0010 | 0 |
| 0011 | 1 |
| 0100 | 0 |
Table 197. Truth table example 1 (continued)
| Inputs - lein[3:0] | Output - leoutd |
|---|---|
| 0101 | 0 |
| 0110 | 0 |
| 0111 | 1 |
| 1000 | 0 |
| 1001 | 0 |
| 1010 | 0 |
| 1011 | 1 |
| 1100 | 1 |
| 1101 | 1 |
| 1110 | 1 |
| 1111 | 1 |
The left hand column lists the address formed by the combination of the four LUT inputs, lein[3:0], and the right hand column lists the required output value on leoutd for each input combination.
During configuration, the LUT is programmed as a single 16-bit register, with the data read from the output column of the truth table, read from bottom (MSB) to top (LSB). In this example the LUT configuration register would be programmed with 1111 1000 1000 1000 (0xF888).
If any of the inputs are unused or “don’t care”, the output must be the same for both possible values of the unused input. In other words, the contents of address 0bxnnn must be the same for x = 0 or x = 1.
For example, in the following logic expression, lein[3] is unused:
\(leoutd = lein[0] \text{ AND } lein[1] \text{ OR } lein[2]\)
Figure 144. Example logic expression 2
![Logic diagram for Figure 144. Example logic expression 2. It shows four inputs: lein[0], lein[1], lein[2], and lein[3]. lein[0] and lein[1] are connected to an AND gate. The output of the AND gate and lein[2] are connected to an OR gate. The output of the OR gate is leoutd. lein[3] is shown with a cross, indicating it is unused. The diagram is labeled MSv74241V1.](/RM0517-STM32H5E4-5F4-5E5-5F5/741c1ab391066769563e8f83cf99b76d_img.jpg)
graph LR
lein0[lein[0]] --- AND[AND]
lein1[lein[1]] --- AND
AND --- OR[OR]
lein2[lein[2]] --- OR
OR --- leoutd[leoutd]
lein3[lein[3]] --- X((X))
MSv74241V1
The truth table for this expression is shown in Table 198. To obtain the full LUT, each row containing an ‘x’ is split into two identical rows. Then the ‘x’ is replaced by ‘0’ and ‘1’ respectively.
In this example the configuration register is programmed with 1111 1000 1111 1000 (0xF8F8).
Table 198. Truth table example 2
| lein[3:0] | leoutd |
|---|---|
| x000 | 0 |
| x001 | 0 |
| x010 | 0 |
| x011 | 1 |
| x100 | 1 |
| x101 | 1 |
| x110 | 1 |
| x111 | 1 |
Alternatively, the unused input can be connected to an unused input with value 0 (see Table 199), so that addresses with x = 1 are never accessed and can be left at 0.
The LUT configuration registers are directly mapped in the PLAY APB address space. The LUT configuration for logic element n is programmed in the register bit field PLAY_LEnCFG1.LUT[15:0].
LE output register
The LUT output can be direct or registered. Output registers are clocked by the play_clk, optionally qualified by a clock enable signal. When the clock enable signal is high, the register is updated with the LUT output every play_clk cycle. A clock enable must be high for at least one play_clk cycle. This constraint is guaranteed for input signals using edge detection or filtering (see Section 24.3.5: Input filtering and edge detection). It is also guaranteed for the synchronous feedback signals leoutr[15:0].
Caution: Asynchronous signals must not be selected as clock enables.
During configuration (when PLAY_CFGCR.UNLOCK = 1), the logic element registers are held in reset.
Logic element registers are also reset by play_rstn and play_app_rstn.
24.3.8 Input interconnect
The input interconnect selects which signals are connected to each logic element, as shown in Figure 145.
Figure 145. Input interconnect
![Figure 145. Input interconnect block diagram illustrating the interconnect matrix for Logic Elements LE0 through LE15 with multiplexers configured by PLAY_LExCFG2.INm_SEL[5:0] signals, taking inputs from in[15:0], swin[15:0], and feedback signals leoutd and leoutr.](/RM0517-STM32H5E4-5F4-5E5-5F5/e874c20489870ecdbe72b5f0580ec4ab_img.jpg)
MSv74243V1
LUT input selection
For each logic element, up to four input signals can be configured as LUT inputs, and one as a clock enable for the LE register. The LUT inputs can be selected from among the following signals:
- • in[15:0] - 16 inputs from I/Os or other functional blocks, via the filter and edge detection unit
- • swin[15:0] - 16 register bits (PLAY_SWIN register)
- • leoutr[15:0] - 16 feedback signals from LE registered outputs
- • logic 0
Each logic element's direct output can be fed back to one of its inputs. This allows implementation of asynchronous latches.
It is also possible to connect the direct outputs of certain logic elements to the inputs of others - see Combining logic elements.
For logic element n (0 to 15), the signals connected to input m (0 to 3), are selected by configuration register PLAY_LEnCFG2, bit field INm_SEL[5:0].
The selection of the LUT input signals is summarized in Table 199.
For example, to connect input signal in15 to input 2 of logic element 0, program PLAY_LE0CFG2.IN2_SEL[5:0] = 47. To connect input 3 of logic element 1 to the direct output of logic element 0, leoutd0, program PLAY_LE1CFG2.IN3_SEL[5:0] = 0.
Table 199. Logic element n LUT input selection
| PLAY_LEnCFG2.INm_SEL[5:0] | Signal connected to LUT input m | Source |
|---|---|---|
| 0 | For n = 4,8,12: 0 | - |
| For n = 0,1,2,3,5,6,7,9,10,11,13,14,15: leoutd[0] | LE 0 direct output | |
| 1 | For n = 0,4,5,8,9,12,13: 0 | - |
| For n = 1,2,3,6,7,10,11,14,15: leoutd[1] | LE 1 direct output | |
| 2 | For n = 0,1,4,5,6,8,9,10,12,13,14: 0 | - |
| For n = 2,3,7,11,15: leoutd[2] | LE 2 direct output | |
| 3 | For n = 0,1,2,4,5,6,7,8,9,10,11,12,13,14,15: 0 | - |
| For n = 3: leoutd[3] | LE 3 direct output | |
| 4 | For n = 0,8,12: 0 | - |
| For n = 1,2,3,4,5,6,7,9,10,11,13,14,15: leoutd[4] | LE 4 direct output | |
| 5 | For n = 0,1,4,8,9,12,13: 0 | - |
| For n = 2,3,5,6,7,10,11,14,15: leoutd[5] | LE 5 direct output | |
| 6 | For n = 0,1,2,4,5,8,9,10,12,13,14: 0 | - |
| For n = 3,6,7,11,15: leoutd[6] | LE 6 direct output | |
| 7 | For n = 0,1,2,3,4,5,6,8,9,10,11,12,13,14,15: '0' | - |
| For n = 7: leoutd[7] | LE 7 direct output | |
| 8 | For n = 0,4,12: 0 | - |
| For n = 1,2,3,5,6,7,8,9,10,11,13,14,15: leoutd[8] | LE 8 direct output | |
| 9 | For n = 0,1,4,5,8,12,13: 0 | - |
| For n = 2,3,6,7,9,10,11,14,15: leoutd[9] | LE 9 direct output | |
| 10 | For n = 0,1,2,4,5,6,8,9,12,13,14,15: 0 | - |
| For n = 3,7,10,11: leoutd[10] | LE 10 direct output | |
| 11 | For n = 0,1,2,3,4,5,6,7,8,9,10,12,13,14,15: 0 | - |
| For n = 11: leoutd[11] | LE 11 direct output | |
| 12 | For n = 0,4,8: 0 | - |
| For n = 1,2,3,5,6,7,9,10,11,12,13,14,15: leoutd[12] | LE 12 direct output | |
| 13 | For n = 0,1,4,5,8,9,12: 0 | - |
| For n = 2,3,6,7,10,11,13,14,15: leoutd[13] | LE 13 direct output |
Table 199. Logic element n LUT input selection (continued)
| PLAY_LEnCFG2.INm_SEL[5:0] | Signal connected to LUT input m | Source |
|---|---|---|
| 14 | For n = 0,1,2,4,5,6,8,9,10,12,13: 0 | - |
| For n = 3,7,11,14,15: leoutd[14] | LE 14 direct output | |
| 15 | For n = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14: 0 | - |
| For n = 15: leoutd[15] | LE 15 direct output | |
| 16 to 31 | leoutr[0] to leoutr[15] | LE registered outputs |
| 32 to 47 | in0 to in15 | input signals |
| 48 to 63 | swin0 to swin15 | PLAY_SWIN |
LE clock enable selection
The LE register clock enable can be selected from any of these signals:
- • in[15:0] - 16 inputs from I/Os or other functional blocks, via the filter and edge detection
- • swin[15:0] - 16 register bits (PLAY_SWIN register)
- • swin_we - pulse indicating that a write to the PLAY_SWIN register has taken place
- • leoutr[15:0] - 16 feedback signals from LE registered outputs
- • 0- clock disabled
- • 1- always enabled
For logic element n the clock enable is selected by configuration register bits PLAY_LEnCFG2.CK_SEL[5:0].
The selection of the LE register clock is summarized in Table 200.
Table 200. Logic element n register clock selection
| PLAY_LEnCFG2.CK_SEL[5:0] | Clock enable signal(1) | Source |
|---|---|---|
| 0 | 0 (clock disabled) | - |
| 1 | 1 (always enabled) | - |
| 2 | swin_we | APB interface |
| 3 to 15 | reserved | - |
| 16 to 31 | leoutr0 to leoutr15 (excluding leoutrn) | LE registered outputs |
| 32 to 47 | in0 to in15 | input signals |
| 48 to 63 | swin0 to swin15 | PLAY_SWIN |
1. Reserved values select 0
Combining logic elements
LE 0-3 form a group which can be cascaded combinatorially from left to right (see Figure 146):
- • LE0 direct output can be connected to LE1-3 inputs
- • LE1 direct output can be connected to LE2-3 inputs
- • LE2 direct output can be connected to LE3 inputs
The other groups of four (LE 4-7, LE 8-11, LE12-15) can be cascaded in the same way. Furthermore, logic elements from different groups can be connected together, provided the left to right logic flow is respected. For example, LE4 direct output can be connected to LE1 input, but not to LE0 input.
Figure 146. Logic element cascading

MSv74238V1
It is also possible to use one logic element to combine the outputs of up to three others, as shown in Figure 147. In this example, the direct outputs of LE0-2 are connected to the inputs of LE3. This allows up to 13 different inputs to be combined in a single logic expression.
Figure 147. Combining logic elements in parallel

MSv74249V1
Note that combining logic elements in this way requires the logic expression to be split into partial expressions, with up to four inputs each.
For example, consider the following expression:
This expression has six inputs (X1 to X6) and one output (Y). It therefore requires at least two logic elements, for example LE0 and LE1, as illustrated in Figure 148. The expression for Y can be split into two expressions:
- a) \(Y0 = (X1 \text{ AND } X2) \text{ OR } (X3 \text{ AND } X4)\)
- b) Y = Y0 OR (X5 AND X6)
Then LE0 is configured with expression 'a', and LE1 with expression 'b'. Inputs X1 to X4 are connected to LE0. Inputs X5 and X6, are connected to LE1, together with Y0, the direct output of LE0.
Figure 148. Splitting logic expressions between logic elements

The diagram illustrates the internal structure of two logic elements, LE0 and LE1, and how they implement the splitting of a logic expression. At the top, LE0 is shown with inputs X1, X2, X3, and X4, producing output Y0. LE1 is shown with inputs X5, X6, and Y0, producing output Y. Below this, the internal structure of each logic element is detailed. LE0's Look-Up Table (LUT) contains two AND gates (one for X1 and X2, another for X3 and X4) whose outputs are combined by an OR gate to produce Y0. LE1's LUT contains one AND gate (for X5 and X6) and one OR gate. The OR gate takes Y0 and the output of the AND gate as inputs to produce Y. Dashed lines connect the LUTs to their respective LE blocks. The label 'MSv74250V1' is located in the bottom right corner of the diagram area.
24.3.9 Output interconnect
The output interconnect selects which logic element or eFPGA outputs are connected to which PLAY outputs, as shown in Figure 149.
Figure 149. Output interconnect
![Figure 149. Output interconnect diagram. The diagram shows two multiplexers selecting between logic element outputs (le_outd[15:0] and le_outtr[15:0]) and configuration register bits (PLAY_OUTnCFG.SEL[4:0]) to drive PLAY outputs (play_out0 to play_out15). The multiplexers are controlled by the configuration register bits. The outputs are also connected to flags.](/RM0517-STM32H5E4-5F4-5E5-5F5/fc9c10119f8f24e4ce3cf9b00da2bebf_img.jpg)
The diagram illustrates the output interconnect logic. It shows two multiplexers. The first multiplexer selects between le_outd[15:0] and le_outtr[15:0] based on the configuration register bits PLAY_OUT0CFG.SEL[4:0] to drive play_out0. The second multiplexer selects between le_outd[15:0] and le_outtr[15:0] based on the configuration register bits PLAY_OUT15CFG.SEL[4:0] to drive play_out15. The outputs are also connected to flags. The diagram is labeled MSv74248V1.
The PLAY outputs include the following signals:
- •
play_out[15:0]- 16 outputs to I/Os or other functional blocks
Each output can be connected to any one of the logic element outputs, registered or direct. The signal connected to output n is selected by configuration register bits PLAY_OUTnCFG.SEL[4:0].
The output selection is summarized in Table 201.
Table 201. Output n source selection
PLAY_OUTnCFG.SEL[4:0] | Source |
|---|---|
| 0 | leoutd0- LE0 direct output |
| 1 | leoutd1- LE1 direct output |
| 2 | leoutd2- LE2 direct output |
| 3 | leoutd3- LE3 direct output |
| 4 | leoutd4- LE4 direct output |
| 5 | leoutd5- LE5 direct output |
| 6 | leoutd6- LE6 direct output |
| 7 | leoutd7- LE7 direct output |
| 8 | leoutd8- LE8 direct output |
| 9 | leoutd9- LE9 direct output |
| 10 | leoutd10- LE10 direct output |
Table 201. Output n source selection (continued)
| PLAY_OUTnCFG.SEL[4:0] | Source |
|---|---|
| 11 | leoutd11 - LE11 direct output |
| 12 | leoutd12 - LE12 direct output |
| 13 | leoutd13 - LE13 direct output |
| 14 | leoutd14 - LE14 direct output |
| 15 | leoutd15 - LE15 direct output |
| 16 | leoutr0 - LE0 register output |
| 17 | leoutr1 - LE1 register output |
| 18 | leoutr2 - LE2 register output |
| 19 | leoutr3 - LE3 register output |
| 20 | leoutr4 - LE4 register output |
| 21 | leoutr5 - LE5 register output |
| 22 | leoutr6 - LE6 register output |
| 23 | leoutr7 - LE7 register output |
| 24 | leoutr8 - LE8 register output |
| 25 | leoutr9 - LE9 register output |
| 26 | leoutr10 - LE10 register output |
| 27 | leoutr11 - LE11 register output |
| 28 | leoutr12 - LE12 register output |
| 29 | leoutr13 - LE13 register output |
| 30 | leoutr14 - LE14 register output |
| 31 | leoutr15 - LE15 register output |
24.3.10 Flags
A transition on any of the logic element outputs leoutd[15:0] or leoutr[15:0] can set the corresponding flag in the PLAY_FLSTAT register.
The direction of the transition (rising or falling) can be selected in the PLAY_FLCTL register. Once set, the flag can only be reset by software writing to the PLAY_FLCLR register (or by a reset). Setting a flag generates an interrupt to the CPU on the play_irq signal, if the enable bit for the flag is set in the PLAY_FLIER register. To clear the interrupt the software must reset the flag, or mask it by resetting the enable.
Due to the asynchronous relationship between play_clk and the pclk, a resynchronisation delay is incurred between a transition on the logic element output and the setting of the corresponding flag. The maximum delay is approximately one period of play_clk plus three periods of pclk. The play_irq interrupt is not asserted until the flag goes high. Note that if successive transitions occur on the same output before the flag is cleared, they are not taken into account. However if a subsequent transition on another logic element output occurs during the resynchronization delay, a second resynchronization starts as soon as the first is finished, at the end of which the second flag is set.
The raw state of the signals can also be read by software via the PLAY_OSR register. This is primarily intended for debugging the programmed logic. The user must be aware that the logic element outputs can change asynchronously and the value that is read from PLAY_OSR may not correspond to the actual state of the outputs at the moment of reading.
24.3.11 Miscellaneous status bits
The software input register (PLAY_SWIN), and the flag edge control register (PLAY_FLCTL) are in the play_clk domain. When a write occurs to one of these registers (including to PLAY_SWINSET/CLR), the write data is stored temporarily in the APB bus clock (pclk) domain until the next play_clk pulse at which point the data is transferred to the target register. If play_clk is slow compared to pclk, or if it is inactive, the update could take an indefinitely long time to complete. To avoid stalling the processor, any subsequent writes to the same register before the target register update has completed, are ignored.
To ensure that updates are not lost, the PLAY_MSR register contains two read-only status bits, SWIN write busy flag (SWIN_WBFS) and FLCTL write busy flag (FLCTL_WBFS). When one of these bits is set to 1, it indicates that an update is pending to the corresponding register, PLAY_SWIN or PLAY_FLCTL. The busy flags are automatically reset to 0 when the update completes.
If play_clk is significantly slower than pclk, it is recommended to poll the busy flag in the PLAY_MSR prior to writing to the corresponding register, to be sure that it has reset to 0 indicating that the previous update has completed.
Alternatively, software can enable the write complete interrupts in the PLAY_IER register to generate an interrupt request when a pending write completes (see Section 24.5).
24.4 PLAY in low-power modes
The play_clk can be maintained when the system is in low-power mode (Stop mode). The full functionality of the logic array is available, but the memory-mapped registers are not accessible and the flags are not updated.
When the play_clk is stopped, the logic element output registers do not operate, neither does the edge detection and filtering. However combinatorial logic continues to function as programmed.
If a logic element direct output is mapped to an asynchronous wake-up event, a transition on the output can wake the system from Stop mode. It is recommended to configure one of the software programmable inputs to reset the output so that software can deassert the wake-up event, if it is not otherwise deasserted.
In Standby mode, the PLAY is powered down and no longer functional. It must be reconfigured on exit from Standby.
24.5 PLAY interrupts
There is one interrupt request, play_irq, which can be configured to interrupt the processor when any of the following conditions occurs:
- 1. One or more of the flags are set, as indicated by the PLAY_FLSTAT register
- 2. An outstanding write to the PLAY_FLCTL register has completed, as indicated by the FLCTLWBFS bit in the PLAY_MSR register.
- 3. An outstanding write to the PLAY_SWIN register has completed, as indicated by the SWINWBFS bit in the PLAY_MSR register.
An interrupt handler must first read the PLAY interrupt status register (PLAY_ISR) to determine the source of the interrupt.
If the FLCTL write complete (FLCTLWC) or SWIN write complete (SWINWC) bits are set, it means that a previous write respectively to the PLAY_FLCTL or PLAY_SWIN register has completed. The write complete status bits can be cleared by writing a one to the corresponding bit in the interrupt clear (PLAY_ICR) register. The write complete interrupts are enabled and disabled by writing to the PLAY_IER register.
If the PLAY_ISR.FLAGS bit is set, the interrupt handler must read the PLAY_FLSTAT register to determine which flag(s) caused the interrupt. The FLAGS bit is reset by hardware when all the flags are inactive or masked. See Section 24.3.10 for more details.
24.6 PLAY registers
There are three types of PLAY registers:
- • Access control registers:
- PLAY_SECCFGR
- PLAY_PRIVCFGR
- • Configuration registers: PLAY_CFGCR, PLAY_FILTxCFGR, PLAY_LExCFG1, PLAY_LExCFG2, PLAY_OUTxCFGR
These registers configure the logic elements, input and output interconnects, input multiplexers and filters.
- • Functional registers: PLAY_SWIN, PLAY_SWINSET, PLAY_SWINCLR, PLAY_OSR, PLAY_FLSTAT, PLAY_FLSET, PLAY_FLCLR, PLAY_FLIER, PLAY_FLCTL, PLAY_MSR, PLAY_ISR, PLAY_IER, PLAY_ICR
These registers are used by the application software to interact with the logic array during operation.
24.6.1 PLAY configuration control register (PLAY_CFGCR)
Address offset: 0x000
Reset value: 0x0000 0001
This register contains miscellaneous configuration bits. It is a configuration register and is reset by play_rstn.
If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UNLOCK |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 UNLOCK: Unlock configuration
When configuration is complete, it must be set to 0 to prevent accidental corruption of the configuration registers and enable operation of the logic element registers.
0: Configuration is locked. All configuration registers are write protected.
1: Configuration is unlocked. Configuration registers can be programmed.
24.6.2 PLAY security attributes configuration register (PLAY_SECCFGR)
Address offset: 0x004
Reset value: 0x0000 0000
This register controls the security attributes of the PLAY registers. It is an access control register and is reset by play_rstn.
The register can only be modified by a secure, privileged write access. It can be read by any access. A nonsecure write access is ignored. An unprivileged write access is ignored.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEC[1:0] | |
| rw | rw | ||||||||||||||
Bits 31:2 Reserved, must be kept at reset value.
Bits 1:0 SEC[1:0]: Secure access control
- 0: All registers are accessible in nonsecure or secure state
- 1: Configuration registers can only be accessed in secure state. All other registers can be accessed in secure or nonsecure state.
- 2: Reserved
- 3: All registers are accessible in secure state only.
24.6.3 PLAY privilege attributes configuration register (PLAY_PRIVCFGR)
Address offset: 0x008
Reset value: 0x0000 0000
This register controls the privilege attributes of the PLAY registers. It is an access control register and is reset by play_rstn. It can only be modified by a privileged write access. It can be read by any access.
If PLAY_SECFGR.SEC[n] = 1, PLAY_PRIVCFG.PRIV[n] can only be modified by a secure write access. A nonsecure write access to PLAY_PRIVCFG.PRIV[n] is ignored.
If PLAY_SECCFGR.SEC[n] = 0, PLAY_PRIVCFG.PRIV[n] can be modified by secure or nonsecure write access.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRIV[1:0] | |
| rw | rw | ||||||||||||||
Bits 31:2 Reserved, must be kept at reset value.
Bits 1:0 PRIV[1:0]: Privilege access control
- 0: All registers are accessible in unprivileged or privileged state
- 1: Configuration registers can only be accessed in privileged state. All other registers can be accessed in privileged or unprivileged state.
- 2: Reserved
- 3: All registers are accessible in privileged state only.
24.6.4 PLAY filter x configuration register (PLAY_FILTxCFG)
Address offset: 0x020 + 0x04 * x, (x = 0 to 15)
Reset value: 0x0000 0000
This register configures the filter, edge detector and premultiplexer for logic array input x. It is a configuration register and is reset by play_rstn. Write accesses to this register are ignored if PLAY_CFGCR.UNLOCK = 0.
If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored, and signaled on play_sec_ilac).
If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored, and signaled on play_priv_ilac).
| RM0517 24.6.4 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREMUXSEL[2:0] | ||
| rw | rw | rw | |||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | EDGEDET[1:0] | WIDTH[7:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| Bits 18:16 | PREMUXSEL[2:0] | : Input pre-multiplexer select | |||||||||||||
| Selects the signal to be connected to the input. See | Table 195 | for details. | |||||||||||||
| Bits 9:8 | EDGEDET[1:0] | : Edge detection mode. | |||||||||||||
| Bits 7:0 | cycle. WIDTH[7:0] | : Minimum pulse width | |||||||||||||
| RM0517 Rev 1 | 1009/ | 3945 |
Bits 31:19 Reserved, must be kept at reset value.
Bits 18:16 PREMUXSEL[2:0]: Input pre-multiplexer select
Selects the signal to be connected to the input. See Table 195 for details.
Bits 15:10 Reserved, must be kept at reset value.
Bits 9:8 EDGEDET[1:0]: Edge detection mode.
0: Edge detection is bypassed
1: A rising edge transition on the input is converted into a positive pulse of 1 play_clk cycle.
2: A falling edge transition on the input is converted into a positive pulse of 1 play_clk cycle.
3: A rising or falling edge transition on the input is converted into a positive pulse of 1 play_clk cycle.
Bits 7:0 WIDTH[7:0]: Minimum pulse width
0: Filter is bypassed.
1 to 255: Minimum pulse width, in play_clk cycles. Any pulse on the input shorter than this is ignored.
24.6.5 PLAY logic element x configuration register 1 (PLAY_LExCFG1)
Address offset: 0x060 + 0x04 * x, (x = 0 to 15)
Reset value: 0x0000 0000
This register configures the look-up table contents for logic element x. It is a configuration register and is reset by play_rstn. Write accesses to this register are ignored if PLAY_CFGCR.UNLOCK = 0.
If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LUT[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 LUT[15:0]: Look-up table contents.
Truth table output for the logic element.
24.6.6 PLAY logic element x configuration register 2 (PLAY_LExCFG2)
Address offset: 0x0A0 + 0x04 * x, (x = 0 to 15)
Reset value: 0x00FF FFFF
This register configures the input source and the register clock source for logic element x. It is a configuration register and is reset by play_rstn. Write accesses to this register are ignored if PLAY_CFGCR.UNLOCK = 0.
If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | CK_SEL[5:0] | IN3_SEL[5:0] | IN2_SEL[5:4] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| IN2_SEL[3:0] | IN1_SEL[5:0] | IN0_SEL[5:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:30 Reserved, must be kept at reset value.
- Bits 29:24 CK_SEL[5:0]: Clock enable selection
Selects source to be used as the clock enable for the logic element register. See Table 200 for details.
After reset, this bit field is set to 0x0 (disabled) - Bits 23:18 IN3_SEL[5:0]: Logic element input 3 selection
Selects source for LUT input 3. See Table 199 for details.
After reset, this bit field is set to 0x1F: PLAY_SWIN[15] - Bits 17:12 IN2_SEL[5:0]: Logic element input 2 selection
Selects source for LUT input 2. See Table 199 for details.
After reset, this bit field is set to 0x1F: PLAY_SWIN[15] - Bits 11:6 IN1_SEL[5:0]: Logic element input 1 selection
Selects source for LUT input 1. See Table 199 for details.
After reset, this bit field is set to 0x1F: PLAY_SWIN[15] - Bits 5:0 IN0_SEL[5:0]: Logic element input 0 selection
Selects source for LUT input 0. See Table 199 for details.
After reset, this bit field is set to 0x1F: PLAY_SWIN[15]
24.6.7 PLAY output x configuration register (PLAY_OUTxCFG)
Address offset: 0x100+0x04*x, (x = 0 to 15)
Reset value: 0x0000 0000
This register selects the source for play_out[x]. It is a configuration register and is reset by play_rstn. Write accesses to this register are ignored if PLAY_CFGCR.UNLOCK = 0.
If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEL[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:5 Reserved, must be kept at reset value.
Bits 4:0 SEL[4:0]: Output source selection.
The value of this field selects which LE output is connected to the output. See Table 201 for details.
24.6.8 PLAY software input status register (PLAY_SWIN)
Address offset: 0x200
Reset value: 0x0000 0000
This register is used to read and write the state of the software programmable inputs. It is a functional register and is reset by play_rstn and play_app_rstn.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored, and signaled on play_sec_ilac).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
Caution: play_clk must be active when writing to this register. Any subsequent write access to this register (or PLAY_SWINSET or PLAY_SWINCLR) is ignored until the write completes. Software must poll the PLAY_SWIN write busy flag in the PLAY miscellaneous status register (PLAY_MSR) to make sure that no writes are pending. If play_clk is slow compared to the bus clock, pclk, a write may take a long time to complete. In this case, the PLAY_SWIN register write complete interrupt - see PLAY interrupt status register (PLAY_ISR) - can be used to signal to the software when the registers can be accessed again.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SWIN1 5 | SWIN1 4 | SWIN1 3 | SWIN1 2 | SWIN1 1 | SWIN1 0 | SWIN9 | SWIN8 | SWIN7 | SWIN6 | SWIN5 | SWIN4 | SWIN3 | SWIN2 | SWIN1 | SWIN0 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 SWINy: Input swiny state (y = 15 to 0)
0: Input low
1: Input high
24.6.9 PLAY software input set register (PLAY_SWINSET)
Address offset: 0x204
Reset value: 0x0000 0000
This register is used to set the state of the software programmable inputs. It is a functional register and is reset automatically by hardware.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
Caution: play_clk must be active when writing to this register. Any subsequent write access to this register (or PLAY_SWIN or PLAY_SWINCLR) is ignored until the write completes. Software must poll the PLAY_SWIN write busy flag in the PLAY miscellaneous status register (PLAY_MSR) to make sure that no writes are pending. If play_clk is slow compared to the
bus clock, pclk, a write may take a long time to complete. In this case, the PLAY_SWIN register write complete interrupt - see PLAY interrupt status register (PLAY_ISR) - can be used to signal to the software when the register can be accessed again.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SWIN1 5 | SWIN1 4 | SWIN1 3 | SWIN1 2 | SWIN1 1 | SWIN1 0 | SWIN9 | SWIN8 | SWIN7 | SWIN6 | SWIN5 | SWIN4 | SWIN3 | SWIN2 | SWIN1 | SWIN0 |
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 SWINy: Set PLAY_SWIN.SWINy (y = 15 to 0)
0: Input low
1: Input high
24.6.10 PLAY software input clear register (PLAY_SWINCLR)
Address offset: 0x208
Reset value: 0x0000 0000
This register is used to reset the state of the software programmable inputs. It is a functional register and is reset automatically by hardware.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
Caution: play_clk must be active when writing to this register. Any subsequent write access to this register (or PLAY_SWIN or PLAY_SWINSET) is ignored until the write completes. Software must poll the PLAY_SWIN write busy flag in the PLAY miscellaneous status register (PLAY_MSR) to make sure that no writes are pending. If play_clk is slow compared to the bus clock, pclk, a write may take a long time to complete. In this case, the PLAY_SWIN register write complete interrupt - see PLAY interrupt status register (PLAY_ISR) - can be used to signal to the software when the registers can be accessed again.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SWIN1 5 | SWIN1 4 | SWIN1 3 | SWIN1 2 | SWIN1 1 | SWIN1 0 | SWIN9 | SWIN8 | SWIN7 | SWIN6 | SWIN5 | SWIN4 | SWIN3 | SWIN2 | SWIN1 | SWIN0 |
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 SWINy: Reset PLAY_SWIN.SWINy (y = 15 to 0)
0: Input low
1: Input high
24.6.11 PLAY output status register (PLAY_OSR)
Address offset: 0x210
Reset value: 0x0000 0000
This register allows software to read the state of the LE direct and registered outputs. It is a functional register and is reset by play_rstn and play_app_rstn.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| LEOUT R15 | LEOUT R14 | LEOUT R13 | LEOUT R12 | LEOUT R11 | LEOUT R10 | LEOUT R9 | LEOUT R8 | LEOUT R7 | LEOUT R6 | LEOUT R5 | LEOUT R4 | LEOUT R3 | LEOUT R2 | LEOUT R1 | LEOUT R0 |
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LEOUT D15 | LEOUT D14 | LEOUT D13 | LEOUT D12 | LEOUT D11 | LEOUT D10 | LEOUT D9 | LEOUT D8 | LEOUT D7 | LEOUT D6 | LEOUT D5 | LEOUT D4 | LEOUT D3 | LEOUT D2 | LEOUT D1 | LEOUT D0 |
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:16 LEOUTRy: State of LE registered output leoutry (y = 15 to 0)
Bits 15:0 LEOUTDy: State of LE direct outputs leoutdy (y = 15 to 0)
24.6.12 PLAY flag status register (PLAY_FLSTAT)
Address offset: 0x220
Reset value: 0x0000 0000
This register allows software to read the state of the LE output flags. It is a functional register and is reset by play_rstn and play_app_rstn.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| FLAGR 15 | FLAGR 14 | FLAGR 13 | FLAGR 12 | FLAGR 11 | FLAGR 10 | FLAGR 9 | FLAGR 8 | FLAGR 7 | FLAGR 6 | FLAGR 5 | FLAGR 4 | FLAGR 3 | FLAGR 2 | FLAGR 1 | FLAGR 0 |
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FLAGD 15 | FLAGD 14 | FLAGD 13 | FLAGD 12 | FLAGD 11 | FLAGD 10 | FLAGD 9 | FLAGD 8 | FLAGD 7 | FLAGD 6 | FLAGD 5 | FLAGD 4 | FLAGD 3 | FLAGD 2 | FLAGD 1 | FLAGD 0 |
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:16 FLAGRy: Flag state for LEy registered output (y = 15 to 0)
0: Flag reset
1: Flag set
Bits 15:0 FLAGDy: Flag state for LEy direct output (y = 15 to 0)
0: Flag reset
1: Flag set
24.6.13 PLAY flag set register (PLAY_FLSET)
Address offset: 0x224
Reset value: 0x0000 0000
This register allows software to set the LE output flags. It is a functional register and is reset automatically by hardware.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FLAGR_SET15 | FLAGR_SET14 | FLAGR_SET13 | FLAGR_SET12 | FLAGR_SET11 | FLAGR_SET10 | FLAGR_SET9 | FLAGR_SET8 | FLAGR_SET7 | FLAGR_SET6 | FLAGR_SET5 | FLAGR_SET4 | FLAGR_SET3 | FLAGR_SET2 | FLAGR_SET1 | FLAGR_SET0 |
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FLAGD_SET15 | FLAGD_SET14 | FLAGD_SET13 | FLAGD_SET12 | FLAGD_SET11 | FLAGD_SET10 | FLAGD_SET9 | FLAGD_SET8 | FLAGD_SET7 | FLAGD_SET6 | FLAGD_SET5 | FLAGD_SET4 | FLAGD_SET3 | FLAGD_SET2 | FLAGD_SET1 | FLAGD_SET0 |
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:16 FLAGR_SETy: Flag set for LEy registered output (y = 15 to 0)
0: No effect
1: Set flag
Bits 15:0 FLAGD_SETy: Flag set for LEy direct output (y = 15 to 0)
0: No effect
1: Set flag
24.6.14 PLAY flag clear register (PLAY_FLCLR)
Address offset: 0x228
Reset value: 0x0000 0000
This register allows software to clear the state of the LE output flags. It is a functional register and is reset automatically by hardware.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| FLAGR_CLR15 | FLAGR_CLR14 | FLAGR_CLR13 | FLAGR_CLR12 | FLAGR_CLR11 | FLAGR_CLR10 | FLAGR_CLR9 | FLAGR_CLR8 | FLAGR_CLR7 | FLAGR_CLR6 | FLAGR_CLR5 | FLAGR_CLR4 | FLAGR_CLR3 | FLAGR_CLR2 | FLAGR_CLR1 | FLAGR_CLR0 |
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FLAGD_CLR15 | FLAGD_CLR14 | FLAGD_CLR13 | FLAGD_CLR12 | FLAGD_CLR11 | FLAGD_CLR10 | FLAGD_CLR9 | FLAGD_CLR8 | FLAGD_CLR7 | FLAGD_CLR6 | FLAGD_CLR5 | FLAGD_CLR4 | FLAGD_CLR3 | FLAGD_CLR2 | FLAGD_CLR1 | FLAGD_CLR0 |
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:16 FLAGR_CLRy: Flag clear for LEy registered output (y = 15 to 0)
- 0: No effect
- 1: Clear flag
Bits 15:0 FLAGD_CLRy: Flag clear for LEy direct output (y = 15 to 0)
- 0: No effect
- 1: Clear flag
24.6.15 PLAY flag interrupt enable register (PLAY_FLIER)
Address offset: 0x22C
Reset value: 0x0000 0000
This register enables interrupt requests based on LE output flag state. It is a functional register and is reset by play_rstn and play_app_rstn.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| FLAGR_IEN15 | FLAGR_IEN14 | FLAGR_IEN13 | FLAGR_IEN12 | FLAGR_IEN11 | FLAGR_IEN10 | FLAGR_IEN9 | FLAGR_IEN8 | FLAGR_IEN7 | FLAGR_IEN6 | FLAGR_IEN5 | FLAGR_IEN4 | FLAGR_IEN3 | FLAGR_IEN2 | FLAGR_IEN1 | FLAGR_IEN0 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FLAGD_IEN15 | FLAGD_IEN14 | FLAGD_IEN13 | FLAGD_IEN12 | FLAGD_IEN11 | FLAGD_IEN10 | FLAGD_IEN9 | FLAGD_IEN8 | FLAGD_IEN7 | FLAGD_IEN6 | FLAGD_IEN5 | FLAGD_IEN4 | FLAGD_IEN3 | FLAGD_IEN2 | FLAGD_IEN1 | FLAGD_IEN0 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |

Bits 31:16 FLAGR_IENy: Flag interrupt enable for LEy registered output (y = 15 to 0)
0: No interrupt is generated on play_irq
1: An interrupt is generated on play_irq if PLAY_FLSTAT.FLAGRy = 1
Bits 15:0 FLAGD_IENy: Flag interrupt enable for LEy direct output (y = 15 to 0)
0: No interrupt is generated on play_irq
1: An interrupt is generated on play_irq if PLAY_FLSTAT.FLAGDy = 1
24.6.16 PLAY flag control register (PLAY_FLCTL)
Address offset: 0x230
Reset value: 0x0000 0000
This register selects the direction of signal transition to set the corresponding LE output flag. It is a functional register and is reset by play_rstn and play_app_rstn.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
Caution: play_clk must be active when writing to this register. Any subsequent write access to this register is ignored until the write completes. Software must poll the PLAY_FLCTL write busy flag in the PLAY miscellaneous status register (PLAY_MSR) to make sure that no writes are pending. If play_clk is slow compared to the bus clock, pclk, a write may take a long time to complete. In this case, the PLAY_FLCTL register write complete interrupt - see PLAY interrupt status register (PLAY_ISR) - can be used to signal to the software when the register can be accessed again.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FLAGR_EDGE 15 | FLAGR_EDGE 14 | FLAGR_EDGE 13 | FLAGR_EDGE 12 | FLAGR_EDGE 11 | FLAGR_EDGE 10 | FLAGR_EDGE 9 | FLAGR_EDGE 8 | FLAGR_EDGE 7 | FLAGR_EDGE 6 | FLAGR_EDGE 5 | FLAGR_EDGE 4 | FLAGR_EDGE 3 | FLAGR_EDGE 2 | FLAGR_EDGE 1 | FLAGR_EDGE 0 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FLAGD_EDGE 15 | FLAGD_EDGE 14 | FLAGD_EDGE 13 | FLAGD_EDGE 12 | FLAGD_EDGE 11 | FLAGD_EDGE 10 | FLAGD_EDGE 9 | FLAGD_EDGE 8 | FLAGD_EDGE 7 | FLAGD_EDGE 6 | FLAGD_EDGE 5 | FLAGD_EDGE 4 | FLAGD_EDGE 3 | FLAGD_EDGE 2 | FLAGD_EDGE 1 | FLAGD_EDGE 0 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 FLAGR_EDGEy: Edge direction for LEy registered output (y = 15 to 0)
0: FLAGRy is set by a falling edge on leoutry
1: FLAGRy is set by a rising edge on leoutry
Bits 15:0 FLAGD_EDGEy: Edge direction for LEy direct output (y = 15 to 0)
0: FLAGDy is set by a falling edge on leoutdy
1: FLAGDy is set by a rising edge on leoutdy
24.6.17 PLAY miscellaneous status register (PLAY_MSR)
Address offset: 0x234
Reset value: 0x0000 0000
This register allows software to read the state of miscellaneous status flags (not including LE output flags). It is a functional register and is reset by play_rstn and play_app_rstn.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FLCTL WBFS | SWIN WBFS |
| r | r |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 FLCTLWBFS: PLAY_FLCTL register write busy flag status
0: PLAY_FLCTL register can be written
1: Write is pending, any new write access to PLAY_FLCTL register is ignored
Bit 0 SWINWBFS: PLAY_SWIN register write busy flag status
0: PLAY_SWIN register can be written
1: Write is pending, any new write access to PLAY_SWIN, PLAY_SWINCLR or PLAY_SWINSET registers is ignored
24.6.18 PLAY interrupt status register (PLAY_ISR)
Address offset: 0x238
Reset value: 0x0000 0000
This register allows software to read the state of the interrupt request sources. The PLAY_ISR register must be read first of all when the play_irq is asserted, to identify the source(s) of the interrupt request. It is a functional register and is reset by play_rstn and play_app_rstn.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
| RM0517 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FLAGS | FLCTL WC | SWIN WC |
| r | r | r | |||||||||||||
| Bit 2 | FLAGS | : Flag interrupts status | |||||||||||||
| Bit 1 | request FLCTLWC | : PLAY_FLCTL register write complete interrupt status | |||||||||||||
| Bit 0 | SWINWC | : PLAY_SWIN register write complete interrupt status | |||||||||||||
| by flags - see register. | Section 24.6.14: PLAY flag clear register (PLAY_FLCLR) | . It is a functional | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 FLCTL | 0 SWIN |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WC_CL | WC_CL |
| R R | R R | ||||||||||||||
| w w | w w | ||||||||||||||
| Bit 1 | FLCTLWC_CLR | : PLAY_FLCTL register write complete interrupt clear | |||||||||||||
| RM0517 Rev 1 | 1019/ | 3945 |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 FLAGS: Flag interrupts status
0: No flag interrupts active
1: One or more bits in PLAY_FLSTAT register is active and has generated an interrupt request
Bit 1 FLCTLWC: PLAY_FLCTL register write complete interrupt status
0: Interrupt request is not pending
1: Interrupt request is pending
Bit 0 SWINWC: PLAY_SWIN register write complete interrupt status
0: Interrupt request is not pending
1: Interrupt request is pending
24.6.19 PLAY interrupt clear register (PLAY_ICR)
Address offset: 0x23C
Reset value: 0XXXXX XXXX
This register allows software to clear active interrupt requests, except for those generated by flags - see Section 24.6.14: PLAY flag clear register (PLAY_FLCLR). It is a functional register.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 FLCTLWC_CLR: PLAY_FLCTL register write complete interrupt clear
0: No action
1: Clear interrupt request
Bit 0 SWINWC_CLR: PLAY_SWIN register write complete interrupt clear
0: No action
1: Clear interrupt request
24.6.20 PLAY interrupt enable register (PLAY_IER)
Address offset: 0x240
Reset value: 0x0000 0000
This register allows software to enable or disable interrupt requests, except for those generated by flags - see Section 24.6.15: PLAY flag interrupt enable register (PLAY_FLIER). It is a functional register and is reset by play_rstn and play_app_rstn.
If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).
If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FLCTL WC_IEN | SWIN WC_IEN |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 FLCTLWC_IEN: PLAY_FLCTL register write complete interrupt enable
0: Interrupt disabled
1: Interrupt enabled. An interrupt is generated when a write to the PLAY_FCTL register completes
Bit 0 SWINWC_IEN: PLAY_SWIN register write complete interrupt enable
0: Interrupt disabled
1: Interrupt enabled. An interrupt is generated when a write to the PLAY_SWIN register completes
24.7 PLAY register map
Table 202. PLAY register map and reset values
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | PLAY_CFGCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UNLOCK |
| Reset value | 1 | ||||||||||||||||||||||||||||||||
| 0x004 | Reserved | Res. | |||||||||||||||||||||||||||||||
Table 202. PLAY register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x004 | PLAY_SECCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEC[1:0] | |||
| Reset value | 0 | 0 | ||||||||||||||||||||||||||||||||||
| 0x008 | Reserved | Res. | ||||||||||||||||||||||||||||||||||
| 0x008 | PLAY_PRIVCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRIV[1:0] | |||
| Reset value | 0 | 0 | ||||||||||||||||||||||||||||||||||
| 0x00C to 0x01C | Reserved | Res. | ||||||||||||||||||||||||||||||||||
| 0x020 + 0x4 * x, (x=0 to 15) Last address: 0x05C | PLAY_FILTxCFG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREMUXSE L [2:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EDGEDET [1:0] | WIDTH [7:0] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||
| 0x060 + 0x4 * x, (x=0 to 15) Last address: 0x09C | PLAY_LExCFG1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LUT[15:0] | ||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x0A0 + 0x4 * x, (x=0 to 15) Last address: 0x0DC | PLAY_LExCFG2 | Res. | Res. | CK_SEL[4:0] | IN3_SEL[5:0] | IN2_SEL[5:0] | IN1_SEL[5:0] | IN0_SEL[5:0] | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||
| 0x0E0 - 0x0FC | Reserved | Res. | ||||||||||||||||||||||||||||||||||
| 0x100 + 0x4 * x, (x=0 to 15) Last address: 0x13C | PLAY_OUTxCFG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEL[4:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x140 - 0x1FC | Reserved | Res. | ||||||||||||||||||||||||||||||||||
| 0x200 | PLAY_SWIN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SWIN15 | SWIN14 | SWIN13 | SWIN12 | SWIN11 | SWIN10 | SWIN9 | SWIN8 | SWIN7 | SWIN6 | SWIN5 | SWIN4 | SWIN3 | SWIN2 | SWIN1 | SWIN0 | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x204 | PLAY_SWINSET | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SWIN15 | SWIN14 | SWIN13 | SWIN12 | SWIN11 | SWIN10 | SWIN9 | SWIN8 | SWIN7 | SWIN6 | SWIN5 | SWIN4 | SWIN3 | SWIN2 | SWIN1 | SWIN0 | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x208 | PLAY_SWINCLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SWIN15 | SWIN14 | SWIN13 | SWIN12 | SWIN11 | SWIN10 | SWIN9 | SWIN8 | SWIN7 | SWIN6 | SWIN5 | SWIN4 | SWIN3 | SWIN2 | SWIN1 | SWIN0 | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x20C | Reserved | Res. | ||||||||||||||||||||||||||||||||||
| 0x210 | PLAY_OSR | LEOUTR15 | LEOUTR14 | LEOUTR13 | LEOUTR12 | LEOUTR11 | LEOUTR10 | LEOUTR9 | LEOUTR8 | LEOUTR7 | LEOUTR6 | LEOUTR5 | LEOUTR4 | LEOUTR3 | LEOUTR2 | LEOUTR1 | LEOUTR0 | LEOUTD15 | LEOUTD14 | LEOUTD13 | LEOUTD12 | LEOUTD11 | LEOUTD10 | LEOUTD9 | LEOUTD8 | LEOUTD7 | LEOUTD6 | LEOUTD5 | LEOUTD4 | LEOUTD3 | LEOUTD2 | LEOUTD1 | LEOUTD0 | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
| 0x214 - 0x21C | Reserved | Res. | ||||||||||||||||||||||||||||||||||
Table 202. PLAY register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x220 | PLAY_FLSTAT | FLAGR15 | FLAGR14 | FLAGR13 | FLAGR12 | FLAGR11 | FLAGR10 | FLAGR9 | FLAGR8 | FLAGR7 | FLAGR6 | FLAGR5 | FLAGR4 | FLAGR3 | FLAGR2 | FLAGR1 | FLAGR0 | FLAGD15 | FLAGD14 | FLAGD13 | FLAGD12 | FLAGD11 | FLAGD10 | FLAGD9 | FLAGD8 | FLAGD7 | FLAGD6 | FLAGD5 | FLAGD4 | FLAGD3 | FLAGD2 | FLAGD1 | FLAGD0 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x224 | PLAY_FLSET | FLAGR_SET15 | FLAGR_SET14 | FLAGR_SET13 | FLAGR_SET12 | FLAGR_SET11 | FLAGR_SET10 | FLAGR_SET9 | FLAGR_SET8 | FLAGR_SET7 | FLAGR_SET6 | FLAGR_SET5 | FLAGR_SET4 | FLAGR_SET3 | FLAGR_SET2 | FLAGR_SET1 | FLAGR_SET0 | FLAGD_SET15 | FLAGD_SET14 | FLAGD_SET13 | FLAGD_SET12 | FLAGD_SET11 | FLAGD_SET10 | FLAGD_SET9 | FLAGD_SET8 | FLAGD_SET7 | FLAGD_SET6 | FLAGD_SET5 | FLAGD_SET4 | FLAGD_SET3 | FLAGD_SET2 | FLAGD_SET1 | FLAGD_SET0 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x228 | PLAY_FLCLR | FLAGR_CLR15 | FLAGR_CLR14 | FLAGR_CLR13 | FLAGR_CLR12 | FLAGR_CLR11 | FLAGR_CLR10 | FLAGR_CLR9 | FLAGR_CLR8 | FLAGR_CLR7 | FLAGR_CLR6 | FLAGR_CLR5 | FLAGR_CLR4 | FLAGR_CLR3 | FLAGR_CLR2 | FLAGR_CLR1 | FLAGR_CLR0 | FLAGD_CLR15 | FLAGD_CLR14 | FLAGD_CLR13 | FLAGD_CLR12 | FLAGD_CLR11 | FLAGD_CLR10 | FLAGD_CLR9 | FLAGD_CLR8 | FLAGD_CLR7 | FLAGD_CLR6 | FLAGD_CLR5 | FLAGD_CLR4 | FLAGD_CLR3 | FLAGD_CLR2 | FLAGD_CLR1 | FLAGD_CLR0 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x22C | PLAY_FLIER | FLAGR_IEN15 | FLAGR_IE14 | FLAGR_IEN13 | FLAGR_IEN12 | FLAGR_IEN11 | FLAGR_IEN10 | FLAGR_IEN9 | FLAGR_IEN8 | FLAGR_IEN7 | FLAGR_IEN6 | FLAGR_IEN5 | FLAGR_IEN4 | FLAGR_IEN3 | FLAGR_IEN2 | FLAGR_IEN1 | FLAGR_IEN0 | FLAGD_IEN15 | FLAGD_IEN14 | FLAGD_IEN13 | FLAGD_IEN12 | FLAGD_IEN11 | FLAGD_IEN10 | FLAGD_IEN9 | FLAGD_IEN8 | FLAGD_IEN7 | FLAGD_IEN6 | FLAGD_IEN5 | FLAGD_IEN4 | FLAGD_IEN3 | FLAGD_IEN2 | FLAGD_IEN1 | FLAGD_IEN0 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x230 | PLAY_FLCTL | FLAGR_EDGE15 | FLAGR_EDGE14 | FLAGR_EDGE13 | FLAGR_EDGE12 | FLAGR_EDGE11 | FLAGR_EDGE10 | FLAGR_EDGE9 | FLAGR_EDGE8 | FLAGR_EDGE7 | FLAGR_EDGE6 | FLAGR_EDGE5 | FLAGR_EDGE4 | FLAGR_EDGE3 | FLAGR_EDGE2 | FLAGR_EDGE1 | FLAGR_EDGE0 | FLAGD_EDGE15 | FLAGD_EDGE14 | FLAGD_EDGE13 | FLAGD_EDGE12 | FLAGD_EDGE11 | FLAGD_EDGE10 | FLAGD_EDGE9 | FLAGD_EDGE8 | FLAGD_EDGE7 | FLAGD_EDGE6 | FLAGD_EDGE5 | FLAGD_EDGE4 | FLAGD_EDGE3 | FLAGD_EDGE2 | FLAGD_EDGE1 | FLAGD_EDGE0 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x234 | PLAY_MSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x238 | PLAY_ISR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x23C | PLAY_ICR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x240 | PLAY_IER | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x244 - 0x3EC | Reserved | Res. | |||||||||||||||||||||||||||||||
Refer to Section 2.3: Memory organization for the register boundary addresses.