AN2184 Freescale Semiconductor / Motorola, AN2184 Datasheet - Page 55

no-image

AN2184

Manufacturer Part Number
AN2184
Description
MCF5272 Interrupt Service Routine for the Physical Layer Interface Controller
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
CICommand:nop
LoopCI: move.b
CheckACK:nop
RCheck: nop
WaitLoop:
LoopGCI: sub.l
The following file is used to configure the ColdFire
to make sure the configuration matches his requirements. The file is as follows:
RegisterInit:; to initialize the registers
IntInit:
cmp.l
bne
rts
lea.l
jsr
andi.l
jsr
move.b
cmp.l
bne
rts
move.b
andi.l
cmp.l
bne
rts
move.b
andi.l
cmp.l
beq
rts
nop
Move.l
cmp.l
bne
rts
clr.l
clr.l
clr.l
clr.l
clr.l
clr.l
clr.l
clr.l
rts
move.l
movec
move.w
move.w
move.b
move.b
move.l
move.l
move.l
move.l
move.l
move.l
Freescale Semiconductor, Inc.
For More Information On This Product,
#$0,D2
RTxCheck1
CICom,A2
RCheck
(A2)+,D0
#$000000FF,D0
RCheck
D0,P1GCIT(A5)
#$1C,D0
LoopCI
PGCITSR(A5),D1
#$02,D1
#$02,D1
CheckACK
P1GCIT(A5),D2
#$00000010,D2
#$00000010,D2
RCheck
#$FFF,D0
#1,D0
#0,D0
LoopGCI
D0
D1
D2
D3
D4
D5
D6
D7
#VBR_Init,D0
D0,VBR
#$2400,D0
D0,SR
#$40,D0
D0,PIVR(A6)
#$88888888,D0
D0,ICR1(A6)
D0,ICR3(A6)
D0,ICR4(A6)
#$88EF8888,D0
D0,ICR2(A6)
MCF5272 Interrupt Service Routine
Go to: www.freescale.com
®
CPU core. Before using this file, the user must check
; to set the vector base reg.
; to set the status register
; to point the interrupts
; Disable all type of ISR
; reset all types of interrupt
; PLIC APer Interrupt on, level 7
; PLIC Per Interrupt on level 6
Appendix A Software Configuration
55

Related parts for AN2184