ARK-5261 User Manual
66
B.1
Supported GPIO Register
Bellow are detailed description of the GPIO addresses and programming sample.
B.1.1
GPIO Registers
CR
E4
(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.
CR
E5
(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.
CR
E6
(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.
Extended Function Index Registers (EFIRs)
The EFIRs are write-only registers with port address 2Eh or 4Eh on PC/AT systems.
Extended Function Data Registers(EFDRs)
The EFDRs are read/write registers with port address 2Fh or 4Fh on PC/AT systems
Содержание ARK-5261
Страница 1: ...User Manual ARK 5261 Embedded IPC ...
Страница 8: ...ARK 5261 User Manual viii ...
Страница 9: ...Chapter 1 1 General Introduction This chapter gives background information on ARK 5261 ...
Страница 15: ...Chapter 2 2 H W Installation This chapter introduces external IO and the installation of ARK 5261 hardware ...
Страница 33: ...Chapter 3 3 AMI BIOS Setup This chapter introduces how to set BIOS configuration data ...
Страница 38: ...ARK 5261 User Manual 30 ...
Страница 40: ...ARK 5261 User Manual 32 ...
Страница 42: ...ARK 5261 User Manual 34 ...
Страница 43: ...35 ARK 5261 User Manual Chapter 3 AMI BIOS Setup ...
Страница 64: ...ARK 5261 User Manual 56 ...
Страница 65: ...Appendix A A Programming the Watchdog Timer ...
Страница 73: ...Appendix B B Programming the GPIO ...
Страница 77: ...69 ARK 5261 User Manual Appendix B Programming the GPIO ...