Appendix B
69
Please refer to source code for set_data() and get_data() function.
Read data to GPI(input) port
get_data( Register Index ) //It will return a BYTE value.
example :
unsigned char data
get_data( 0xF1 , data);
//Get GPI(input) port status on input_data variable.
Refer to GPIO setting of Step A and B. , located Logical 0x08 for WDT
function.
Reg [0x30] is WatchDog ON/OFF control.
WatchDog On :
set_data( 0x30 , 0x01);
WatchDog Off :
set_data( 0x30 , 0x00);
Reg [0xF0] is WatchDog timer - counterON/OFF control.
WatchDog counter start :
set_data( 0xF0 , 0x02);
WatchDog counter start :
set_data( 0xF0 , 0x00);
Reg [0xF1] is WatchDog time-out value, "Reading" this register returns the
current value in the Watch Dog Counter, not the Watch Dog Timer Time-out
value.
WatchDog time-out value :
set_data( 0xF1 , );
E.WDT ON/OFF and Timer-Counter setting
Содержание PONS vX-Series
Страница 1: ...1 0 0 Edition 19 Mar 14 All information is subject to change without notice...
Страница 3: ...Record of Revision Version Date Page Description Remark V1 00 March 10 2014 All Preliminary Release...
Страница 12: ...5 Product Introduction 1 4 Mechanical Dimension Figure 1 1 PONS v8610 PONS v8620 Dimension Unit mm inch...
Страница 60: ...53 System Setup Installation Method 1 Installation Method 2...