FUJITSU MB95F430 User Manual

Page 18

Advertising
background image

Operational Amplifier Version 1.0

Chapter 9 Sample Code

MCU-AN-500080-E-10 - Page 18

#pragma intvect DefaultIRQHandler 6 // IRQ6: 8/16-bit timer ch0 (upper)
#pragma intvect DefaultIRQHandler 7 // IRQ7: Output Compare ch0

#pragma intvect DefaultIRQHandler 8 // IRQ8: Output Compare ch1
#pragma intvect DefaultIRQHandler 9 // IRQ9: none
#pragma intvect DefaultIRQHandler 10 // IRQ10: Voltage Compare ch0
#pragma intvect DefaultIRQHandler 11 // IRQ11: Voltage Compare ch1

#pragma intvect DefaultIRQHandler 12 // IRQ12: Voltage Compare ch2
#pragma intvect DefaultIRQHandler 13 // IRQ13: Voltage Compare ch3
#pragma intvect DefaultIRQHandler 14 // IRQ14: 16-bit free run timer
#pragma intvect DefaultIRQHandler 15 // IRQ15: 16-bit PPG0

#pragma intvect DefaultIRQHandler 16 // IRQ16: I2C ch0
#pragma intvect DefaultIRQHandler 17 // IRQ17: none
#pragma intvect DefaultIRQHandler 18 // IRQ18: 10-bit A/D-converter
#pragma intvect DefaultIRQHandler 19 // IRQ19: Timebase timer

#pragma intvect DefaultIRQHandler 20 // IRQ20: Watch timer
#pragma intvect DefaultIRQHandler 21 // IRQ21: none
#pragma intvect DefaultIRQHandler 22 // IRQ22: none
#pragma intvect DefaultIRQHandler 23 // IRQ23: Flash Memory

/*---------------------------------------------------------------------------
DefaultIRQHandler()

This function is a placeholder for all vector definitions.
Either use your own placeholder or add necessary code here
(the real used resource interrupt handlers should be defined in the main.c).
-----------------------------------------------------------------------------*/
__interrupt void DefaultIRQHandler(void)
{
__DI();

//

disable

interrupts

while(1)
__wait_nop();

//

halt

system

}

Advertising