Control Registers; Compare High And Low Word Registers - SMART Embedded Computing MVME2502 Installation And Use Manual

Hide thumbs Also See for MVME2502:
Table of Contents

Advertisement

Memory Maps and Registers
5.6.2

Control Registers

Table 5-26
Tick Timer 0 Control Register - 0xFFC80202
REG
Tick Timer 1 Control Register - 0xFFC80302
Tick Timer 2 Control Register - 0xFFC80402
Bit
15
Field
RSVD
OPER
R/W
RESET 0x0000
Field Description
ENC
COC
COVF
OVF
ENINT
CINT
INTS
RSVD
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)
112
Control Registers
14
13
12
11
10
INTS
Enable counter. When the bit is set, the counter increments. When the bit is
cleared, the counter does not increment.
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.
Clear Overflow Bits. The overflow counter is cleared when 1 is written to this
bit.
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.
Enable Interrupt. When the bit is set, the interrupt is enabled. When the bit
is cleared, the interrupt is not enabled.
Clear Interrupt.
Interrupt Status.
Reserved for future implementation.
9
8
7
6
5
CINT ENINT OVF
MVME2502 Installation and Use (6806800R96G)
Memory Maps and Registers
4
3
2
1
RSVD COVF COC ENC
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MVME2502 and is the answer not in the manual?

Table of Contents