Question about GPIOx_IMR in i.MX6 family

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

Question about GPIOx_IMR in i.MX6 family

跳至解决方案
801 次查看
ko-hey
Senior Contributor II

Hi

I have a question about GPIOx_IMR in i.MX6 family.


According to the reference manual, when I want to enable a interrupt function, I set the GPIOx_IMR register to "1".

gpiox_imr.PNG.png

Generally speaking, "Masked" means the function is ignored.


So when I set the register to "1", the interrupt line is masked and the interrupt function is ignored.


I think if my understanding is correct, the description of the reference manual is wrong.

Which is correct?



If the reference manual is correct, what Will be masked ?




Thank you.

标签 (1)
标记 (3)
0 项奖励
1 解答
730 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ko-hey

you are right: 1 - should be UNMASKED Interrupt n is enabled

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
4 回复数
731 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ko-hey

you are right: 1 - should be UNMASKED Interrupt n is enabled

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
730 次查看
ko-hey
Senior Contributor II

Igor

Thanks.

I would like to confirm just in case. Following description is correct, isn't it?

0    MASKED Interrupt n line is disabled. (Default)

1    UNMASKED Interrupt n line is enabled.

Ko-hey

730 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ko-hey

you are right

Best regards

igor

0 项奖励
730 次查看
ko-hey
Senior Contributor II

Hi Igor

Thank you!!

Ko-hey

0 项奖励