Zephyr C++ Toolkit
Loading...
Searching...
No Matches
zct::WatchdogMock::TimeoutChannel Struct Reference

Structure to hold information about an installed timeout channel. More...

#include <WatchdogMock.hpp>

Public Attributes

uint32_t timeoutMs
 Timeout value in milliseconds.
 
CallbackFn callback
 Callback function.
 
void * userData
 User data for callback.
 
ResetFlag flags
 Reset behavior flags.
 
bool isActive
 Whether the channel is active.
 
std::chrono::steady_clock::time_point lastFed
 Last time channel was fed.
 

Detailed Description

Structure to hold information about an installed timeout channel.

Member Data Documentation

◆ callback

CallbackFn zct::WatchdogMock::TimeoutChannel::callback

Callback function.

◆ flags

ResetFlag zct::WatchdogMock::TimeoutChannel::flags

Reset behavior flags.

◆ isActive

bool zct::WatchdogMock::TimeoutChannel::isActive

Whether the channel is active.

◆ lastFed

std::chrono::steady_clock::time_point zct::WatchdogMock::TimeoutChannel::lastFed

Last time channel was fed.

◆ timeoutMs

uint32_t zct::WatchdogMock::TimeoutChannel::timeoutMs

Timeout value in milliseconds.

◆ userData

void* zct::WatchdogMock::TimeoutChannel::userData

User data for callback.


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