PSoC4 interrupts AN90799

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaIs_1681396
Level 1
Level 1
First like given

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` */

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

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

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

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

View solution in original post

0 Likes
2 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

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

0 Likes

Dear VSRS san,

Thank you for response.

I would like to reflect on AN90799.

Best Regards,

Masaya Ishimoto

0 Likes