beautypg.com

1 introduction, Lcd control module, Overview – Acrosser AR-R5800 User Manual

Page 49: Gpio and watchdog, Software installation and programming guide, Introduction, 4software installation and programming guide

background image

Revision:

1.2

4

Software Installation and
Programming Guide

4.1 Introduction

LCD Control Module

Overview

The LCM (short for LCD Control Module) APIs provide interfaces to control the module. By

invoking these APIs, programmers can implement the applications which have the functions listed
below:

1. Clear LCD screen.
2. Turn on or off the cursor on the screen.
3. Move the cursor on the screen.
4. Turn on or off the text on the screen.
5. Get the identification of the pressed key of the LCM.
6. Show the text on the screen.

GPIO and Watchdog

Overview

AR-B5800 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. Users can configure each pin as input or output respectively. 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.

In this GPIO and Watchdog package, we provides:

1. API source code.
2. GPIO and Watchdog test utility and the utility source code.

Here is the GPIO Mapping Table:

49