K350-D25501 / K350-N26001 User Manual
61
Appendix-B GPIO
The System Board provides 4 dedicated output ports and 4 programmable I/O ports
that can be individually configured to perform a simple I/O function. Users can
configure 4 programmable I/O ports to become an input or output port by
programming register bit of I/O Selection .
To invert port value, the setting of Inversion
Register has to be made
(Note)
. Port values can be set to read or write through Data
Register.
Note: Only 4 programmable I/O ports support.
Additionally, 4 Digital Output ports amplified signals from GPIO ports. There are
open-drain buffers, which can offer greater driving capacity up to 100mA.
For more information about GPIO, please refer to Winbond W83627EHF data sheet.
The related Control Registers of GPIO are all included in the following sample
program that is written in C language. To ensure a successful accessing to the
content of desired Control Register, the sequence of following program codes should
be step-by-step run again when each register is accessed.
There are two PnP I/O port addresses that can be used to configure GPIO ports,
1) 0x2E - EFER (Extended Function Enable Register, for entering Extended Function
Mode)
- EFIR (Extended Function Index Register, for identifying CR index number)
2) 0x2F - EFDR (Extended Function Data Register, for accessing desired CR)
Below are some example codes, which demonstrate the use of GPIOs.
// Enter Extended Function Mode
outp(0x002E, 0x87);
outp(0x002E, 0x87);
// Assign Pin121-128 to be GPIO port
outp(0x002E, 0x29);
outp(0x002F, inp(0x002F) | 0x01);
Содержание K350-D25501
Страница 1: ...K350 D25501 K350 N26001 Intel D2550 Intel N2600 2 1 0 2 v o N 1 0 v e R l a u n a M r e s U ...
Страница 4: ...K350 D25501 K350 N26001 User Manual 4 3 4 Audio Driver 57 Appendix A Watchdog 58 Appendix B GPIO 61 ...
Страница 39: ...K350 D25501 K350 N26001 User Manual 39 ϭ Fixed Graphics Memory It is used by the Internal graphics device ...
Страница 42: ...K350 D25501 K350 N26001 User Manual 42 ϭ SMBus Controller Choices Disabled Enabled ...
Страница 51: ...K350 D25501 K350 N26001 User Manual 51 Step 4 Click Next to continue Step 5 Click Finish to complete setup ...
Страница 53: ...K350 D25501 K350 N26001 User Manual 53 Step 3 Click Next to continue Step 4 Click Next to continue ...
Страница 54: ...K350 D25501 K350 N26001 User Manual 54 Step 5 Click Finish to complete setup ...
Страница 56: ...K350 D25501 K350 N26001 User Manual 56 Step 3 Click Finish to complete setup ...
Страница 60: ...K350 D25501 K350 N26001 User Manual 60 1 0x00 Time out Disable 2 0x01 0xFF Value for counting down ...