GE C2K Hardware Reference Manual page 110

Table of Contents

Advertisement

Bits
Field
0
CNTR0_INT_STAT
Counter Current Value Registers
The Counter Current Value High/Low registers provides 32-bit current count value of a given
counter/timer. Reading the Counter Current Value High Register captures the 32-bit current count
value into the Counter Current Value High and Counter Current Value Low registers. The 16
uppermost counter bits are read from the High register. A subsequent read from the Low register
provides the lower 16 bits of the captured counter value.
Address offset:
0x200, 0x204, ... 0x23C
Access:
Read-only
Bits
Field
15 - 0
CNTR_CURRENT_HIGH
Address offset:
0x202, 0x206, ... 0x23E
Access:
Read-only
Bits
Field
15 - 0
CNTR_CURRENT_LOW
Counter Preload Value Registers
The Counter Preload Value High/Low registers allow the counters to be preloaded to a specific
count value. To write the 32-bit preload value, a write must be performed to the Counter Preload
Value High Register, then the Counter Preload Value Low Register. The write to the Low register
will transfer the full 32-bit value into the internal preload register.
Reading the Counter Preload Value High Register captures the 32-bit current count value into the
Counter Preload Value High and Counter Preload Value Low registers. The 16 uppermost counter
bits are read from the High register. A subsequent read from the Low register provides the lower
16 bits of the preload value.
Address offset:
0x240, 0x244, ... 0x27C
Access:
Read/write
Bits
Field
15 - 0
CNTR_PRELOAD_HIGH
Address offset:
0x242, 0x246, ... 0x27E
Access:
Read/write
Bits
Field
15 - 0
CNTR_PRELOAD_LOW
C2K User's Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Default
-
Counter 0 Interrupt Status—provides current interrupt status
for counter 0.
0 = interrupt is de-asserted
1 = interrupt is asserted
Default
-
Counter Current High Value—upper 16 bits of 32-bit
counter/timer current value
Default
-
Counter Current Low Value—lower 16 bits of 32-bit
counter/timer current value
Default
0xFF
Counter Preload High Value—upper 16 bits of 32-bit
counter/timer preload value
Default
0xFF
Counter Preload Low Value—lower 16 bits of 32-bit
counter/timer preload value
Description
Description
Description
Description
Description
Resources
5-44

Advertisement

Table of Contents
loading

Table of Contents