You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
239 B
11 lines
239 B
3 months ago
|
#pragma once
|
||
|
|
||
|
typedef struct simple_watchdog_state_t {
|
||
|
uint32_t fault;
|
||
|
uint32_t last_ts;
|
||
|
uint32_t threshold;
|
||
|
} simple_watchdog_state_t;
|
||
|
|
||
|
void simple_watchdog_kick(void);
|
||
|
void simple_watchdog_init(uint32_t fault, uint32_t threshold);
|