Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_WATCHDOG_DEVICE Struct Reference

#include <devices.h>

Data Fields

DEVICE device
 The Device entry for this Watchdog device.
uint32_t watchdogid
 Unique Id of this Watchdog device in the Watchdog device table.
uint32_t watchdogstate
 Watchdog device state (eg WATCHDOG_STATE_ENABLED).
watchdog_device_start_proc devicestart
 A device specific DeviceStart method implementing a standard watchdog device interface (Mandatory).
watchdog_device_stop_proc devicestop
 A device specific DeviceStop method implementing a standard watchdog device interface (Mandatory).
watchdog_device_refresh_proc devicerefresh
 A device specific DeviceRefresh method implementing a standard watchdog device interface (Mandatory).
watchdog_device_get_remain_proc devicegetremain
 A device specific DeviceGetRemain method implementing a standard watchdog device interface (Mandatory).
watchdog_device_get_timeout_proc devicegettimeout
 A device specific DeviceGetTimeout method implementing a standard watchdog device interface (Or nil if the default method is suitable).
watchdog_device_set_timeout_proc devicesettimeout
 A device specific DeviceSetTimeout method implementing a standard watchdog device interface (Or nil if the default method is suitable).
uint32_t startcount
uint32_t stopcount
uint32_t refreshcount
MUTEX_HANDLE lock
 Device lock.
void * address
 Device register base address.
uint32_t timeout
 Device timeout (Milliseconds).
WATCHDOG_DEVICEprev
 Previous entry in Watchdog device table.
WATCHDOG_DEVICEnext
 Next entry in Watchdog device table.

Detailed Description

Watchdog Device

Field Documentation

◆ device

DEVICE device

The Device entry for this Watchdog device.

◆ watchdogid

uint32_t watchdogid

Unique Id of this Watchdog device in the Watchdog device table.

◆ watchdogstate

uint32_t watchdogstate

Watchdog device state (eg WATCHDOG_STATE_ENABLED).

◆ devicestart

A device specific DeviceStart method implementing a standard watchdog device interface (Mandatory).

◆ devicestop

A device specific DeviceStop method implementing a standard watchdog device interface (Mandatory).

◆ devicerefresh

A device specific DeviceRefresh method implementing a standard watchdog device interface (Mandatory).

◆ devicegetremain

A device specific DeviceGetRemain method implementing a standard watchdog device interface (Mandatory).

◆ devicegettimeout

A device specific DeviceGetTimeout method implementing a standard watchdog device interface (Or nil if the default method is suitable).

◆ devicesettimeout

A device specific DeviceSetTimeout method implementing a standard watchdog device interface (Or nil if the default method is suitable).

◆ startcount

uint32_t startcount

◆ stopcount

uint32_t stopcount

◆ refreshcount

uint32_t refreshcount

◆ lock

Device lock.

◆ address

void* address

Device register base address.

◆ timeout

uint32_t timeout

Device timeout (Milliseconds).

◆ prev

Previous entry in Watchdog device table.

◆ next

Next entry in Watchdog device table.


The documentation for this struct was generated from the following file: