PCA-6782 User Manual
84
C.1
Supported GPIO Register
Bellow are detailed description of the GPIO addresses and programming sample.
C.1.1
GPIO Registers
Extended Function Index Registers (EFIRs)
The EFIRs are write-only registers with port address 2Eh on PC/AT systems.
Extended Function Data Registers(EFDRs)
The EFDRs are read/write registers with port address 2Fh on PC/AT systems.
CR07 (Logical Device Number Register)
Set to ‘09’ to modify GPIO settings.
CRF0 (GP10-GP17 I/O selection register. Default 0xFF)
When set to '1', the respective GPIO port is programmed as an input port.
When set to '0', the respective GPIO port is programmed as an output port.
CRF1 (GP10-GP17 data register. Default 0x00)
If a port is programmed to be an output port, then its respective bit can be read/writ-
ten.
If a port is programmed to be an input port, then its respective bit can only be read.
CRF2 (GP10-GP17 inversion register. Default 0x00)
When set to '1', the incoming/outgoing port value is inverted.
When set to '0', the incoming/outgoing port value is the same as in data register.
Содержание PCA-6782
Страница 7: ...PCA 6782 User Manual viii...
Страница 12: ...Chapter 1 1 Hardware Configuration...
Страница 22: ...Chapter 2 2 Connecting Peripherals Jumper Settings...
Страница 38: ...Chapter 3 3 AMI BIOS Setup...
Страница 56: ...Chapter 4 4 Value Added Software Services...
Страница 60: ...Chapter 5 5 Chipset Software Installation Utility...
Страница 63: ...PCA 6782 User Manual 52...
Страница 64: ...Chapter 6 6 Integrated Graphic Device Setup...
Страница 66: ...Chapter 7 7 LAN Configuration...
Страница 68: ...Appendix A A Programming the Watchdog Timer...
Страница 76: ...Appendix B B I O Pin Assignments...
Страница 94: ...Appendix C C Programming the GPIO...