mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-06 11:07:34 +00:00
Add rtos namespace
This commit is contained in:
@@ -108,31 +108,34 @@
|
||||
|
||||
namespace sta
|
||||
{
|
||||
/**
|
||||
* @brief Start heartbeat timer for watchdog.
|
||||
*
|
||||
* @ingroup STA_RTOS_Watchdog
|
||||
*/
|
||||
void startWatchdogTimer();
|
||||
/**
|
||||
* @brief Send notification to watchdog task.
|
||||
*
|
||||
* @ingroup STA_RTOS_Watchdog
|
||||
*/
|
||||
void notifyWatchdog(uint32_t flags);
|
||||
namespace rtos
|
||||
{
|
||||
/**
|
||||
* @brief Start heartbeat timer for watchdog.
|
||||
*
|
||||
* @ingroup STA_RTOS_Watchdog
|
||||
*/
|
||||
void startWatchdogTimer();
|
||||
/**
|
||||
* @brief Send notification to watchdog task.
|
||||
*
|
||||
* @ingroup STA_RTOS_Watchdog
|
||||
*/
|
||||
void notifyWatchdog(uint32_t flags);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Handler for watchdog events.
|
||||
*
|
||||
* Must be implemented by application.
|
||||
*
|
||||
* @param arg Watchdog task argument
|
||||
* @param flags Event flags
|
||||
*
|
||||
* @ingroup STA_RTOS_Watchdog
|
||||
*/
|
||||
void watchdogEventHandler(void * arg, uint32_t flags);
|
||||
/**
|
||||
* @brief Handler for watchdog events.
|
||||
*
|
||||
* Must be implemented by application.
|
||||
*
|
||||
* @param arg Watchdog task argument
|
||||
* @param flags Event flags
|
||||
*
|
||||
* @ingroup STA_RTOS_Watchdog
|
||||
*/
|
||||
void watchdogEventHandler(void * arg, uint32_t flags);
|
||||
} // namespace rtos
|
||||
} // namespace sta
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user