JHCTech KMDA-3602 User Manual page 60

Table of Contents

Advertisement

/*==========================================================================
1 * int smbus_16pin_gpio_input(int 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 subcard GPIO number, 1 or 2
Note: The read value is valid only when the pin is in input mode
4
* creation date:
5*========================================================================*/
Bit7
Bit6
Bit5
PIN8
PIN7
PIN6
Bit4
Bit3
Bit2
PIN5
PIN4
PIN3
53
User's Manual
Bit1
Bit0
PIN2
PIN1

Advertisement

Table of Contents
loading

Table of Contents