Add HwWatchdog
- 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
ls
1 parent 3cd52d4 commit 400b2ee8a713c8dc2780dcebab3a0755860e093a
@Rajkumar Kanagaraj Rajkumar Kanagaraj authored on 9 Jan 2019
Filip Jagodzinski committed on 3 Jun 2019
Showing 4 changed files
View
mbed.h
View
platform/mbed_watchdog_mgr.cpp 0 → 100644
View
platform/mbed_watchdog_mgr.h 0 → 100644
View
targets/targets.json