Page | 110
6.
Read corresponding IRQ number of the GPIO pins;
DWORD id = 0, irq = 0;
DeviceIoControl(hFile, IOCTL_GPIO_GETIRQ, &id, sizeof(DWORD),
&irq, sizeof(DWORD), NULL, NULL);
Id
is the GPIO pin number;
irq
returns its IRQ number;
7.
Disable the GPIO device;
CloseHandle(hFile);
Note:
GPIO pin definitions: 0~191 MPU Bank1~6 GPIO pin, 192~209 TPS65930
GPIO 0~17.
GPIO pins 0~191 must be defined as GPIO in both xldr/platform.c and
oalib/oem_pinmux.c.
GPIO interrupt mode is used by drivers, but not applications.
Содержание SBC8140
Страница 1: ...SBC8140 Single Board Computer User Manual Version 1 1 22nd Jan 2014...
Страница 12: ...Page 6 1 4 Interfaces on the SBC8140 Figure 4 SBC8140 Interfaces...
Страница 13: ...Page 7 1 5 System Block Diagram Figure 5 SBC8140 system block diagram...
Страница 15: ...Page 9 1 6 2 Expansion Board Figure 8 Expansion board dimensions...
Страница 128: ...Page 122...
Страница 130: ...Page 124 3 When the following appears select Continue 4 Please wait until the installation is completed...
Страница 131: ...Page 125...
Страница 139: ...Page 133 Appendix 5 FAQ Please visit http www elinux org SBC8600_FAQ...