User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 238
UG585 (v1.11) September 27, 2016
Chapter 8: Timers
8.2 CPU Private Timers and Watchdog Timers
The CPU private timers and watchdog timers are fully documented in the Cortex-A9 MPCore
Technical Requirements Document, sections 4.1 and 4.2 (see Appendix A, Additional Resources).
Both the timer and watchdog blocks have the following features:
32-bit counter that generates an interrupt when it reaches zero
8-bit prescaler to enable better control of the interrupt period
Configurable single-shot or auto-reload modes
Configurable starting values for the counter
8.2.1 Clocking
All private timers and watchdog timers are always clocked at 1/2 of the CPU frequency (CPU_3x2x).
8.2.2 Interrupt to PS Interrupt Controller
The interrupts sent to the interrupt controller are described in section 7.2.2 CPU Private Peripheral
Interrupts (PPI).
8.2.3 Resets
The time and watchdog resets are sent to the PS reset subsystem, see section 26.3 Reset Effects.
8.2.4 Register Overview
A register overview of the CPU private and watchdog timers is provided in Table 8-1.
Table 8-1: CPU Private Timers Register Overview
Function Name Overview
CPU Private Timers
Reload and current values
Timer Load
Timer Counter
Values to be reloaded into the decrementer.
Current value of the decrementer.
Control and interrupt
Timer Control
Timer Interrupt
Enable, auto reload, IRQ, prescaler, interrupt status.
CPU Private Watchdogs (AWDT 0 and 1)
Reload and current values
Watchdog Load
Watchdog Counter
Values to be reloaded into the decrementer.
Current value of the decrementer.
Control and interrupt
Watchdog Control
Watchdog Interrupt
Enable, Auto reload, IRQ, prescaler, interrupt status.
(this register cannot disable watchdog)