
Memory Maps and Registers
MVME2502 Installation and Use (6806800R96D
)
130
5.6.3
Compare High and Low Word Registers
The tick timer counter is compared to the Compare Register. When the values are equal, the
tick timer interrupt is asserted and the overflow counter increments. If the clear-on-compare
mode is enabled, the counter is also cleared. For periodic interrupts, this equation should be
used to calculate the compare value for a specific period (T):
Compare register value=T (us)
When programming the tick timer for periodic interrupt, the counter should be cleared to zero
by software and then enabled. If the counter does not initially start at zero, the time to the first
interrupt may be longer or shorter than expected. Note that the rollover time for the counter
is 71.6 minutes.
Field Description
ENC
Enable counter. When the bit is set, the counter increments. When the bit is
cleared, the counter does not increment.
COC
Clear Counter on Compare. When the bit is set, the counter is reset to 0 when
it compares with the compare register. When the bit is cleared the counter is
not reset.
COVF
Clear Overflow Bits. The overflow counter is cleared when 1 is written to this
bit.
OVF
Overflow Bits are the output of the overflow counter. It increments each time
the tick timer sends an interrupt to the local bus interrupter. The overflow
counter is cleared by writing 1 to the COVF bit.
ENINT
Enable Interrupt. When the bit is set, the interrupt is enabled. When the bit is
cleared, the interrupt is not enabled.
CINT Clear
Interrupt.
INTS Interrupt
Status.
RSVD
Reserved for future implementation.
Summary of Contents for MVME2502
Page 1: ...MVME2502 Installation and Use P N 6806800R96D December 2014 ...
Page 12: ...MVME2502 Installation and Use 6806800R96D 12 List of Tables ...
Page 14: ...MVME2502 Installation and Use 6806800R96D 14 List of Figures ...
Page 20: ...MVME2502 Installation and Use 6806800R96D About this Manual 20 About this Manual ...
Page 30: ...MVME2502 Installation and Use 6806800R96D Sicherheitshinweise 30 ...
Page 52: ...Hardware Preparation and Installation MVME2502 Installation and Use 6806800R96D 52 ...
Page 108: ...Functional Description MVME2502 Installation and Use 6806800R96D 108 ...
Page 142: ...Boot System MVME2502 Installation and Use 6806800R96D 142 ...
Page 154: ...Programming Model MVME2502 Installation and Use 6806800R96D 154 ...
Page 162: ...Related Documentation MVME2502 Installation and Use 6806800R96D 162 ...
Page 163: ......