Question about GPIOx_IMR in i.MX6 family

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about GPIOx_IMR in i.MX6 family

Jump to solution
777 Views
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.

Labels (1)
0 Kudos
1 Solution
706 Views
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!

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

View solution in original post

0 Kudos
4 Replies
707 Views
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 Kudos
706 Views
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

706 Views
igorpadykov
NXP Employee
NXP Employee

Hi ko-hey

you are right

Best regards

igor

0 Kudos
706 Views
ko-hey
Senior Contributor II

Hi Igor

Thank you!!

Ko-hey

0 Kudos