JHCTech PADR-M101 User Manual page 71

Table of Contents

Advertisement

4
* creation date:
5
======================================================================*/
void I910_watchdog_set(int time);
/* ======================================================================
1
* void I910_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
Note :The output value is valid only when the pin is in output mode.
4
* creation date:
5
======================================================================*/
void I910_2nd_gpio_mode(int port,int mode);
Setting 0 means to turn off the watchdog
Bit7
Bit6
Bit5
PIN8
PIN7
PIN6
Bit4
Bit3
Bit2
PIN5
PIN4
PIN
3
63
用户手册
*
Bit1
Bit0
PIN2
PIN1
*

Advertisement

Table of Contents
loading

Table of Contents