IO Device:IntelDIO

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
[ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/852_DIO_Sample_Windows/852_DIO_WDT.rar 852_DIO_WDT.rar]
[ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/852_DIO_Sample_Windows/852_DIO_WDT.rar 852_DIO_WDT.rar]
 +
 +
== How to use this Demo Application ==
 +
1. Press the "Start" button to test DIO function
 +
 +
2. Press the "Enable" button to test WDT function
 +
 +
3. Press the "Disable" button when WDT enable to disable WDT
 +
 +
[[Image:F75111_DIOdemo.jpg]]
 +
 +
== Introduction ==
 +
=== Initial Internal F75111 port address (0x9c)===
 +
define GPIO1X, GPIO2X, GPIO3X to input or output
 +
and Enable WDT function pin
 +
 +
=== Set F75111 DI/DO ( sample code as below Get Input value/Set output value )===
 +
DO: InterDigitalOutput(BYTE byteValue))
 +
DI: InterDigitalInput()
 +
 +
=== Enable/Disable WDT ===
 +
Enable : F75111_SetWDTEnable (BYTE byteTimer)
 +
Disable: F75111_SetWDTDisable ()

Revision as of 16:21, 5 August 2008


Contents

The Sample code source you can download from

852_DIO_WDT.rar

How to use this Demo Application

1. Press the "Start" button to test DIO function

2. Press the "Enable" button to test WDT function

3. Press the "Disable" button when WDT enable to disable WDT

Image:F75111_DIOdemo.jpg

Introduction

Initial Internal F75111 port address (0x9c)

   define GPIO1X, GPIO2X, GPIO3X to input or output 
   and Enable WDT function pin 

Set F75111 DI/DO ( sample code as below Get Input value/Set output value )

   DO: InterDigitalOutput(BYTE byteValue))
   DI: InterDigitalInput()

Enable/Disable WDT

   Enable : F75111_SetWDTEnable (BYTE byteTimer)
   Disable: F75111_SetWDTDisable ()
Personal tools