Question about GPIOx_IMR in i.MX6 family

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question about GPIOx_IMR in i.MX6 family

ソリューションへジャンプ
849件の閲覧回数
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)
0 件の賞賛
返信
1 解決策
778件の閲覧回数
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 返答(返信)
779件の閲覧回数
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 件の賞賛
返信
778件の閲覧回数
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

778件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi ko-hey

you are right

Best regards

igor

0 件の賞賛
返信
778件の閲覧回数
ko-hey
Senior Contributor II

Hi Igor

Thank you!!

Ko-hey

0 件の賞賛
返信