Programming The Gpio's; Gpio: Output Enable Control Register - Offset 66H; Gpio Input Data Register - Offset 67H - PEP CP390 Manual

Active pmc carrier board for compactpci applications
Table of Contents

Advertisement

CP390
4.2.6

Programming the GPIO's

This sub-chapter provides information for programming the GPIO's (General Purpose
I/O's) of the PCI-to-PCI bridge.

4.2.6.1 GPIO: Output Enable Control Register - Offset 66h

This section describes the GPIO for the Output Enable Control Register.
Dword address = 64h
Byte enable p_cbe_1<3:0> = x0xxb
Table 4-3: GPIO Output Enable Control Gegister - Offset 66h
Dword Bit
GPIO output
19:16
enable
write-1-to-clear
GPIO output
23:20
enable
write-1-to-set

4.2.6.2 GPIO Input Data Register - Offset 67h

This section describes the GPIO input data register.
Dword address = 64h
Byte enable p_cbe_1<3:0> = 0xxxb
Table 4-4: GPIO Input Data Register - Offset 67h
Dword Bit
27:24
Reserved
31:28
GPIO input
ID 19976, Rev. 0200
Name
R/W
R/W1TC
R/W1TS
Name
R/W
R
R
® PEP Modular Computers GmbH
Description
The gpio<3:0> output enable control
write-1-to-clear. Writing 1 to any of these bits config-
ures the corresponding gpio<3:0> pin as an input
only; that is, the output driver is tristated.
Writing 0 to this register has no effect.
When read, reflects the last value written.
Reset value: 0 (all pins are input only).
The gpio<3:0> output enable control
write-1-to-set. Writing 1 to any of these bits config-
ures the corresponding gpio<3:0> pin as bidirec-
tional, that is,
enables the output driver and drives the value set in
the output data register (65h).
Writing 0 to this register has no effect.
When read, reflects the last value written.
Reset value: 0 (all pins are input only).
Description
Reserved. Returns 0 when read.
This read-only register reads the state of the
gpio<3:0> pins. This state is updated on the
PCI clock cycle following a change in the gpio pins.
Hotswap
Page 4 - 7

Advertisement

Table of Contents
loading

Table of Contents