Intel 8XC196MC User Manual page 224

Table of Contents

Advertisement

and
temp,#0001h
shl
temp,#3
ld
temp1,it
and
temp1,#0001h
shl
temp1,#2
or
temp,temp1
ld
temp1,dp
and
temp1,#0001h
shl
temp1,#1
or
temp,temp1
ld
temp1,eo
and
temp1,#0001h
or
temp,temp1
stb
temp,WG_PROTECT[0];store byte into WG_PROTECT
ret
;
;*******************************************
;interrupt routine for WFG
;*******************************************
;
cseg at 0f1a0h
pusha
call wgout
call loadregs
call protect
call wgcon
popa
ret
end
;mask
;shift to correct location
;interrupt type bit
;mask
;shift to correct location
;combine into temp
;disable protection bit
;mask
;shift to correct location
;combine into temp
;enable output bit
;mask
;combine into temp
;demo board PI interrupt
;update WG_OUTPUT register
;update reload & compare regs
;update protection options
;update WG_CONTROL
Get other manuals https://www.bkmanuals.com
WAVEFORM GENERATOR
9-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents