MB91F465XA EMULATION
Chapter 4 Softune Workbench
MCU-AN-300015-E-V11
- 18 -
© Fujitsu Microelectronics Europe GmbH
A muster of the macro switch is:
#if (EMULATOR == 0)
#include "mb91465x.h"
#else
#include "mb91465x_emulator.h"
#endif
In the template project the files main.c and vector.c have already used this macro switch.
Further source files of the project, which require the header file, should use the above
mentioned macro switch.
The interrupt vector table and ICR registers in file vector.c are set according to the switch
selection. The ICR registers define the interrupt level for the corresponding entry of the
interrupt vector table (See file vector.c in Appendix).