JHCTech KMDA-3820 User Manual page 87

Table of Contents

Advertisement

GPIO pin
Note: The output value is valid only when the pin is in output mode.
4 * creation date:
5*========================================================================*/
/*==========================================================================
1
* int Second_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 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*========================================================================*/
Note: If you want more programs of the motherboard's watchdog and subcard's GPIO, please call +86-
0755-86021176-(8021)/+86-0755-86021176-(8023) for more information.
PIN8
PIN7
PIN6
Bit7
Bit6
Bit5
PIN8
PIN7
PIN6
PIN5
PIN4
PIN3
Bit4
Bit3
Bit2
PIN5
PIN4
PIN3
79
User's Manual
PIN2
PIN1
Bit1
Bit0
PIN2
PIN1

Advertisement

Table of Contents
loading

Table of Contents