Programming The Tick Timers; Tick Timer 1 Compare Register - Motorola MVME1X7P Programmer's Reference Manual

Single-board computer
Table of Contents

Advertisement

PCCchip2
3

Programming the Tick Timers

Tick Timer 1 Compare Register

ADR/SIZ
BIT
NAME
OPER
RESET
3-18
A suggested setting of the Local Interrupt Vector Register in the SCC chip
is $5C. This produces the following vectors:
$5C
Serial RX Exception IRQ
$5D
Serial Modem IRQ
$5E
Serial TX IRQ
$5F
Serial RX IRQ
This section provides addresses and bit level descriptions of the prescaler,
tick timers, and various other timer registers.
The Tick Timer 1 Compare Register is a 32-bit register located at
$FFF42004. The count value of Tick Timer 1 is compared to this register.
When they are equal, an interrupt is sent to the Local Bus interrupter and
the overflow counter is incremented. If the clear-on-compare mode is
enabled, the counter is also cleared. For periodic interrupts, the following
equation should be used to determine the compare register value for a
specific period.
compare register value = T ( s)
When programming the tick timer for periodic interrupts, 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. The rollover time for the counter is 71.6 minutes.
31
$FFF42004 (32 bits)
. . .
Tick Timer 1 Compare Register
R/W
0 P
Computer Group Literature Center Web Site
0

Advertisement

Table of Contents
loading

Table of Contents