User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 244
UG585 (v1.11) September 27, 2016
Chapter 8: Timers
8.5 Triple Timer Counters (TTC)
The TTC contains three independent timers/counters. There are two TTC modules in the PS, for a total
of six timers/counters. TTC 1 controller can be configured for secure or non-secure mode using the
nic301_addr_region_ctrl_registers.security_apb [ttc1_apb] register bit. The three timers within a TTC
controller have the same security state.
8.5.1 Features
Each of the triple timer counters has:
Three independent 16-bit prescalers and 16-bit up/down counters
Selectable clock input from:
°
Internal PS bus clock (CPU_1x)
°
Internal clock (from PL)
°
External clock (from MIO)
Three interrupts, one for each counter
Interrupt on overflow, at regular interval, or counter matching programmable values
Generates waveform output (for example, PWM) through the MIO and to the PL
8.5.2 Block Diagram
A block diagram of the TTC is shown in Figure 8-3. The clock-in and wave-out multiplexing for
Timer/Clock 0 is controlled by the slcr.MIO_PIN_xx registers. If no selection is made in these
registers, then the default becomes the EMIO interface.