常見問題
  • How should unused interrupt vectors be treated?
    • The occurrence of unused interrupt indicates an abnormal situation. We recommend fail-safe processing be executed, such as a reset by BRK instruction.
      The following shows an example.

      /**********************************************
      * Interrupt vector table
      **********************************************/
      static void int_NULL(void);
       :

      #pragma INTERRUPT int_NULL 0x0C 1
      #pragma INTERRUPT int_NULL 0x0E 1
       :

      /**********************************************
      * int_NULL
      **********************************************/
      static void int_NULL(void)
      {
      #pragma asm
      mov psw, #02h
      brk;
      #pragma endasm
      }

      Related Products: ML610(Q)40x, ML610(Q)42x, ML610(Q)47x, ML610(Q)48x, ML610Q10x, ML610Q11x, ML610Q17x, ML610Q30x, ML610Q35x, ML610Q36x, ML610Q38x, ML610Q41x, ML610Q43x, ML610Q46x, ML620Q13x, ML620Q15x, ML620Q416/ML620Q418, ML620Q503H/ML620Q504H/ML620Q506H, ML62Q12xx, ML62Q13xx, ML62Q14xx, ML62Q15xx/ML62Q18xx, ML62Q16xx, ML62Q17xx

    • Products: General-purpose MCUs (16bit) , Speech Playback MCUs (8bit)