Kontron EPIC/PM User Manual page 51

Table of Contents

Advertisement

CR0A - GP Port 2: Polarity Inversion Register
Bit 6 ... 0
Pins GP26 ... GP20
Bit 7
Reserved
This register enables polarity inversion of pins defined as input or output by CR0B.
When set to a "1", the incoming/outgoing port value is inverted.
When set to a "0", the incoming/outgoing port value is the same as in data register.
CR0B - GP Port 2: Input/Output Configuration Register
Bit 6 ... 0
Pins GP26 ... GP20
Bit 7
Reserved
This register selects Input or Output mode of pins.
When set to a "1", respective GPIO port is programmed as an input port.
When set to a "0", respective GPIO port is programmed as an output port.
CR0C - GP Port 2: Output style control Register
Bit 6 ... 0
Pins GP26 ... GP20
Bit 7
Reserved
When set to a "1", respective GPIO port is programmed as a pulse signal.
When set to a "0", respective GPIO port is programmed as a level signal.
CR0D - GP Port 2: Input Latched Data Register
Bit 6 ... 0
Pins GP26 ... GP20
Bit 7
Reserved
This register will latch Port 1 data while power on or RST# pin low, which is controlled by CR14h bit 0.
Bit 2...0 reflect the I2C bus address bits A2...A0.
CR11 - GP Port 2: Interrupt Status Register
Bit 6 ... 0
1 if a transition occurs at pin GP26 ... GP20.
Bit 7
Reserved
If GP26/INT is selected as interrupt function, bit 6 of this register will always be 0.
A read to this register will clear this register.
CR13 - GP Port 2: Interrupt Enable Register
Bit 5 ... 0
0 to disable GP26-GP20 interrupt output when interrupt function is selected.
Bit 7 ... 6
Reserved
Kontron User's Guide
EPIC/PM
51
17 16BGeneral Purpose I/O

Advertisement

Table of Contents
loading

Table of Contents