Reset and Powerup
19-10
ADSP-BF537 Blackfin Processor Hardware Reference
Listing 19-3. Exiting Reset by Staying in Supervisor Mode
_reset:
P0.L = LO(EVT15) ; /* Point to IVG15 in Event Vector Table */
P0.H = HI(EVT15) ;
P1.L = LO(_isr_IVG15) ; /* Point to start of IVG15 code */
P1.H = HI(_isr_IVG15) ;
[P0] = P1 ; /* Initialize interrupt vector EVT15 */
P0.L = LO(IMASK) ; /* read-modify-write IMASK register */
R0 = [P0] ; /* to enable IVG15 interrupts */
R1 = EVT_IVG15 (Z);
R0 = R0 | R1 ; /* set IVG15 bit */
[P0] = R0 ; /* write back to IMASK */
RAISE 15 ; /* generate IVG15 interrupt request */
/* IVG 15 is not served until reset
handler returns */
P0.L = LO(_usercode) ;
P0.H = HI(_usercode) ;
RETI = P0 ; /* RETI loaded with return address */
RTI ; /* Return from Reset Event */
_reset.end:
_usercode: /* Wait in user mode till IVG15 */
JUMP _usercode; /* interrupt is serviced */
_isr_IVG15: /* IVG15 vectors here due to EVT15 */
...
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...