Counter_Control_2 (TTC) Register

Zynq UltraScale+ Devices Register Reference (UG1087)

Document ID
UG1087
Release Date
2024-03-13
Revision
1.10

Counter_Control_2 (TTC) Register Description

Register NameCounter_Control_2
Offset Address0x0000000010
Absolute Address 0x00FF110010 (TTC0)
0x00FF120010 (TTC1)
0x00FF130010 (TTC2)
0x00FF140010 (TTC3)
Width 7
TyperwNormal read/write
Reset Value0x00000021
DescriptionOperational mode and reset

Counter_Control_2 (TTC) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
Wave_pol 6rwNormal read/write0x0Waveform 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 5rwNormal read/write0x1Output waveform enable, active low.
RST 4rwNormal read/write0x0Setting this bit high resets the counter value and restarts counting; the RST bit is automatically cleared on restart.
Match 3rwNormal read/write0x0Register 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 2rwNormal read/write0x0Decrement: when this bit is high the counter counts down.
INT 1rwNormal read/write0x0When 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 0rwNormal read/write0x1Disable counter: when this bit is high, the counter is stopped, holding its last value until reset, restarted or enabled again.