beautypg.com

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

Page 31: Gpio and watchdog, 4 software installation and programming guide31, Introduction, 4software installation and programming guide

background image

AR-B5800 User Manual

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:

Pin Name on SIO I/O Direction

Signal Name

in Source Code

GP30

Configurable GPIO0

GP31

Configurable GPIO1

GP32

Configurable GPIO2

GP33

Configurable GPIO3

31


This manual is related to the following products: