NHAL Interface v0.5.0
Hardware Abstraction Layer Interface for Embedded Systems
Loading...
Searching...
No Matches
nhal_wdt_types.h
Go to the documentation of this file.
1
8#ifndef NHAL_WDT_TYPES_H
9#define NHAL_WDT_TYPES_H
10
11#include <stddef.h>
12#include <stdint.h>
13#include <stdbool.h>
14
15#include "nhal_common.h"
16
17typedef uint8_t nhal_wdt_id;
18
19
24typedef void (*nhal_wdt_callback_t)(void *context);
25
27 uint32_t timeout_ms;
28 struct nhal_wdt_impl_config * impl_config;
29};
30
36 uint32_t timeout_ms;
38
39 struct nhal_wdt_impl_ctx * impl_ctx;
40};
41
42#endif /* NHAL_WDT_TYPES_H */
uint8_t nhal_wdt_id
void(* nhal_wdt_callback_t)(void *context)
Callback function type for watchdog events.
struct nhal_wdt_impl_config * impl_config
Platform-specific configuration.
uint32_t timeout_ms
Timeout period in milliseconds.
Base watchdog context - always present, minimal footprint.
nhal_wdt_id wdt_id
uint32_t timeout_ms
Cached timeout from last set_config call.
struct nhal_wdt_impl_ctx * impl_ctx