mirror of https://github.com/ARMmbed/mbed-os.git
- mbed_watchdog_mgr has interface name mbed_wdog_manager_start(),mbed_wdog_manager_stop(),mbed_wdog_manager_kick()
- HwWatchdog is going to attach with LowPowerTIcker for periodic callback functionality
- mbed_wdog_manager_start() will either get start either by BL/RTOS Aps,it reads the timeout value specified via macro and macro gets defined in target.json file.
- mbed_wdog_manager_start() internally configure below HAL hw watchdog with timeout specified via target.json
- mbed_wdog_manager_start() internally divide the timeout(specified in target.json) by the 2 and attach LowPowerTicker with periodic callback of hw_kick()
- mbed_wdog_manager_start() internally create one instance of sw watchdog class,to access the static list data structure of sw watchdog class
- mbed_wdog_manager_kick() function periodically get called and refresh the hw watchdog to avoid watchdog reset
- converted C++ code into C based APIs
- added boolean to control watchdog start and stop
- Added detach from ticker on stop API
|
||
|---|---|---|
| .. | ||
| TARGET_ARM_FM | ||
| TARGET_ARM_SSG | ||
| TARGET_Analog_Devices | ||
| TARGET_Atmel | ||
| TARGET_Cypress | ||
| TARGET_Freescale | ||
| TARGET_GigaDevice | ||
| TARGET_Maxim | ||
| TARGET_NORDIC | ||
| TARGET_NUVOTON | ||
| TARGET_NXP | ||
| TARGET_ONSEMI | ||
| TARGET_RDA | ||
| TARGET_RENESAS | ||
| TARGET_Realtek | ||
| TARGET_STM | ||
| TARGET_Silicon_Labs | ||
| TARGET_TOSHIBA | ||
| TARGET_TT | ||
| TARGET_WICED | ||
| TARGET_WIZNET | ||
| TARGET_ublox | ||
| targets.json | ||