LS1021A watchdog interrupt

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

LS1021A watchdog interrupt

905 次查看
keestrommel
Contributor IV

The watchdog of the LS1021A has besides the watchdog reset the capability to generate an interrupt when the watchdog is not serviced with a certain time. However from the reference manual it is not clear which interrupt is generated.

I like to write an interrupt handler for the watchdog interrupt that will call "panic" so that I can investigate what the CPU is doing when the watchdog is not serviced in time. Which IRQ must be used to bind my watchdog interrupt handler with the watchdog interrupt by means of the "request_irq" kernel API?

标签 (1)
0 项奖励
回复
1 回复

700 次查看
keestrommel
Contributor IV

The attached patch file enables the watchdog interrupt and adds a watchdog interrupt ISR that calls "panic".

0 项奖励
回复