8.3. GPIO and Watchdog8.3.1. OverviewThis model provides both a GPIO interface and a Watchdog timer. Users canuse the GPIO and Watchdog APIs to configure and to access the GPIO interfaceand the Watchdog timer. The GPIO has four input pins and four output pins. TheWatchdog timer can be set to 1~255 seconds. Setting the timer to zero disablesthe timer. The remaining seconds of the timer to reboot can be read from the timer.8.3.2. Installing Device DriverBefore executing the applications which invoke the GPIO or Watchdog APIs,users should make sure that the Linux device driver or the Windows device driverhas been installed.On Linux platform, after successfully installing the device driver, a characterdevice node named “/dev/AcroDev” will be created automatically. The APIs openthe device node “/dev/AcroDev” implicitly so acquiring a file descriptor of“/dev/AcroDev” is not necessary.On Windows platform, after successfully installing the device driver, there is adevice which shows ‘Acrosser Device’ in the ‘Device Manager’. The APIs onWindows platform open this device implicitly.87