OpenBIC
OpenSource Bridge-IC
hal_wdt.c File Reference
#include <zephyr.h>
#include <device.h>
#include <stdio.h>
#include <drivers/watchdog.h>
#include "hal_wdt.h"
#include <logging/log.h>
Include dependency graph for hal_wdt.c:

Functions

 LOG_MODULE_REGISTER (hal_wdt)
 
 K_KERNEL_STACK_MEMBER (wdt_thread_stack, WDT_THREAD_STACK_SIZE)
 
void set_wdt_continue_feed (bool value)
 
void wdt_handler (void *arug0, void *arug1, void *arug2)
 
void wdt_init ()
 

Variables

struct k_thread wdt_thread
 
const struct device * wdt_dev = NULL
 

Function Documentation

◆ K_KERNEL_STACK_MEMBER()

K_KERNEL_STACK_MEMBER ( wdt_thread_stack  ,
WDT_THREAD_STACK_SIZE   
)

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( hal_wdt  )

◆ set_wdt_continue_feed()

void set_wdt_continue_feed ( bool  value)

◆ wdt_handler()

void wdt_handler ( void *  arug0,
void *  arug1,
void *  arug2 
)

◆ wdt_init()

void wdt_init ( )
Here is the call graph for this function:

Variable Documentation

◆ wdt_dev

const struct device* wdt_dev = NULL

◆ wdt_thread

struct k_thread wdt_thread