interrupt buffer of function and #pragma data section

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

interrupt buffer of function and #pragma data section

959 次查看
InHome
Contributor III

Dear NXP Hello,

I want to store all the ISR functions in a buffer and affect the pointer to the INTC->IACKR0 register.

INTC->IACKR0  = (uint32_t) &Buffer[0];

But when I debug this line, IACKRO doesn't have the address, it has a part of the address.

I comprehend that I have to map this buffer to the .bss section interrupt but I don't know how to do this

may be like this but, I am not sure.

#pragma gcc section sbss=".intc_vector_table"

could confirm this or suggest how this could be done?

Thank you in advance,

Taha

 

0 项奖励
回复
1 回复

948 次查看
InHome
Contributor III