6 gpio and watchdog, 2 file description – Acrosser AR-ES6050FLD-W User Manual

Page 42

Advertising
background image

Revision: 1.0


3.6 GPIO and Watchdog


3.6.1 Overview

This model provides both a GPIO interface and a Watchdog timer. Users can use the

GPIO and Watchdog APIs to configure and to access the GPIO interface and the Watchdog
timer. The GPIO has eight ports. Each port can be configured as an input port or an output
port. The Watchdog timer can be set to 1~255 seconds. Setting the timer to zero disables
the timer. The remaining seconds of the timer to reboot can be read from the timer.

3.6.2 File Description

1. AcroIO.h

This header file includes API declarations and macros for GPIO and Watchdog.

2. AcroIO.lib, AcroIO.dll

The libraries which provide access to GPIO and Watchdog functions.

42

Advertising