System Installation
WADE-8013/WADE-8014 User’s Manual
3-9
The control for the GPIO signals is handled through a separate 2-byte I/O space.
J13: GPIO
PIN No. Signal Description PIN No.
Signal Description
1
LPC_GP77 2 LPC_GP73
3
LPC_GP76 4 LPC_GP72
5 LPC_GP75 6 LPC_GP71
7 LPC_GP74 8 LPC_GP70
9
GND
10 Vcc
J14: GPIO
PIN No. Signal Description PIN No.
Signal Description
1
LPC_GP87 2 LPC_GP83
3
LPC_GP86 4 LPC_GP82
5 LPC_GP85 6 LPC_GP81
7 LPC_GP84 8 LPC_GP80
9
GND
10 Vcc
GPIO Control Command Example
#define GPIO_SEL_13
#if GPIO_SEL_13
#define GPIO_MODE
0xCE // GPIO13 (J13)
#else
#define GPIO_MODE
0xCF // GPIO14 (J14)
#endif
static void set_ite_cfg (unsigned char Addr,unsigned char Value)
{
write_io_byte (0X2E, Addr);
write_io_byte (0X2E + 1, Value);
}
static unsigned char get_ite_cfg (unsigned char Addr)