Lanner LEC-7105 Bedienungsanleitung Seite 23

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 37
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 22
23
Programming Watchdog Timer
Embedded and Industrial Computing
Appendix A
#include <sys/errno.h>
#include <machine/bus.h>
#include <machine/resource.h>
#endif
#endif
/* local include file */
#include “../include/ioaccess.h
#if (defined(MODULE) || defined(DIRECT_IO_ACCESS) ||
defined(KLD_MODULE))
/*
* Platform Depend GPIOs Interface for Watchdog and Lan
bypass
*/
/*
*---------------------------------------------------------------------------
---
* LEB-7105 Version V1.0
*
* LEB-7105 embedded with HW Watchdog timer functions.
* Set Lan bypass Enable/Disable while System-off:
* ======================================
=========
* It is able to set Lan bypass enable/disable in system off
mode by SW program.
* The IO interface for off-mode bypass is connected to
Winbond SIO 83627UHG
* GPO22,GPO23(Pair1), GPO30,GPO31(Pair2),
* Refer to Winbond 83527 datasheet for details.
*
* The truth table of function is defined as below:
*
* Pair Bypass function GPIO Pin
* ---------------------------------------------------
* 1 Enable G P O 2 2 = 1
GPO23=0
* 1 Disable G P O 2 2 = 0
GPO23=1
* 2 Enable G P O 3 0 = 1
GPO31=0
* 2 Disable G P O 3 0 = 0
GPO31=1
*
* Runtime:
* ========
* It is able to set Lan bypass enable/disable alone, or design
hybrid with
* watchdog timeout(WDTO#).
* The IO interface for this function is conjunction with
Winbond 83627
* GPO24 (Pair1), GPO60(Pair2) and WDTO#.
* Refer to Winbond 83627 datasheet for details.
* The truth table is defined as below:
*
* Below setting is to determine system behavior while
watchdog timer expired.
*
* GPO27 System behavior
* ------------------------------------------------
* 0 Lan-bypass while watchdog timeout
* 1 System Reset while watchdog timeout
*
* Below setting is to determine lan bypass in runtime mode
*
* Pair Bypass function GPIO Pin
* -----------------------------------------------------------
* 1 Enable GPO24 =1
* 1 Disable GPO24 =0
* 2 Enable GPO60 =1
* 2 Disable GPO60 =0
*
* Note: To sete runtime bypass mode, user need to set
off-mode bypass
* enabled in order to let function activity.
*
Seitenansicht 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 36 37

Kommentare zu diesen Handbüchern

Keine Kommentare