MB91F465XA EMULATION
Chapter 5 Appendix
MCU-AN-300015-E-V11
- 38 -
© Fujitsu Microelectronics Europe GmbH
Figure 5-3: Vector.c file macro switch settings
The above code part of Vectors.c file shows the settings using the macro switch
EMULATOR.
Note:
Always check the Internet / CD for
latest versions.
…
/*------------------------------------------------------------------------
Vector definiton
Use following statements to define vectors. All resource related
vectors are predefined. Remaining software interrupts can be added here
as well.
------------------------------------------------------------------------*/
#pragma intvect 0xBFF8 0 /* (fixed) reset vector */
#pragma intvect 0x06000000 1 /* (fixed) Mode Byte */
#pragma intvect DefaultIRQHandler 15 /* Non Maskable Interrupt */
#pragma intvect DefaultIRQHandler 16 /* External Interrupt 0 */
…
#if (EMULATOR == 0)
#pragma intvect DefaultIRQHandler 27 /* External Interrupt 11 */
#pragma intvect DefaultIRQHandler 29 /* External Interrupt 13 */
#pragma intvect DefaultIRQHandler 31 /* External Interrupt 15 */
#else
#pragma intvect DefaultIRQHandler 27 /* External Interrupt 11
-> FlexRay Timer 0 & timer 1 */
#pragma intvect DefaultIRQHandler 29 /* External Interrupt 13
-> FlexRay INT1 */
#pragma intvect DefaultIRQHandler 31 /* External Interrupt 15
-> FlexRay INT0 */
#endif
…
#if (EMULATOR == 0)
#pragma intvect DefaultIRQHandler 84 /* FlexRay INT0 line */
#pragma intvect DefaultIRQHandler 85 /* FlexRay Timer 0 */
#pragma intvect DefaultIRQHandler 86 /* FlexRay INT1 line */
#pragma intvect DefaultIRQHandler 87 /* FlexRay Timer 1 */
#else
#pragma intvect DefaultIRQHandler 84 /* USART (LIN, FIFO) 12 RX */
#pragma intvect DefaultIRQHandler 85 /* USART (LIN, FIFO) 12 TX */
#pragma intvect DefaultIRQHandler 86 /* USART (LIN, FIFO) 13 RX */
#pragma intvect DefaultIRQHandler 87 /* USART (LIN, FIFO) 13 TX */
#endif
…
#pragma intvect DefaultIRQHandler 142 /* DMA Controller */
#pragma intvect DefaultIRQHandler 143 /* Main/Sub OSC stability wait */
#pragma intvect 0xFFFFFFFF 144 /* Boot Sec. Vector (MB91V460A) */