i.MX 8X SCFW RTC IRQ handler

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

i.MX 8X SCFW RTC IRQ handler

跳至解决方案
709 次查看
petar_petrov
Contributor II

Hello,

We are using i.MX 8X and SCFW version 1.7.1. I would like to know whether the internal RTC's interrupts are enabled by default or if they need to be explicitly enabled via sc_irq_enable. Also, is there a dedicated IRQ handler for those interrupts or do we have to periodically check them via sc_irq_status?

Thank you in advance!

Regards,

Petar

0 项奖励
1 解答
693 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Petar

 

> whether the internal RTC's interrupts are enabled by defaul..

 

no

 

>or if they need to be explicitly enabled via sc_irq_enable.

 

yes

 

> is there a dedicated IRQ handler for those interrupt..

 

no

 

>or do we have to periodically check them via sc_irq_status?

 

yes

 

Best regards
igor

在原帖中查看解决方案

2 回复数
694 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Petar

 

> whether the internal RTC's interrupts are enabled by defaul..

 

no

 

>or if they need to be explicitly enabled via sc_irq_enable.

 

yes

 

> is there a dedicated IRQ handler for those interrupt..

 

no

 

>or do we have to periodically check them via sc_irq_status?

 

yes

 

Best regards
igor

688 次查看
petar_petrov
Contributor II

Hello, Igor,

Thank you for the reply! I was also wondering which resource needs to be passed when enabling the RTC interrupts and checking their status?

Best regards,

Petar

0 项奖励