Wdt sample program, Digital i/o software programming – Axiomtek FDK172-834 User Manual

Page 66

Advertising
background image

FDK172-834

User’s Manual

60

Watchdog Timer

WDT Sample Program


Enable WDT

1.Enable configuration

-O 2E 87

-O 2E 87

2. Select Logic device:

-O 2E 07
-O 2F 08

3. WDT Device Enable

-O 2E 30
-O 2F 01

4. Set timer unit

-O 2E F0
-O 2F 00  (00: Sec; 08: Minute)

5. Set base timer:

-O 2E F1
-O 2F 0A Set Reset Time (Ex.0A:10 Sec)

Disable WDT

1.Enable configuration

-O 2E 87

-O 2E 87

2. Select Logic device:

-O 2E 07
-O 2F 08

3. WDT Device Disable

-O 2E 30
-O 2F 00


Digital I/O Software Programming

I2C to GPIO PCA9535PW GPIO

 I2C address: 0b01000000.

Advertising