/*==========================================================================
1
* int sio_gpio_input(WORD port);
2
* function description:read the motherboard GPIO input level
3
* parameter description:
Return value:return a byte (8 bit), each bit of the 8-bit corresponding to the level state of a GPIO
pin
Return value
GPIO pin
parameter:port fill in sub-card GPIO number, 1 or 2
Note: The read value is valid only when the pin is in input mode
4
* creation date:
5*========================================================================*/
Note: If you want more programs of the motherboard's watchdog and GPIO, please call +86-0755-
86021176-(8021)/+86-0755-86021176-(8023) for more information.
Bit7
Bit6
Bit5
PIN8
PIN7
PIN6
Bit4
Bit3
Bit2
PIN5
PIN4
PIN3
55
User's Manual
Bit1
Bit0
PIN2
PIN1