| |||
| Home > Programmers Model > Register descriptions > User Switch Register | |||
The SYS_SW Register characteristics are:
Figure 4.4 shows the bit assignments.
Table 4.5 shows the bit assignments.
Table 4.5. SYS_SW Register bit assignments
Bits | Access | Name | Reset | Description |
|---|---|---|---|---|
| 31 | Read-only | SW[1] | Indicates the value of physical configuration switch SW[1]. | See Versatile Express Configuration Technical Reference Manual. |
| 30 | Read-only | SW[0] | Indicates the value of physical configuration switch SW[0]. | See Versatile Express Configuration Technical Reference Manual. |
| 29 | Read-only | nUART0CTS | - | UART0 control signal. See Versatile Express Configuration Technical Reference Manual. |
| 28 | Read-only | nUART0DSR | - | UART0 control signal. See Versatile Express Configuration Technical Reference Manual. |
| [27:8] | Read-only | Undefined | - | - |
| [7:0] | Read-write | Soft user switch | Set to value of USERSWITCH in
the config.txt file. | User applications can read these switch settings. If SYS_SW[0] is set, the Boot Monitor runs its boot script. See the Versatile Express Boot Monitor Reference Manual for more switch settings. |