Table of Contents

Advertisement

5.1.2 GPIO

/* ======================================================================
1
* BYTE I715_MB_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
Bit7
Bit6
value
GPIO
PIN8
PIN7
pin
parameter:Port Fill in the motherboard GPIO port, which is a fixed value designed by the manufacturer
4
* creation date:
5
======================================================================*/
BYTE I715_MB_gpio_input(WORD port);
/* ======================================================================
1
* void I715_MB_gpio_output(WORD port, BYTE value);
2
* function description:high and low level output of the motherboard
Bit5
Bit4
Bit3
PIN6
PIN5
PIN4
66
Bit2
Bit1
Bit0
PIN3
PIN2
PIN1
User's Manual
*

Advertisement

Table of Contents
loading

Table of Contents