
Functional Description
http://www.motorola.com/computer/literature
3-9
3
Tick Timer
The PCCchip2 includes two 32-bit general purpose tick timers. The tick
timers run on a 1MHz clock which is derived from the processor clock by
a prescaler.
Each tick timer has a 32-bit counter, a 32-bit compare register, and a clear-
on-compare enable bit. The counter is readable and writable at any time.
These timers can be used to generate interrupts at various rates or the
counters can be read at various times for interval timing. There are two
modes of operation for these timers: free-running and clear-on-compare.
In free-running mode, the timers have a resolution of 1
µ
s and roll over
after the count reaches the maximum value $FFFFFFFF. The rollover
period for the timers is 71.6 minutes.
When the counter is enabled in the clear-on-compare mode, it increments
every 1
µ
s until the counter value matches the value in the compare
register. When a match occurs, the counter is cleared.
When a match occurs, in either mode, an interrupt is sent to the Local Bus
interrupter and the overflow counter is incremented. An interrupt to the
Local Bus is only generated if the tick timer interrupt is enabled by the
Local Bus interrupter. The overflow counter can be cleared by writing a
one to the overflow clear bit.
Содержание MVME1X7P
Страница 1: ...MVME1X7P Single Board Computer Programmer s Reference Guide V1X7PA PG1 Edition of October 2000 ...
Страница 16: ...xvi ...
Страница 18: ...xviii ...
Страница 20: ...xx ...
Страница 26: ...xxvi ...
Страница 90: ...1 64 Computer Group Literature Center Web Site Programming Issues 1 ...
Страница 248: ...3 50 Computer Group Literature Center Web Site PCCchip2 3 ...
Страница 286: ...4 38 Computer Group Literature Center Web Site MCECC Functions 4 ...
Страница 288: ...A 2 Computer Group Literature Center Web Site Summary of Changes A ...
Страница 316: ...Index IN 14 Computer Group Literature Center Web Site I N D E X ...