13
PMCCTR32
Copyright
2001 BVM Ltd.
7. Programming
7.1
PCI Configuration Details
A pre-programmed EEPROM contains the BVM PCI Vendor ID, which is 15C0 (hexadecimal) and the
PCI Device ID, which is 02FF (hexadecimal) and the BVM PCI Subsystem Vendor ID, which is 15C0
(hexadecimal) and the PCI Subsystem Device ID, which is 020C (hexadecimal).
7.2 Address
Map
The PMCCTR32 uses BAR2 for access to the user accessible registers which are mapped into PCI
memory space as shown below. BAR0 is used for access to the PCI9030 configuration register offsets
which are also mapped into PCI memory space. Details of PCI9030 configuration are not covered in
this User's Manual - see section "A.1 PCI9030 PCI Interface (on page 19)" for further details. BAR1,
BAR3 and above are unused.
Address
Description
Access
Size
000
Counter/Timer Output Register
R
8
001
Counter/Timer Clock Register
R
8
002
Counter/Timer Gate Register
R
8
003
Counter/Timer Direction Register
R
8
009 - 004
Reserved (reads 0)
R
00A
Counter/Timer Gate Override Register
R/W
8
00B
Counter/Timer Dir. Override Register
R/W
8
00F - 00C
Reserved (reads 0)
R
010
Counter/Timer Status Register
R/W
8
011
Counter/Timer Output Control Register
R/W
8
012
Counter/Timer Interrupt Enable Register
R/W
8
013
Counter/Timer Clock Source Register
R/W
8
017 - 014
Reserved (reads 0)
R
018
Direction Register
R
8
019
Function Register
R
8
01B - 01A
Status & Control Register
R/W
16
0FF - 01C
Reserved (reads 0)
R
100
Watchdog Trigger Register
R/W
8
103 - 101
Unused (undefined)
104
Watchdog Timer Register
R/W
8
107 - 105
Unused (undefined)
108
Watchdog Status Register
R
8
1FF - 109
Unused (undefined)
201 - 200
Counter/Timer 0 Value Register
R/W
16
203 - 202
Reserved (reads 0)
R
16
205 - 204
Counter/Timer 1 Value Register
R/W
16
207 - 206
Reserved (reads 0)
R
16
209 - 208
Counter/Timer 2 Value Register
R/W
16
20B - 20A
Reserved (reads 0)
R
16
20D - 20C
Counter/Timer 3 Value Register
R/W
16
20F - 20E
Reserved (reads 0)
R
16
211 - 210
Counter/Timer 4 Value Register
R/W
16
213 - 212
Reserved (reads 0)
R
16
215 - 214
Counter/Timer 5 Value Register
R/W
16
217 - 216
Reserved (reads 0)
R
16
219 - 218
Counter/Timer 6 Value Register
R/W
16
21B - 21A
Reserved (reads 0)
R
16
21D - 21C
Counter/Timer 7 Value Register
R/W
16
21F - 21E
Reserved (reads 0)
R
16