NHAL Interface v0.5.0
Hardware Abstraction Layer Interface for Embedded Systems
Loading...
Searching...
No Matches
nhal_wdt.h
Go to the documentation of this file.
1
13#ifndef NHAL_WDT_H
14#define NHAL_WDT_H
15
16#include <stdint.h>
17#include <stddef.h>
18
19#include "nhal_common.h"
20#include "nhal_wdt_types.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
32
39
47
55
62
69
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif /* NHAL_WDT_H */
nhal_result_t
Unified HAL result type for all peripheral operations.
Definition nhal_common.h:22
nhal_result_t nhal_wdt_get_config(struct nhal_wdt_context *ctx, struct nhal_wdt_config *config)
Get current watchdog configuration.
nhal_result_t nhal_wdt_deinit(struct nhal_wdt_context *ctx)
Deinitialize watchdog context.
nhal_result_t nhal_wdt_enable(struct nhal_wdt_context *ctx)
Start/Enable the watchdog timer.
nhal_result_t nhal_wdt_init(struct nhal_wdt_context *ctx)
Initialize watchdog context.
nhal_result_t nhal_wdt_feed(struct nhal_wdt_context *ctx)
Feed/Reset the watchdog timer.
nhal_result_t nhal_wdt_disable(struct nhal_wdt_context *ctx)
Stop/Disable the watchdog timer (if supported)
nhal_result_t nhal_wdt_set_config(struct nhal_wdt_context *ctx, struct nhal_wdt_config *config)
Set watchdog configuration.
Defines common types and structures for the Watchdog Timer Hardware Abstraction Layer (HAL).
Base watchdog context - always present, minimal footprint.