2 Replies Latest reply on Oct 10, 2017 7:40 PM by m.ishimoto_1681396

    PSoC4 interrupts AN90799

    m.ishimoto_1681396

      To those who create and manage AN90799

       

      Even if it is implemented according to the following procedure described in AN90799, an error will appear.

      Is it possible to add a description to AN90799?

       

      4 Writing an Interrupt Service Routine (ISR)

      4.1 Using Auto-Generated ISR

       

      Among them, you need to describe below but you get an error that is undefined.

      void Timer_1_ClearInterrupt(uint32 interruptMask)

       

      As for the solution method, the definition sentence will be added to the following place.

      /* Place your includes, defines and code here */

      /* `#START isr_1_intc` */

      #include <Timer_1.h>

      /* `#END` */

       

      I would like you to describe the process steps up to this solution in the application notes.

       

      Best regards.

       

      - - Japanese - -

      AN90799を作成、管理している方へ

       

      AN90799記載の下記の手順通りに実装してもエラーが出てしまいます。

      記述を追加することは可能ですか?

       

      4 Writing an Interrupt Service Routine (ISR)

      4.1 Using Auto-Generated ISR

       

      この中で下記を記述が必要ですが定義されていないというエラーが出ます。

      void Timer_1_ClearInterrupt(uint32 interruptMask)

       

      解決の方法は、下記の場所に定義文を追加することになります。

      /* Place your includes, defines and code here */

      /* `#START isr_1_intc` */

      #include <Timer_1.h>

      /* `#END` */

       

      アプリケーションノートにはこの解決方法に至るまでを記載してほしい。

       

      以上、よろしくお願いします。

        • 1. Re: PSoC4 interrupts AN90799
          vsrs

          Hello Ishimoto san,

           

          I have understood your request. And thank you very much for your feedback. It was expected that user will use the needed includes and defines in the file when you are using an external function. And when it is better to add this portion in the below section.

          /*******************************************************************************

          *  Place your includes, defines and code here

          ********************************************************************************/

          /* `#START isr_1_intc` */

          #include <Timer_1.h>

          /* `#END` */

           

           

          Best Regards,
          VSRS

          • 2. Re: PSoC4 interrupts AN90799
            m.ishimoto_1681396

            Dear VSRS san,

             

            Thank you for response.

             

            I would like to reflect on AN90799.

             

            Best Regards,

            Masaya Ishimoto