Based on SP805 Programmer's model (ARM DDI 0270B). This driver provides three public APIs: void sp805_start(uintptr_t base, unsigned long ticks); void sp805_stop(uintptr_t base); void sp805_refresh(uintptr_t base, unsigned long ticks); Upon start, the watchdog starts counting down from the number of ticks specified. When the count reaches 0 an interrupt is triggered. The watchdog restarts counting down from the number of ticks specified. If the count reaches 0 again, the system is reset. A mechanism to handle the interrupt has not been implemented. Instead, the API to refresh the watchdog should be used instead to prevent a system reset. Change-Id: I799d53f8d1213b10b341a4a67fde6486e89a3dab |
||
---|---|---|
.. | ||
arm_gic.h | ||
cci.h | ||
cci400.h | ||
ccn.h | ||
gic_common.h | ||
gic_v2.h | ||
gic_v3.h | ||
gicv2.h | ||
gicv3.h | ||
nic_400.h | ||
pl011.h | ||
sp804_delay_timer.h | ||
sp805.h | ||
tzc400.h |