JHCTech WPPC-H1780T User Manual page 58

Table of Contents

Advertisement

2
* function description:WDT function
3
* parameter:Time sets the dog feed time, the time value is 0-255,
Setting 0 means to turn off the watchdog
4
* creation date:
5
======================================================================*/
void I715_watchdog_set(int time);
/* ======================================================================
1
* void I715_2nd_gpio_mode(int port,int mode);
2
* function description:subcard input and output mode settings
3
* parameter description:
parameter:port fill in GPIO number,1 or 2
mode 8 bits of a byte, each bit controls input and output mode of a GPIO pin
bit = 1, Corresponding pin as input
bit = 0, Corresponding pin as output
mode
GPIO pin
Bit7
Bit6
Bit5
PIN8
PIN7
PIN6
Bit4
Bit3
Bit2
PIN5
PIN4
PIN
3
51
User's Manual
*
Bit1
Bit0
PIN2
PIN1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wppc-h1580t

Table of Contents