Hi Christian san,
According to its datasheet, the IRQ STATUS register is R/W type register. But I think it is actually read only register.
I tried to write to it by using phhalHw_Pn5180_Instr_WriteRegister() but I got not changed value after writing and phhalHw_Pn5180_Instr_WriteRegisterOrMask() is as well.
Best regards,
S. Miwa
Solved! Go to Solution.
Hi. Thanks for that information - you are right, IRQ_STATUS is a read/only register. To clear the IRQs IRQ_CLEAR register has to be used, for enabling/disabling register IRQ_ENABLE has to be used.
I will forward the information to the datasheet owner asking for a correction.
Christian.
Hi Christian san,
Sure, welcome!
And one more. As I have asked about Timer0 to Timer2 handler function by another thread, I found and guess that they are no longer used for the application. Is this correct?
Best regards,
S. Miwa
Hi. Thanks for that information - you are right, IRQ_STATUS is a read/only register. To clear the IRQs IRQ_CLEAR register has to be used, for enabling/disabling register IRQ_ENABLE has to be used.
I will forward the information to the datasheet owner asking for a correction.
Christian.