User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1773
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register Counter_Control_1 Details
Register (ttc) Counter_Control_2
Field Name Bits Type Reset Value Description
Wave_pol
(POL_WAVE)
6 rw 0x0 Waveform polarity: When this bit is high, the
waveform output goes from high to low on
Match_1 interrupt and returns high on overflow
or interval interrupt; when low, the waveform
goes from low to high on Match_1 interrupt and
returns low on overflow or interval interrupt.
Wave_en
(EN_WAVE)
5 rw 0x1 Output waveform enable, active low.
RST 4 rw 0x0 Setting this bit high resets the counter value and
restarts counting; the RST bit is automatically
cleared on restart.
Match
(MATCH)
3 rw 0x0 Register Match mode: when Match is set, an
interrupt is generated when the count value
matches one of the three match registers and the
corresponding bit is set in the Interrupt Enable
register.
DEC
(DECR)
2 rw 0x0 Decrement: when this bit is high the counter
counts down.
INT 1 rw 0x0 When this bit is high, the timer is in Interval
Mode, and the counter generates interrupts at
regular intervals; when low, the timer is in
overflow mode.
DIS 0 rw 0x1 Disable counter: when this bit is high, the counter
is stopped, holding its last value until reset,
restarted or enabled again.
Name Counter_Control_2
Relative Address 0x00000010
Absolute Address ttc0: 0xF8001010
ttc1: 0xF8002010
Width 7 bits
Access Type rw
Reset Value 0x00000021
Description Operational mode and reset