
ANR-DNV3N3 Series
37
4. Software Installation and
Programming Guide
4.1. Introduction
4.1.1.
Environment
This test utility develop based on kernel 4.8 above (Ubuntu 18.04.1 Desktop 64bit).
4.1.2. GPIO
The ANR-DNV3N3 provides GPIO interface. Users can use the GPIO APIs to Control
GPO Pin.
4.1.3.
Watchdog
The ANR-DNV3N3 provides a Watchdog timer. Users can use the Watchdog APIs to
configure and to access the Watchdog timer. 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.
4.1.4.
LCD Control Module
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 LCM screen.
2. Turn on or off the cursor on the screen.
3.
Get the identification of the pressed key of the LCM.
4. Get LCM PIC Version.
5. Get the LCM mode.
6. Graphic write on LCM.
4.1.5. LAN Bypass Subsystem
Two pairs of LAN ports on ANR-DNV3N3 implement the bypass function. Users can
invoke the LAN Bypass APIs to control the bypass states of the LAN ports.
1.
Get bypass firmware version.
2. Set bypass wdt.
3. Set bypass wdt action.
4. Get bypass wdt action.
5. Set bypass power on action.