IO Device:IntelDIO

From LEXWiKi

Revision as of 16:21, 5 August 2008 by Denny (Talk | contribs)
Jump to: navigation, search


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:.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