getStatus
- |
-wdt: structure pointer to the Watchdog controller at the core layer.
- |
-status: int32_t pointer indicating the watchdog status (started or stopped).
- |
-HDF_STATUS
- |
-Obtains the watchdog status.
- |
-
-start
- |
-wdt: structure pointer to the Watchdog controller at the core layer.
- |
-–
- |
-HDF_STATUS
- |
-Starts a watchdog.
- |
-
-stop
- |
-wdt: structure pointer to the Watchdog controller at the core layer.
- |
-–
- |
-HDF_STATUS
- |
-Stops a watchdog.
- |
-
-setTimeout
- |
-wdt: structure pointer to the Watchdog controller at the core layer.
-seconds: input time value, which is of the uint32_t type.
- |
-–
- |
-HDF_STATUS
- |
-Sets the timeout period (in seconds) for a watchdog. Ensure that the actual watchdog running time complies with this setting.
- |
-
-getTimeout
- |
-wdt: structure pointer to the Watchdog controller at the core layer.
- |
-seconds: output time value, which is of the uint32_t type.
- |
-HDF_STATUS
- |
-Obtains the timeout period of a watchdog.
- |
-
-feed
- |
-wdt: structure pointer to the Watchdog controller at the core layer.
- |
-–
- |
-HDF_STATUS
- |
-Feeds a watchdog.
- |
-
-
-