ROBO-8115VG2AR
Copyright © Portwell 2021
ROBO-8115VG2AR User's Guide
39
//--------------------------------
// Main Function
//--------------------------------
int main (int argc, char ** argv)
{
int Temp;
// Initial
if(iopl(3)!=0){
printf("error: I/O Permission Error!\n");
return 1;
}
// Enable WDT 10min, 20sec
Write_EC_SRAM(WDTSEC,5); // 5 Sec
Write_EC_SRAM(WDTMIN,1); // 1 min
// Enable WDT 5sec and WDT pin mode
Temp = Read_EC_SRAM(WDTCFG);
Write_EC_SRAM(WDTCFG,(Temp|0x13)); // Bit4: 1: Driving WDT pin
// BIT1: 1: Minute Mode
// Bit0: 1: Enable WDT
Summary of Contents for ROBO-8115VG2AR
Page 14: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 14...
Page 17: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 17 Block Diagram...
Page 19: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 19...
Page 43: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 43...
Page 48: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 48...
Page 50: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 50...
Page 63: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 63 PEG Port Configuration...
Page 70: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 70...
Page 71: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 71...
Page 89: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 89 6 2 4 Boot...
Page 91: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 91 6 2 5 Save Exit...