genericwatchdog

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WATCHDOG  = "/dev/watchdog"
	WATCHDOG0 = "/dev/watchdog0"
)

* * C语言驱动相关 *

View Source
const (
	WATCHDOG_IOCTL_BASE = 'W'
	WDIOC_GETSUPPORT    = 2150127360
	WDIOC_SETTIMEOUT    = 3221509894
	WDIOC_GETTIMEOUT    = 2147768071
	WDIOS_DISABLECARD   = 1
	WDIOS_ENABLECARD    = 2
	WDIOC_SETOPTIONS    = 2147768068
	WDIOC_KEEPALIVE     = 2147768069
)

Variables

This section is empty.

Functions

func NewGenericWatchDog

func NewGenericWatchDog() *genericWatchDog

Types

This section is empty.

Jump to

Keyboard shortcuts

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