
SL11R
Document #: 38-08006 Rev. **
Page 33 of 85
4.15
General Timers and Watch Dog Timer
The SL11R Controller has two built in programmable timers that can provide an interrupt to the SL11R Engine. The timers
decrement on every microsecond clock tick. An interrupt occurs when the timer reaches zero.
4.15.1
Timer 0 Count Register (0xC010: R/W)
The SL11R BIOS uses the timer 0 for time-out function and power down mode. At the end of the power up, the SL11R BIOS
disables the timer 0 interrupt. If you wish to use timer 0 for power down function, see the [Ref. 1] SL11R_BIOS for more
information.
D15-0
T15-0
Timer Count value.
4.15.2
Timer 1 Count Register (0xC012: R/W)
The SL11R timer 1 is for user applications. The SL11R BIOS does not use this timer.
D15-0
T15-0
Timer Count value
4.15.3
Watchdog Timer Count & Control Register (0xC00C: R/W)
The SL11R provides a Watchdog timer to monitor certain activities. The Watchdog timer can also interrupt the SL11R processor.
The default value of this register is 0x0000.
D5
WT
Watchdog Time-out occurred.
D4-3
TO1-0
Time-out Count:
00
01 milliseconds
01
04 milliseconds
10
16 milliseconds
11
64 milliseconds
D2
EP
Enable Permanent WD timer. If set =’1’
WD timer is always enabled. Cleared only on Reset.
D1
ENB
Enable WD Timer operation when =’1’.
D0
RC
Reset Count. When set = ’1’.
Notes:
• You must assert Reset Count (RC), before time-out occurs to avoid Watchdog trigger
• The Watchdog Timer overflow causes an internal processor reset. The Processor can read the WT bit after exiting reset to
determine if the WT bit is set. If it is set, a watchdog time-out occurred.
• The WT value will be cleared on the next external reset.
4.16
Special GPIO Function for Suspend, Resume and Low-Power modes
The SL11R CPU supports suspend, resume and CPU low power modes. The SL11R BIOS assigns GPIO29 for the USB DATA+
line pull-up (This pin can simulate USB cable removal or insertion while USB power is still applied to the circuit) and the GPIO20
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
T15
T14
T13
T12
T11
T10
T9
T8
T7
T6
T5
T4
T3
T2
T1
T0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
T15
T14
T13
T12
T11
T10
T9
T8
T7
T6
T5
T4
T3
T2
T1
T0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
0
00000
0
0
0
0
WT
TO1
TO0
ENB
EP
RC