nl:: Weave:: DeviceLayer:: Internal:: GenericPlatformManagerImpl_FreeRTOS
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/FreeRTOS/GenericPlatformManagerImpl_FreeRTOS.h>
提供一般實作的 PlatformManager 功能,適用於 FreeRTOS 平台。
摘要
這個範本包含 PlatformManager 抽象介面中的特定功能實作情況,適用於 FreeRTOS 平台。PlatformManagerImpl 類別是直接或間接沿用,同時也會顯示為範本的 ImplClass 參數。
繼承
沿用自: nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl<放大類別 >
受保護的屬性 |
|
---|---|
mEventLoopTask
|
TaskHandle_t
|
mNextTimerBaseTime
|
TimeOut_t
|
mNextTimerDurationTicks
|
TickType_t
|
mWeaveEventQueue
|
QueueHandle_t
|
mWeaveStackLock
|
SemaphoreHandle_t
|
mWeaveTimerActive
|
bool
|
受保護的函式 |
|
---|---|
PostEventFromISR(const WeaveDeviceEvent *event, BaseType_t & yieldRequired)
|
void
|
_InitWeaveStack()
|
|
_LockWeaveStack(void)
|
void
|
_PostEvent(const WeaveDeviceEvent *event)
|
void
|
_RunEventLoop(void)
|
void
|
_StartEventLoopTask(void)
|
|
_StartWeaveTimer(uint32_t durationMS)
|
|
_TryLockWeaveStack(void)
|
bool
|
_UnlockWeaveStack(void)
|
void
|
受保護的屬性
mEventLoopTask
TaskHandle_t mEventLoopTask
mNextTimerBaseTime
TimeOut_t mNextTimerBaseTime
mNextTimerDurationTicks
TickType_t mNextTimerDurationTicks
mWeaveEventQueue
QueueHandle_t mWeaveEventQueue
mWeaveStackLock
SemaphoreHandle_t mWeaveStackLock
mWeaveTimerActive
bool mWeaveTimerActive
受保護的函式
PostEventFromISR
void PostEventFromISR( const WeaveDeviceEvent *event, BaseType_t & yieldRequired )
_InitWeaveStack
WEAVE_ERROR _InitWeaveStack()
_LockWeaveStack
void _LockWeaveStack( void )
_PostEvent
void _PostEvent( const WeaveDeviceEvent *event )
_RunEventLoop
void _RunEventLoop( void )
_StartEventLoopTask
WEAVE_ERROR _StartEventLoopTask( void )
_StartWeaveTimer
WEAVE_ERROR _StartWeaveTimer( uint32_t durationMS )
_試用 LockWeaveStack
bool _TryLockWeaveStack( void )
_UnlockWeaveStack
void _UnlockWeaveStack( void )