JHCTech KGEC-6300 User Manual page 63

Table of Contents

Advertisement

Note: The output value is valid only when the pinis in output mode.
4*creation date:
5*========================================================================*/
/*==========================================================================
2* void I952_2nd _output(int port,int level);
2* function description:high and low levelsoutput of thesubcard
3*parameter description:
Parameter:port fill in subcard GPIO number, 1 or 2
Level 8 bit of aByte, each bit controls a GPIO pin output value,
Bit=1, means output high level
Bit =0, means output low level
Level
GPIO pin
Note: The output value is valid only whenthe pin is in output mode.
4*creation date:
5*========================================================================*/
/*==========================================================================
1* int I952_2nd_input (int port);
2
* function description:read the motherboard GPIO input level
3
* parameter description:
Return value:return a byte (8 bit), eachbit 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:Thereadvalue is valid only when the pin is ininput mode
4*creation date:
5*========================================================================*/
Bit7
Bit6
Bit5
PIN8
PIN7
PIN6
Bit7
Bit6
Bit5
PIN8
PIN7
PIN6
Bit4
Bit3
Bit2
PIN5
PIN4
PIN3
Bit4
Bit3
Bit2
PIN5
PIN4
PIN3
58
User's Manual
Bit1
Bit0
PIN2
PIN1
Bit1
Bit0
PIN2
PIN1

Advertisement

Table of Contents
loading

Table of Contents