User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1774
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register Counter_Control_2 Details
Register (ttc) Counter_Control_3
Field Name Bits Type Reset Value Description
Wave_pol
(CNT_CNTRL_POL_W
AVE)
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
(CNT_CNTRL_EN_W
AVE)
5 rw 0x1 Output waveform enable, active low.
RST
(CNT_CNTRL_RST)
4 rw 0x0 Setting this bit high resets the counter value and
restarts counting; the RST bit is automatically
cleared on restart.
Match
(CNT_CNTRL_MATC
H)
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
(CNT_CNTRL_DECR)
2 rw 0x0 Decrement: when this bit is high the counter
counts down.
INT
(CNT_CNTRL_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
(CNT_CNTRL_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_3
Relative Address 0x00000014
Absolute Address ttc0: 0xF8001014
ttc1: 0xF8002014
Width 7 bits
Access Type rw
Reset Value 0x00000021
Description Operational mode and reset