4.10.3.  DIP switch register

The DIP switch register is used to read the 4-pole DIP switch S2. The bit assignments for this register are shown in Table 4.26. A bit reads as 1 when the associated switch is ON and 0 when the switch is OFF.

Table 4.26. LED_SWITCH register

Bit

Type

Function

[3]

Read

Switch pole 4 (S2-4)

[2]

Read

Switch pole 3 (S2-3)

[1]

Read

Switch pole 2 (S2-2)

[0]

Read

Switch pole 1 (S2-1)

Copyright © 2002 ARM Limited. All rights reserved.ARM DUI 0159B
Non-Confidential