Wdt And Gpio - JHCTech KMDA-3820 User Manual

Table of Contents

Advertisement

5.1 WDT and GPIO

/* ======================================================================
1
* void jhctech_init();
2
* function description: library initialization, This function must be called before calling other
functions
3
* parameter description:
4
* creation date:
5*======================================================================*/
/* ======================================================================
1
* void jhctech_init();
2
* function description: library release, Pair with jhctech_init, release the library's occupied resources
when not needed
3
* parameter description:
4
* creation date:
5* ======================================================================*/
/*==========================================================================
1
* BYTE 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 8 bit corresponding to the level state of a GPIO pin
Return value
GPIO pin
Parameter: port fill in motherboard GPIO number which is designed by factory
Note:
4
* creation date:
5*========================================================================*/
Bit7
Bit6
Bit5
PIN8
PIN7
PIN6
Bit4
Bit3
Bit2
PIN5
PIN4
PIN3
76
User's Manual
Bit1
Bit0
PIN2
PIN1

Advertisement

Table of Contents
loading

Table of Contents