beautypg.com

IBASE IPPC1501-RE User Manual

Page 69

background image

Copyright © 2013 IBASE Technology Inc. All Rights Reserved.

61

IBASE Technology Inc.

return 0;

}

//---------------------------------------------------------------------------

void WDTInitial(void)

{

unsigned char bBuf;

Set_W627UHG_LD(0x08); .........................//switch to logic device 8

bBuf = Get_W627UHG_Reg(0x30);

bBuf &= (~0x01);

Set_W627UHG_Reg(0x30, bBuf); ........................... //Enable WDTO

}

//---------------------------------------------------------------------------

void WDTEnable(unsigned char NewInterval)

This manual is related to the following products: