****************************************************************
;Module: 2407 Initialization
;
; Initialize the PLL, Watchdog and Wait state generator
; Clear EV registers
***************************************************************
INIT_2407:
POINT_B0 ; Variables data page
SPLK #01000000b, GPR0 ; Set 1 wait state for I/O
OUT GPR0, WSGR
POINT_PF1 ; Peripherals first data page
SPLK #4000h, SCSR
; Disable the watchdog timer
POINT_PF1 ; Peripherals first data page
SPLK #006Fh, WD_CNTL
SPLK #05555h, WD_KEY
SPLK #0AAAAh, WD_KEY
SPLK #006Fh, WD_CNTL