watchdog

package
v0.240113.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2024 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WD wdStruct

Functions

func CheckDeviceInited added in v0.240113.0

func CheckDeviceInited() bool

func Init added in v0.240106.0

func Init(conf *Config, log *log2.Log)

func InitDeviceRequared added in v0.240113.0

func InitDeviceRequared()

func SetDeviceInited added in v0.240113.0

func SetDeviceInited()

func WatchDogDisable

func WatchDogDisable()

func WatchDogEnable

func WatchDogEnable()

func WatchDogSetTics

func WatchDogSetTics(tics int)

Types

type Config added in v0.240106.0

type Config struct {
	Disabled bool
	Folder   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL