| |||
| Home > Test Harness > Test Register Descriptions |
Functions can be controlled within test mode using registers provided in the Joystick module. These registers are intended for test purposes only, and should not be used in normal operational use. The test registers are:
JOYTEST1: Joystick test register 1
JOYTEST2: Joystick test register 2
JOYTEST3: Joystick test register 3.
This register provides control over the clock source to the function while in test mode
Table A.2. JOYTEST1 bit functions
| Bit | Name | Function |
|---|---|---|
| 7-5 | - | Not used. |
| 4 | Stop | Stop test clock. When set to 1, the strobe clock is stopped (gated out). |
| 3 | T | Test bit: enables counter test mode. When set, the four 16-bit counters are split into 4-bit parts, to shorten test times. |
| 2:1 | C[1:0] | Clock select bits X0 Normal operation. The input clock is selected. 01 PSEL ANDed with PSTB is driven as the internal clock. This means that when this clock source is selected, every access to the block generates a positive clock pulse internally. 11 The RC bit is used as the clock. Therefore to generate an internal clock transition you have to program this bit with the last written value inverted (ie. write 0 and then 1 creates a LOW to HIGH transition and vice versa) |
| 0 | RC | Registered clock bit. Can be used as a clock source when selected as described above. |
This read-only register stores the current values of the module output signals.
his write-only test register provides control of the module input signals. The table below, Table A.4, shows the bit details of the register.