Mark3 Realtime Kernel
mark3c.cpp File Reference

Implementation of C-language wrappers for the Mark3 kernel. More...

#include "mark3c.h"
#include "mark3.h"

Go to the source code of this file.

Functions

void * Alloc_Memory (uint16_t u16Size_)
 
void Free_Memory (void *pvObject_)
 Free_Memory. More...
 
Semaphore_t Alloc_Semaphore (void)
 Alloc_Semaphore. More...
 
void Free_Semaphore (Semaphore_t handle)
 
Mutex_t Alloc_Mutex (void)
 Alloc_Mutex. More...
 
void Free_Mutex (Mutex_t handle)
 
EventFlag_t Alloc_EventFlag (void)
 
void Free_EventFlag (EventFlag_t handle)
 
Message_t Alloc_Message (void)
 Alloc_Message. More...
 
void Free_Message (Message_t handle)
 
MessageQueue_t Alloc_MessageQueue (void)
 Alloc_MessageQueue. More...
 
void Free_MessageQueue (MessageQueue_t handle)
 
MessagePool_t Alloc_MessagePool (void)
 
void Free_MessagePool (MessagePool_t handle)
 
Notify_t Alloc_Notify (void)
 Alloc_Notify. More...
 
void Free_Notify (Notify_t handle)
 
Mailbox_t Alloc_Mailbox (void)
 Alloc_Mailbox. More...
 
void Free_Mailbox (Mailbox_t handle)
 
ConditionVariable_t Alloc_ConditionVariable (void)
 
void Free_ConditionVariable (ConditionVariable_t handle)
 
ReaderWriterLock_t Alloc_ReaderWriterLock (void)
 
void Free_ReaderWriterLock (ReaderWriterLock_t handle)
 
Thread_t Alloc_Thread (void)
 Alloc_Thread. More...
 
void Free_Thread (Thread_t handle)
 
Timer_t Alloc_Timer (void)
 Alloc_Timer. More...
 
void Free_Timer (Timer_t handle)
 
Coroutine_t Alloc_Coroutine (void)
 
void Free_Coroutine (Coroutine_t handle)
 
void Kernel_Init (void)
 Kernel_Init. More...
 
void Kernel_Start (void)
 Kernel_Start. More...
 
bool Kernel_IsStarted (void)
 Kernel_IsStarted. More...
 
void Kernel_SetPanic (panic_func_t pfPanic_)
 Kernel_SetPanic. More...
 
bool Kernel_IsPanic (void)
 Kernel_IsPanic. More...
 
void Kernel_Panic (uint16_t u16Cause_)
 Kernel_Panic. More...
 
uint32_t Kernel_GetTicks (void)
 Kernel_GetTicks. More...
 
void Kernel_SetStackGuardThreshold (uint16_t u16Threshold_)
 
uint16_t Kernel_GetStackGuardThreshold (void)
 
void Kernel_SetDebugPrintFunction (kernel_debug_print_t pfPrintFunction_)
 Kernel_SetDebugPrintFunction. More...
 
void Kernel_DebugPrint (const char *szString_)
 KernelDebug_DebugPrint. More...
 
void Scheduler_Enable (bool bEnable_)
 Scheduler_Enable. More...
 
bool Scheduler_IsEnabled (void)
 Scheduler_IsEnabled. More...
 
Thread_t Scheduler_GetCurrentThread (void)
 Scheduler_GetCurrentThread. More...
 
void Thread_Init (Thread_t handle, K_WORD *pwStack_, uint16_t u16StackSize_, PORT_PRIO_TYPE uXPriority_, ThreadEntryFunc pfEntryPoint_, void *pvArg_)
 Thread_Init. More...
 
void Thread_Start (Thread_t handle)
 Thread_Start. More...
 
void Thread_Stop (Thread_t handle)
 Thread_Stop. More...
 
void Thread_SetName (Thread_t handle, const char *szName_)
 
const char * Thread_GetName (Thread_t handle)
 
PORT_PRIO_TYPE Thread_GetPriority (Thread_t handle)
 Thread_GetPriority. More...
 
PORT_PRIO_TYPE Thread_GetCurPriority (Thread_t handle)
 Thread_GetCurPriority. More...
 
void Thread_SetQuantum (Thread_t handle, uint16_t u16Quantum_)
 
uint16_t Thread_GetQuantum (Thread_t handle)
 
void Thread_SetPriority (Thread_t handle, PORT_PRIO_TYPE uXPriority_)
 Thread_SetPriority. More...
 
void Thread_Exit (Thread_t handle)
 Thread_Exit. More...
 
void Thread_Sleep (uint32_t u32TimeMs_)
 Thread_Sleep. More...
 
void Thread_Yield (void)
 Thread_Yield. More...
 
void Thread_CoopYield (void)
 Thread_CoopYield. More...
 
void Thread_SetID (Thread_t handle, uint8_t u8ID_)
 Thread_SetID. More...
 
uint8_t Thread_GetID (Thread_t handle)
 Thread_GetID. More...
 
uint16_t Thread_GetStackSlack (Thread_t handle)
 
thread_state_t Thread_GetState (Thread_t handle)
 Thread_GetState. More...
 
void Timer_Init (Timer_t handle)
 Timer_Init. More...
 
void Timer_Start (Timer_t handle, bool bRepeat_, uint32_t u32IntervalMs_, timer_callback_t pfCallback_, void *pvData_)
 Timer_Start. More...
 
void Timer_Stop (Timer_t handle)
 Timer_Stop. More...
 
void Timer_Restart (Timer_t handle)
 Timer_Restart. More...
 
void Semaphore_Init (Semaphore_t handle, uint16_t u16InitVal_, uint16_t u16MaxVal_)
 Semaphore_Init. More...
 
void Semaphore_Post (Semaphore_t handle)
 Semaphore_Post. More...
 
void Semaphore_Pend (Semaphore_t handle)
 Semaphore_Pend. More...
 
bool Semaphore_TimedPend (Semaphore_t handle, uint32_t u32WaitTimeMS_)
 Semaphore_TimedPend. More...
 
void Mutex_Init (Mutex_t handle)
 Mutex_Init. More...
 
void Mutex_Claim (Mutex_t handle)
 Mutex_Claim. More...
 
void Mutex_Release (Mutex_t handle)
 Mutex_Release. More...
 
bool Mutex_TimedClaim (Mutex_t handle, uint32_t u32WaitTimeMS_)
 Mutex_TimedClaim. More...
 
void Notify_Init (Notify_t handle)
 Notify_Init. More...
 
void Notify_Signal (Notify_t handle)
 Notify_Signal. More...
 
void Notify_Wait (Notify_t handle, bool *pbFlag_)
 Notify_Wait. More...
 
bool Notify_TimedWait (Notify_t handle, uint32_t u32WaitTimeMS_, bool *pbFlag_)
 Notify_TimedWait. More...
 
uint8_t Atomic_Set8 (uint8_t *pu8Source_, uint8_t u8Val_)
 Atomic_Set8. More...
 
uint16_t Atomic_Set16 (uint16_t *pu16Source_, uint16_t u16Val_)
 Atomic_Set16. More...
 
uint32_t Atomic_Set32 (uint32_t *pu32Source_, uint32_t u32Val_)
 Atomic_Set32. More...
 
uint8_t Atomic_Add8 (uint8_t *pu8Source_, uint8_t u8Val_)
 Atomic_Add8. More...
 
uint16_t Atomic_Add16 (uint16_t *pu16Source_, uint16_t u16Val_)
 Atomic_Add16. More...
 
uint32_t Atomic_Add32 (uint32_t *pu32Source_, uint32_t u32Val_)
 Atomic_Add32. More...
 
uint8_t Atomic_Sub8 (uint8_t *pu8Source_, uint8_t u8Val_)
 Atomic_Sub8. More...
 
uint16_t Atomic_Sub16 (uint16_t *pu16Source_, uint16_t u16Val_)
 Atomic_Sub16. More...
 
uint32_t Atomic_Sub32 (uint32_t *pu32Source_, uint32_t u32Val_)
 Atomic_Sub32. More...
 
bool Atomic_TestAndSet (bool *pbLock)
 Atomic_TestAndSet. More...
 
void Message_Init (Message_t handle)
 Message_Init. More...
 
void Message_SetData (Message_t handle, void *pvData_)
 Message_SetData. More...
 
void * Message_GetData (Message_t handle)
 Message_GetData. More...
 
void Message_SetCode (Message_t handle, uint16_t u16Code_)
 Message_SetCode. More...
 
uint16_t Message_GetCode (Message_t handle)
 Message_GetCode. More...
 
void MessageQueue_Init (MessageQueue_t handle)
 MessageQueue_Init. More...
 
Message_t MessageQueue_Receive (MessageQueue_t handle)
 MessageQueue_Receive. More...
 
void MessagePool_Init (MessagePool_t handle)
 MessagePool_Init. More...
 
void MessagePool_Push (MessagePool_t handle, Message_t msg)
 MessagePool_Push. More...
 
Message_t MessagePool_Pop (MessagePool_t handle)
 MessagePool_Pop. More...
 
Message_t MessageQueue_TimedReceive (MessageQueue_t handle, uint32_t u32TimeWaitMS_)
 MessageQueue_TimedReceive. More...
 
void MessageQueue_Send (MessageQueue_t handle, Message_t hMessage_)
 MessageQueue_Send. More...
 
uint16_t MessageQueue_GetCount (MessageQueue_t handle)
 MessageQueue_GetCount. More...
 
void Mailbox_Init (Mailbox_t handle, void *pvBuffer_, uint16_t u16BufferSize_, uint16_t u16ElementSize_)
 Mailbox_Init. More...
 
bool Mailbox_Send (Mailbox_t handle, void *pvData_)
 Mailbox_Send. More...
 
bool Mailbox_SendTail (Mailbox_t handle, void *pvData_)
 Mailbox_SendTail. More...
 
bool Mailbox_TimedSend (Mailbox_t handle, void *pvData_, uint32_t u32TimeoutMS_)
 Mailbox_TimedSend. More...
 
bool Mailbox_TimedSendTail (Mailbox_t handle, void *pvData_, uint32_t u32TimeoutMS_)
 Mailbox_TimedSendTail. More...
 
void Mailbox_Receive (Mailbox_t handle, void *pvData_)
 Mailbox_Receive. More...
 
void Mailbox_ReceiveTail (Mailbox_t handle, void *pvData_)
 Mailbox_ReceiveTail. More...
 
bool Mailbox_TimedReceive (Mailbox_t handle, void *pvData_, uint32_t u32TimeoutMS_)
 Mailbox_TimedReceive. More...
 
bool Mailbox_TimedReceiveTail (Mailbox_t handle, void *pvData_, uint32_t u32TimeoutMS_)
 Mailbox_TimedReceiveTail. More...
 
uint16_t Mailbox_GetFreeSlots (Mailbox_t handle)
 Mailbox_GetFreeSlots. More...
 
bool Mailbox_IsFull (Mailbox_t handle)
 Mailbox_IsFull. More...
 
bool Mailbox_IsEmpty (Mailbox_t handle)
 Mailbox_IsEmpty. More...
 
void ConditionVariable_Init (ConditionVariable_t handle)
 ConditionVariable_Init. More...
 
void ConditionVariable_Wait (ConditionVariable_t handle, Mutex_t hMutex_)
 ConditionVariable_Wait. More...
 
void ConditionVariable_Signal (ConditionVariable_t handle)
 ConditionVariable_Signal. More...
 
void ConditionVariable_Broadcast (ConditionVariable_t handle)
 ConditionVariable_Broadcast. More...
 
bool ConditionVariable_TimedWait (ConditionVariable_t handle, Mutex_t hMutex_, uint32_t u32WaitTimeMS_)
 ConditionVariable_TimedWait. More...
 
void ReaderWriterLock_Init (ReaderWriterLock_t handle)
 ReaderWriterLock_Init. More...
 
void ReaderWriterLock_AcquireReader (ReaderWriterLock_t handle)
 ReaderWriterLock_AcquireReader. More...
 
void ReaderWriterLock_ReleaseReader (ReaderWriterLock_t handle)
 ReaderWriterLock_ReleaseReader. More...
 
void ReaderWriterLock_AcquireWriter (ReaderWriterLock_t handle)
 ReaderWriterLock_AcquireWriter. More...
 
void ReaderWriterLock_ReleaseWriter (ReaderWriterLock_t handle)
 ReaderWriterLock_ReleaseWriter. More...
 
bool ReaderWriterLock_TimedAcquireWriter (ReaderWriterLock_t handle, uint32_t u32TimeoutMs_)
 ReaderWriterLock_TimedAcquireWriter. More...
 
bool ReaderWriterLock_TimedAcquireReader (ReaderWriterLock_t handle, uint32_t u32TimeoutMs_)
 ReaderWriterLock_TimedAcquireReader. More...
 
void Coroutine_Init (Coroutine_t handle, PORT_PRIO_TYPE uPriority_, coroutine_callback_t pfHandler_, void *pvContext_)
 
void Coroutine_Run (Coroutine_t handle)
 
void Coroutine_Activate (Coroutine_t handle)
 
void Coroutine_SetPriority (Coroutine_t handle, PORT_PRIO_TYPE uPriority_)
 
PORT_PRIO_TYPE Coroutine_GetPriority (Coroutine_t handle)
 

Detailed Description

Implementation of C-language wrappers for the Mark3 kernel.

Definition in file mark3c.cpp.

Function Documentation

◆ Alloc_ConditionVariable()

ConditionVariable_t Alloc_ConditionVariable ( void  )

Definition at line 134 of file mark3c.cpp.

◆ Alloc_Coroutine()

Coroutine_t Alloc_Coroutine ( void  )

Definition at line 178 of file mark3c.cpp.

◆ Alloc_EventFlag()

EventFlag_t Alloc_EventFlag ( void  )

Definition at line 64 of file mark3c.cpp.

◆ Alloc_Mailbox()

Mailbox_t Alloc_Mailbox ( void  )

Alloc_Mailbox.

See also
Mailbox* AutoAlloc::NewMailbox()
Returns
Handle to an allocated object, or nullptr if heap exhausted

Definition at line 123 of file mark3c.cpp.

◆ Alloc_Memory()

void* Alloc_Memory ( uint16_t  u16Size_)

Definition at line 29 of file mark3c.cpp.

◆ Alloc_Message()

Message_t Alloc_Message ( void  )

Alloc_Message.

See also
AutoAlloc::NewMessage()
Returns
Handle to an allocated object, or nullptr if heap exhausted

Definition at line 76 of file mark3c.cpp.

◆ Alloc_MessagePool()

MessagePool_t Alloc_MessagePool ( void  )

Definition at line 100 of file mark3c.cpp.

◆ Alloc_MessageQueue()

MessageQueue_t Alloc_MessageQueue ( void  )

Alloc_MessageQueue.

See also
MesageQueue* AutoAlloc::NewMessageQueue()
Returns
Handle to an allocated object, or nullptr if heap exhausted

Definition at line 88 of file mark3c.cpp.

◆ Alloc_Mutex()

Mutex_t Alloc_Mutex ( void  )

Alloc_Mutex.

See also
Mutex* AutoAlloc::NewMutex()
Returns
Handle to an allocated object, or nullptr if heap exhausted

Definition at line 52 of file mark3c.cpp.

◆ Alloc_Notify()

Notify_t Alloc_Notify ( void  )

Alloc_Notify.

See also
Notify* AutoAlloc::NewNotify()
Returns
Handle to an allocated object, or nullptr if heap exhausted

Definition at line 112 of file mark3c.cpp.

◆ Alloc_ReaderWriterLock()

ReaderWriterLock_t Alloc_ReaderWriterLock ( void  )

Definition at line 145 of file mark3c.cpp.

◆ Alloc_Semaphore()

Semaphore_t Alloc_Semaphore ( void  )

Alloc_Semaphore.

See also
Semaphore* AutoAlloc::NewSemaphore()
Returns
Handle to an allocated object, or nullptr if heap exhausted

Definition at line 40 of file mark3c.cpp.

◆ Alloc_Thread()

Thread_t Alloc_Thread ( void  )

Alloc_Thread.

See also
Thread* AutoAlloc::NewThread()
Returns
Handle to an allocated object, or nullptr if heap exhausted

Definition at line 156 of file mark3c.cpp.

◆ Alloc_Timer()

Timer_t Alloc_Timer ( void  )

Alloc_Timer.

See also
Timer* AutoAlloc::NewTimer()
Returns
Handle to an allocated object, or nullptr if heap exhausted

Definition at line 167 of file mark3c.cpp.

◆ Atomic_Add16()

uint16_t Atomic_Add16 ( uint16_t *  pu16Source_,
uint16_t  u16Val_ 
)

Atomic_Add16.

See also
uint16_t Atomic::Add(uint16_t *pu16Source_, uint16_t u16Val_)
Parameters
pu16Source_Pointer to a variable
u16Val_Value to add to the variable
Returns
Previously-held value in pu16Source_

Definition at line 649 of file mark3c.cpp.

◆ Atomic_Add32()

uint32_t Atomic_Add32 ( uint32_t *  pu32Source_,
uint32_t  u32Val_ 
)

Atomic_Add32.

See also
uint32_t Atomic::Add(uint32_t *pu32Source_, uint32_t u32Val_)
Parameters
pu32Source_Pointer to a variable
u32Val_Value to add to the variable
Returns
Previously-held value in pu32Source_

Definition at line 655 of file mark3c.cpp.

◆ Atomic_Add8()

uint8_t Atomic_Add8 ( uint8_t *  pu8Source_,
uint8_t  u8Val_ 
)

Atomic_Add8.

See also
uint8_t Atomic::Add(uint8_t *pu8Source_, uint8_t u8Val_)
Parameters
pu8Source_Pointer to a variable
u8Val_Value to add to the variable
Returns
Previously-held value in pu8Source_

Definition at line 643 of file mark3c.cpp.

◆ Atomic_Set16()

uint16_t Atomic_Set16 ( uint16_t *  pu16Source_,
uint16_t  u16Val_ 
)

Atomic_Set16.

See also
uint16_t Atomic::Set(uint16_t *pu16Source_, uint16_t u16Val_)
Parameters
pu16Source_Pointer to a variable to set the value of
u16Val_New value to set in the variable
Returns
Previously-set value

Definition at line 631 of file mark3c.cpp.

◆ Atomic_Set32()

uint32_t Atomic_Set32 ( uint32_t *  pu32Source_,
uint32_t  u32Val_ 
)

Atomic_Set32.

See also
uint32_t Atomic::Set(uint32_t *pu32Source_, uint32_t u32Val_)
Parameters
pu32Source_Pointer to a variable to set the value of
u32Val_New value to set in the variable
Returns
Previously-set value

Definition at line 637 of file mark3c.cpp.

◆ Atomic_Set8()

uint8_t Atomic_Set8 ( uint8_t *  pu8Source_,
uint8_t  u8Val_ 
)

Atomic_Set8.

See also
uint8_t Atomic::Set(uint8_t *pu8Source_, uint8_t u8Val_)
Parameters
pu8Source_Pointer to a variable to set the value of
u8Val_New value to set in the variable
Returns
Previously-set value

Definition at line 625 of file mark3c.cpp.

◆ Atomic_Sub16()

uint16_t Atomic_Sub16 ( uint16_t *  pu16Source_,
uint16_t  u16Val_ 
)

Atomic_Sub16.

See also
uint16_t Atomic::Sub(uint16_t *pu16Source_, uint16_t u16Val_)
Parameters
pu16Source_Pointer to a variable
u16Val_Value to subtract from the variable
Returns
Previously-held value in pu16Source_

Definition at line 667 of file mark3c.cpp.

◆ Atomic_Sub32()

uint32_t Atomic_Sub32 ( uint32_t *  pu32Source_,
uint32_t  u32Val_ 
)

Atomic_Sub32.

See also
uint32_t Atomic::Sub(uint32_t *pu32Source_, uint32_t u32Val_)
Parameters
pu32Source_Pointer to a variable
u32Val_Value to subtract from the variable
Returns
Previously-held value in pu32Source_

Definition at line 673 of file mark3c.cpp.

◆ Atomic_Sub8()

uint8_t Atomic_Sub8 ( uint8_t *  pu8Source_,
uint8_t  u8Val_ 
)

Atomic_Sub8.

See also
uint8_t Atomic::Sub(uint8_t *pu8Source_, uint8_t u8Val_)
Parameters
pu8Source_Pointer to a variable
u8Val_Value to subtract from the variable
Returns
Previously-held value in pu8Source_

Definition at line 661 of file mark3c.cpp.

◆ Atomic_TestAndSet()

bool Atomic_TestAndSet ( bool *  pbLock)

Atomic_TestAndSet.

See also
bool Atomic::TestAndSet(bool *pbLock)
Parameters
pbLockPointer to a value to test against. This will always be set to "true" at the end of a call to TestAndSet.
Returns
true - Lock value was "true" on entry, false - Lock was set

Definition at line 679 of file mark3c.cpp.

◆ ConditionVariable_Broadcast()

void ConditionVariable_Broadcast ( ConditionVariable_t  handle)

ConditionVariable_Broadcast.

See also
void ConditionVariable::Broadcast()
Parameters
handleHandle of the condition variable object

Definition at line 885 of file mark3c.cpp.

◆ ConditionVariable_Init()

void ConditionVariable_Init ( ConditionVariable_t  handle)

ConditionVariable_Init.

See also
void ConditionVariable::Init()
Parameters
handleHandle of the condition variable object

Definition at line 866 of file mark3c.cpp.

◆ ConditionVariable_Signal()

void ConditionVariable_Signal ( ConditionVariable_t  handle)

ConditionVariable_Signal.

See also
void ConditionVariable::Signal()
Parameters
handleHandle of the condition variable object

Definition at line 879 of file mark3c.cpp.

◆ ConditionVariable_TimedWait()

bool ConditionVariable_TimedWait ( ConditionVariable_t  handle,
Mutex_t  hMutex_,
uint32_t  u32WaitTimeMS_ 
)

ConditionVariable_TimedWait.

See also
bool ConditionVariable::Wait(Mutex* pclMutex_, uint32_t u32WaitTimeMS_)
Parameters
handleHandle of the condition variable object
hMutex_Handle of the mutex to lock on acquisition of the condition variable
u32WaitTimeMS_Maximum time to wait for object
Returns
true on success, false on timeout

Definition at line 891 of file mark3c.cpp.

◆ ConditionVariable_Wait()

void ConditionVariable_Wait ( ConditionVariable_t  handle,
Mutex_t  hMutex_ 
)

ConditionVariable_Wait.

See also
void ConditionVariable::Wait(Mutex* pclMutex_)
Parameters
handleHandle of the condition variable object
hMutex_Handle of the mutex to lock on acquisition of the condition variable

Definition at line 872 of file mark3c.cpp.

◆ Coroutine_Activate()

void Coroutine_Activate ( Coroutine_t  handle)

Definition at line 964 of file mark3c.cpp.

◆ Coroutine_GetPriority()

PORT_PRIO_TYPE Coroutine_GetPriority ( Coroutine_t  handle)

Definition at line 978 of file mark3c.cpp.

◆ Coroutine_Init()

void Coroutine_Init ( Coroutine_t  handle,
PORT_PRIO_TYPE  uPriority_,
coroutine_callback_t  pfHandler_,
void *  pvContext_ 
)

Definition at line 950 of file mark3c.cpp.

◆ Coroutine_Run()

void Coroutine_Run ( Coroutine_t  handle)

Definition at line 957 of file mark3c.cpp.

◆ Coroutine_SetPriority()

void Coroutine_SetPriority ( Coroutine_t  handle,
PORT_PRIO_TYPE  uPriority_ 
)

Definition at line 971 of file mark3c.cpp.

◆ Free_ConditionVariable()

void Free_ConditionVariable ( ConditionVariable_t  handle)

Definition at line 139 of file mark3c.cpp.

◆ Free_Coroutine()

void Free_Coroutine ( Coroutine_t  handle)

Definition at line 183 of file mark3c.cpp.

◆ Free_EventFlag()

void Free_EventFlag ( EventFlag_t  handle)

Definition at line 70 of file mark3c.cpp.

◆ Free_Mailbox()

void Free_Mailbox ( Mailbox_t  handle)

Definition at line 128 of file mark3c.cpp.

◆ Free_Memory()

void Free_Memory ( void *  pvObject_)

Free_Memory.

Parameters
pvObject_Pointer to previously allocated block of memory

Definition at line 34 of file mark3c.cpp.

◆ Free_Message()

void Free_Message ( Message_t  handle)

Definition at line 82 of file mark3c.cpp.

◆ Free_MessagePool()

void Free_MessagePool ( MessagePool_t  handle)

Definition at line 106 of file mark3c.cpp.

◆ Free_MessageQueue()

void Free_MessageQueue ( MessageQueue_t  handle)

Definition at line 94 of file mark3c.cpp.

◆ Free_Mutex()

void Free_Mutex ( Mutex_t  handle)

Definition at line 58 of file mark3c.cpp.

◆ Free_Notify()

void Free_Notify ( Notify_t  handle)

Definition at line 118 of file mark3c.cpp.

◆ Free_ReaderWriterLock()

void Free_ReaderWriterLock ( ReaderWriterLock_t  handle)

Definition at line 150 of file mark3c.cpp.

◆ Free_Semaphore()

void Free_Semaphore ( Semaphore_t  handle)

Definition at line 46 of file mark3c.cpp.

◆ Free_Thread()

void Free_Thread ( Thread_t  handle)

Definition at line 161 of file mark3c.cpp.

◆ Free_Timer()

void Free_Timer ( Timer_t  handle)

Definition at line 172 of file mark3c.cpp.

◆ Kernel_DebugPrint()

void Kernel_DebugPrint ( const char *  szString_)

KernelDebug_DebugPrint.

See also
void DebugPrint(const char* szString_)
Parameters
szString_String to print to debug interface

Definition at line 293 of file mark3c.cpp.

◆ Kernel_GetStackGuardThreshold()

uint16_t Kernel_GetStackGuardThreshold ( void  )

Definition at line 281 of file mark3c.cpp.

◆ Kernel_GetTicks()

uint32_t Kernel_GetTicks ( void  )

Kernel_GetTicks.

See also
Kernel::GetTicks()
Returns
Number of kernel ticks that have elapsed since boot

Definition at line 227 of file mark3c.cpp.

◆ Kernel_Init()

void Kernel_Init ( void  )

Kernel_Init.

See also
void Kernel::Init()

Definition at line 191 of file mark3c.cpp.

◆ Kernel_IsPanic()

bool Kernel_IsPanic ( void  )

Kernel_IsPanic.

See also
bool Kernel::IsPanic()
Returns
Whether or not the kernel is in a panic state

Definition at line 215 of file mark3c.cpp.

◆ Kernel_IsStarted()

bool Kernel_IsStarted ( void  )

Kernel_IsStarted.

See also
bool Kernel::IsStarted()
Returns
Whether or not the kernel has started - true = running, false = not started

Definition at line 203 of file mark3c.cpp.

◆ Kernel_Panic()

void Kernel_Panic ( uint16_t  u16Cause_)

Kernel_Panic.

See also
void Kernel::Panic(uint16_t u16Cause_)
Parameters
u16Cause_Reason for the kernel panic

Definition at line 221 of file mark3c.cpp.

◆ Kernel_SetDebugPrintFunction()

void Kernel_SetDebugPrintFunction ( kernel_debug_print_t  pfPrintFunction_)

Kernel_SetDebugPrintFunction.

See also
void Kernel::SetDebugPrintFunction()
Parameters
pfPrintFunction_Function to use to print debug information from the kernel

Definition at line 287 of file mark3c.cpp.

◆ Kernel_SetPanic()

void Kernel_SetPanic ( panic_func_t  pfPanic_)

Kernel_SetPanic.

See also
void Kernel::SetPanic(PanicFunc_t pfPanic_)
Parameters
pfPanic_Panic function pointer

Definition at line 209 of file mark3c.cpp.

◆ Kernel_SetStackGuardThreshold()

void Kernel_SetStackGuardThreshold ( uint16_t  u16Threshold_)

Definition at line 275 of file mark3c.cpp.

◆ Kernel_Start()

void Kernel_Start ( void  )

Kernel_Start.

See also
void Kernel::Start()

Definition at line 197 of file mark3c.cpp.

◆ Mailbox_GetFreeSlots()

uint16_t Mailbox_GetFreeSlots ( Mailbox_t  handle)

Mailbox_GetFreeSlots.

See also
uint16_t Mailbox::GetFreeSlots()
Parameters
handleHandle of the mailbox object
Returns
Number of free slots in the mailbox

Definition at line 843 of file mark3c.cpp.

◆ Mailbox_Init()

void Mailbox_Init ( Mailbox_t  handle,
void *  pvBuffer_,
uint16_t  u16BufferSize_,
uint16_t  u16ElementSize_ 
)

Mailbox_Init.

See also
void Mailbox::Init(void *pvBuffer_, uint16_t u16BufferSize_, uint16_t u16ElementSize_ )
Parameters
handleHandle of the mailbox object
pvBuffer_Pointer to the static buffer to use for the mailbox
u16BufferSize_Size of the mailbox buffer, in bytes
u16ElementSize_Size of each envelope, in bytes

Definition at line 780 of file mark3c.cpp.

◆ Mailbox_IsEmpty()

bool Mailbox_IsEmpty ( Mailbox_t  handle)

Mailbox_IsEmpty.

See also
bool Mailbox::IsEmpty()
Parameters
handleHandle of the mailbox object
Returns
true if the mailbox is empty, false otherwise

Definition at line 857 of file mark3c.cpp.

◆ Mailbox_IsFull()

bool Mailbox_IsFull ( Mailbox_t  handle)

Mailbox_IsFull.

See also
bool Mailbox::IsFull()
Parameters
handleHandle of the mailbox object
Returns
true if the mailbox is full, false otherwise

Definition at line 850 of file mark3c.cpp.

◆ Mailbox_Receive()

void Mailbox_Receive ( Mailbox_t  handle,
void *  pvData_ 
)

Mailbox_Receive.

See also
void Mailbox::Receive(void *pvData_)
Parameters
handleHandle of the mailbox object
pvData_Pointer to a buffer that will have the envelope's contents copied into upon delivery.

Definition at line 815 of file mark3c.cpp.

◆ Mailbox_ReceiveTail()

void Mailbox_ReceiveTail ( Mailbox_t  handle,
void *  pvData_ 
)

Mailbox_ReceiveTail.

See also
void Mailbox::ReceiveTail(void *pvData_)
Parameters
handleHandle of the mailbox object
pvData_Pointer to a buffer that will have the envelope's contents copied into upon delivery.

Definition at line 822 of file mark3c.cpp.

◆ Mailbox_Send()

bool Mailbox_Send ( Mailbox_t  handle,
void *  pvData_ 
)

Mailbox_Send.

See also
bool Mailbox::Send(void *pvData_)
Parameters
handleHandle of the mailbox object
pvData_Pointer to the data object to send to the mailbox.
Returns
true - envelope was delivered, false - mailbox is full.

Definition at line 787 of file mark3c.cpp.

◆ Mailbox_SendTail()

bool Mailbox_SendTail ( Mailbox_t  handle,
void *  pvData_ 
)

Mailbox_SendTail.

See also
bool Mailbox::SendTail(void *pvData_)
Parameters
handleHandle of the mailbox object
pvData_Pointer to the data object to send to the mailbox.
Returns
true - envelope was delivered, false - mailbox is full.

Definition at line 794 of file mark3c.cpp.

◆ Mailbox_TimedReceive()

bool Mailbox_TimedReceive ( Mailbox_t  handle,
void *  pvData_,
uint32_t  u32TimeoutMS_ 
)

Mailbox_TimedReceive.

See also
bool Mailbox::Receive(void *pvData_, uint32_t u32TimeoutMS_ )
Parameters
handleHandle of the mailbox object
pvData_Pointer to a buffer that will have the envelope's contents copied into upon delivery.
u32TimeoutMS_Maximum time to wait for delivery.
Returns
true - envelope was delivered, false - delivery timed out.

Definition at line 829 of file mark3c.cpp.

◆ Mailbox_TimedReceiveTail()

bool Mailbox_TimedReceiveTail ( Mailbox_t  handle,
void *  pvData_,
uint32_t  u32TimeoutMS_ 
)

Mailbox_TimedReceiveTail.

See also
bool Mailbox::ReceiveTail(void *pvData_, uint32_t u32TimeoutMS_ )
Parameters
handleHandle of the mailbox object
pvData_Pointer to a buffer that will have the envelope's contents copied into upon delivery.
u32TimeoutMS_Maximum time to wait for delivery.
Returns
true - envelope was delivered, false - delivery timed out.

Definition at line 836 of file mark3c.cpp.

◆ Mailbox_TimedSend()

bool Mailbox_TimedSend ( Mailbox_t  handle,
void *  pvData_,
uint32_t  u32TimeoutMS_ 
)

Mailbox_TimedSend.

See also
bool Mailbox::Send(void *pvData_, uint32_t u32TimeoutMS_)
Parameters
handleHandle of the mailbox object
pvData_Pointer to the data object to send to the mailbox.
u32TimeoutMS_Maximum time to wait for a free transmit slot
Returns
true - envelope was delivered, false - mailbox is full.

Definition at line 801 of file mark3c.cpp.

◆ Mailbox_TimedSendTail()

bool Mailbox_TimedSendTail ( Mailbox_t  handle,
void *  pvData_,
uint32_t  u32TimeoutMS_ 
)

Mailbox_TimedSendTail.

See also
bool Mailbox::Send(void *pvData_, uint32_t u32TimeoutMS_)
Parameters
handleHandle of the mailbox object
pvData_Pointer to the data object to send to the mailbox.
u32TimeoutMS_Maximum time to wait for a free transmit slot
Returns
true - envelope was delivered, false - mailbox is full.

Definition at line 808 of file mark3c.cpp.

◆ Message_GetCode()

uint16_t Message_GetCode ( Message_t  handle)

Message_GetCode.

See also
uint16_t Message::GetCode()
Parameters
handleHandle of the message object
Returns
user code set in the object

Definition at line 715 of file mark3c.cpp.

◆ Message_GetData()

void* Message_GetData ( Message_t  handle)

Message_GetData.

See also
void* Message::GetData()
Parameters
handleHandle of the message object
Returns
Pointer to the data set in the message object

Definition at line 701 of file mark3c.cpp.

◆ Message_Init()

void Message_Init ( Message_t  handle)

Message_Init.

See also
void Message::Init()
Parameters
handleHandle of the message object

Definition at line 687 of file mark3c.cpp.

◆ Message_SetCode()

void Message_SetCode ( Message_t  handle,
uint16_t  u16Code_ 
)

Message_SetCode.

See also
void Message::SetCode(uint16_t u16Code_)
Parameters
handleHandle of the message object
u16Code_Data code to set in the object

Definition at line 708 of file mark3c.cpp.

◆ Message_SetData()

void Message_SetData ( Message_t  handle,
void *  pvData_ 
)

Message_SetData.

See also
void Message::SetData(void *pvData_)
Parameters
handleHandle of the message object
pvData_Pointer to the data object to send in the message

Definition at line 694 of file mark3c.cpp.

◆ MessagePool_Init()

void MessagePool_Init ( MessagePool_t  handle)

MessagePool_Init.

See also
void MessagePool::Init()
Parameters
handleHandle of the message pool object

Definition at line 736 of file mark3c.cpp.

◆ MessagePool_Pop()

Message_t MessagePool_Pop ( MessagePool_t  handle)

MessagePool_Pop.

See also
Message* MessagePool::Pop()
Parameters
handleHandle of the message pool object
Returns
Handle to a Message object, or nullptr on allocation error

Definition at line 750 of file mark3c.cpp.

◆ MessagePool_Push()

void MessagePool_Push ( MessagePool_t  handle,
Message_t  msg 
)

MessagePool_Push.

See also
void MessagePool::Push(Message* pclMessage_)
Parameters
handleHandle of the message pool object
msgMessage object to return back to the pool

Definition at line 743 of file mark3c.cpp.

◆ MessageQueue_GetCount()

uint16_t MessageQueue_GetCount ( MessageQueue_t  handle)

MessageQueue_GetCount.

See also
uint16_t MessageQueue::GetCount()
Returns
Count of pending messages in the queue.

Definition at line 771 of file mark3c.cpp.

◆ MessageQueue_Init()

void MessageQueue_Init ( MessageQueue_t  handle)

MessageQueue_Init.

See also
void MessageQueue::Init()
Parameters
handleHandle to the message queue to initialize

Definition at line 722 of file mark3c.cpp.

◆ MessageQueue_Receive()

Message_t MessageQueue_Receive ( MessageQueue_t  handle)

MessageQueue_Receive.

See also
Message_t MessageQueue::Receive()
Parameters
handleHandle of the message queue object
Returns
Pointer to a message object at the head of the queue

Definition at line 729 of file mark3c.cpp.

◆ MessageQueue_Send()

void MessageQueue_Send ( MessageQueue_t  handle,
Message_t  hMessage_ 
)

MessageQueue_Send.

See also
void MessageQueue::Send(Message *pclMessage_)
Parameters
handleHandle of the message queue object
hMessage_Handle to the message to send to the given queue

Definition at line 764 of file mark3c.cpp.

◆ MessageQueue_TimedReceive()

Message_t MessageQueue_TimedReceive ( MessageQueue_t  handle,
uint32_t  u32TimeWaitMS_ 
)

MessageQueue_TimedReceive.

See also
Message_t MessageQueue::TimedReceive(uint32_t u32TimeWaitMS_)
Parameters
handleHandle of the message queue object
u32TimeWaitMS_The amount of time in ms to wait for a message before timing out and unblocking the waiting thread.
Returns
Pointer to a message object at the head of the queue or nullptr on timeout.

Definition at line 757 of file mark3c.cpp.

◆ Mutex_Claim()

void Mutex_Claim ( Mutex_t  handle)

Mutex_Claim.

See also
void Mutex::Claim()
Parameters
handleHandle of the mutex

Definition at line 526 of file mark3c.cpp.

◆ Mutex_Init()

void Mutex_Init ( Mutex_t  handle)

Mutex_Init.

See also
void Mutex::Init()
Parameters
handleHandle of the mutex

Definition at line 519 of file mark3c.cpp.

◆ Mutex_Release()

void Mutex_Release ( Mutex_t  handle)

Mutex_Release.

See also
void Mutex::Release()
Parameters
handleHandle of the mutex

Definition at line 533 of file mark3c.cpp.

◆ Mutex_TimedClaim()

bool Mutex_TimedClaim ( Mutex_t  handle,
uint32_t  u32WaitTimeMS_ 
)

Mutex_TimedClaim.

See also
bool Mutex::Claim(uint32_t u32WaitTimeMS_)
Parameters
handleHandle of the mutex
u32WaitTimeMS_Time to wait before aborting
Returns
true if mutex was claimed, false on timeout

Definition at line 540 of file mark3c.cpp.

◆ Notify_Init()

void Notify_Init ( Notify_t  handle)

Notify_Init.

See also
void Notify::Init()
Parameters
handleHandle of the notification object

Definition at line 595 of file mark3c.cpp.

◆ Notify_Signal()

void Notify_Signal ( Notify_t  handle)

Notify_Signal.

See also
void Notify::Signal()
Parameters
handleHandle of the notification object

Definition at line 602 of file mark3c.cpp.

◆ Notify_TimedWait()

bool Notify_TimedWait ( Notify_t  handle,
uint32_t  u32WaitTimeMS_,
bool *  pbFlag_ 
)

Notify_TimedWait.

See also
bool Notify::Wait(uint32_t u32WaitTimeMS_, bool *pbFlag_)
Parameters
handleHandle of the notification object
u32WaitTimeMS_Maximum time to wait for notification in ms
pbFlag_Flag to set to true on notification
Returns
true on unblock, false on timeout

Definition at line 616 of file mark3c.cpp.

◆ Notify_Wait()

void Notify_Wait ( Notify_t  handle,
bool *  pbFlag_ 
)

Notify_Wait.

See also
void Notify::Wait(bool *pbFlag_)
Parameters
handleHandle of the notification object
pbFlag_Flag to set to true on notification

Definition at line 609 of file mark3c.cpp.

◆ ReaderWriterLock_AcquireReader()

void ReaderWriterLock_AcquireReader ( ReaderWriterLock_t  handle)

ReaderWriterLock_AcquireReader.

See also
void ReaderWriterLock::AcquireReader()
Parameters
handleHandle of the reader-writer object

Definition at line 908 of file mark3c.cpp.

◆ ReaderWriterLock_AcquireWriter()

void ReaderWriterLock_AcquireWriter ( ReaderWriterLock_t  handle)

ReaderWriterLock_AcquireWriter.

See also
void ReaderWriterLock::AcquireWriter()
Parameters
handleHandle of the reader-writer object

Definition at line 922 of file mark3c.cpp.

◆ ReaderWriterLock_Init()

void ReaderWriterLock_Init ( ReaderWriterLock_t  handle)

ReaderWriterLock_Init.

See also
void ReaderWriterLock::Init()
Parameters
handleHandle of the reader-writer object

Definition at line 901 of file mark3c.cpp.

◆ ReaderWriterLock_ReleaseReader()

void ReaderWriterLock_ReleaseReader ( ReaderWriterLock_t  handle)

ReaderWriterLock_ReleaseReader.

See also
void ReaderWriterLock::ReleaseReader()
Parameters
handleHandle of the reader-writer object

Definition at line 915 of file mark3c.cpp.

◆ ReaderWriterLock_ReleaseWriter()

void ReaderWriterLock_ReleaseWriter ( ReaderWriterLock_t  handle)

ReaderWriterLock_ReleaseWriter.

See also
void ReaderWriterLock::ReleaseWriter()
Parameters
handleHandle of the reader-writer object

Definition at line 929 of file mark3c.cpp.

◆ ReaderWriterLock_TimedAcquireReader()

bool ReaderWriterLock_TimedAcquireReader ( ReaderWriterLock_t  handle,
uint32_t  u32TimeoutMs_ 
)

ReaderWriterLock_TimedAcquireReader.

See also
bool ReaderWriterLock::AcquireReader(uint32_t u32TimeoutMs_)
Parameters
handleHandle of the reader-writer object
u32TimeoutMs_Maximum time to wait for the reader lock before bailing
Returns
true on success, false on timeout

Definition at line 943 of file mark3c.cpp.

◆ ReaderWriterLock_TimedAcquireWriter()

bool ReaderWriterLock_TimedAcquireWriter ( ReaderWriterLock_t  handle,
uint32_t  u32TimeoutMs_ 
)

ReaderWriterLock_TimedAcquireWriter.

See also
bool ReaderWriterLock::AcquireWriter(uint32_t u32TimeoutMs_)
Parameters
handleHandle of the reader-writer object
u32TimeoutMs_Maximum time to wait for the writer lock before bailing
Returns
true on success, false on timeout

Definition at line 936 of file mark3c.cpp.

◆ Scheduler_Enable()

void Scheduler_Enable ( bool  bEnable_)

Scheduler_Enable.

See also
void Scheduler::SetScheduler(bool bEnable_)
Parameters
bEnable_true to enable, false to disable the scheduler

Definition at line 300 of file mark3c.cpp.

◆ Scheduler_GetCurrentThread()

Thread_t Scheduler_GetCurrentThread ( void  )

Scheduler_GetCurrentThread.

See also
Thread* Scheduler::GetCurrentThread()
Returns
Handle of the currently-running thread

Definition at line 312 of file mark3c.cpp.

◆ Scheduler_IsEnabled()

bool Scheduler_IsEnabled ( void  )

Scheduler_IsEnabled.

See also
bool Scheduler::IsEnabled()
Returns
true - scheduler enabled, false - disabled

Definition at line 306 of file mark3c.cpp.

◆ Semaphore_Init()

void Semaphore_Init ( Semaphore_t  handle,
uint16_t  u16InitVal_,
uint16_t  u16MaxVal_ 
)

Semaphore_Init.

See also
void Semaphore::Init(uint16_t u16InitVal_, uint16_t u16MaxVal_)
Parameters
handleHandle of the semaphore
u16InitVal_Initial value of the semaphore
u16MaxVal_Maximum value that can be held for a semaphore

Definition at line 489 of file mark3c.cpp.

◆ Semaphore_Pend()

void Semaphore_Pend ( Semaphore_t  handle)

Semaphore_Pend.

See also
void Semaphore::Pend()
Parameters
handleHandle of the semaphore

Definition at line 503 of file mark3c.cpp.

◆ Semaphore_Post()

void Semaphore_Post ( Semaphore_t  handle)

Semaphore_Post.

See also
void Semaphore::Post()
Parameters
handleHandle of the semaphore

Definition at line 496 of file mark3c.cpp.

◆ Semaphore_TimedPend()

bool Semaphore_TimedPend ( Semaphore_t  handle,
uint32_t  u32WaitTimeMS_ 
)

Semaphore_TimedPend.

See also
bool Semaphore::Pend(uint32_t u32WaitTimeMS_)
Parameters
handleHandle of the semaphore
u32WaitTimeMS_Time in ms to wait
Returns
true if semaphore was acquired, false on timeout

Definition at line 510 of file mark3c.cpp.

◆ Thread_CoopYield()

void Thread_CoopYield ( void  )

Thread_CoopYield.

See also
void Thread::CoopYield()

Definition at line 426 of file mark3c.cpp.

◆ Thread_Exit()

void Thread_Exit ( Thread_t  handle)

Thread_Exit.

See also
void Thread::Exit()
Parameters
handleHandle of the thread

Definition at line 392 of file mark3c.cpp.

◆ Thread_GetCurPriority()

PORT_PRIO_TYPE Thread_GetCurPriority ( Thread_t  handle)

Thread_GetCurPriority.

See also
PORT_PRIO_TYPE Thread::GetCurPriority()
Parameters
handleHandle of the thread
Returns
Current priority of the thread considering priority inheritence

Definition at line 365 of file mark3c.cpp.

◆ Thread_GetID()

uint8_t Thread_GetID ( Thread_t  handle)

Thread_GetID.

See also
uint8_t Thread::GetID()
Parameters
handleHandle of the thread
Returns
Return ID assigned to the thread

Definition at line 437 of file mark3c.cpp.

◆ Thread_GetName()

const char* Thread_GetName ( Thread_t  handle)

Definition at line 352 of file mark3c.cpp.

◆ Thread_GetPriority()

PORT_PRIO_TYPE Thread_GetPriority ( Thread_t  handle)

Thread_GetPriority.

See also
PORT_PRIO_TYPE Thread::GetPriority()
Parameters
handleHandle of the thread
Returns
Current priority of the thread not considering priority inheritence

Definition at line 359 of file mark3c.cpp.

◆ Thread_GetQuantum()

uint16_t Thread_GetQuantum ( Thread_t  handle)

Definition at line 378 of file mark3c.cpp.

◆ Thread_GetStackSlack()

uint16_t Thread_GetStackSlack ( Thread_t  handle)

Definition at line 443 of file mark3c.cpp.

◆ Thread_GetState()

thread_state_t Thread_GetState ( Thread_t  handle)

Thread_GetState.

See also
ThreadState Thread::GetState()
Parameters
handleHandle of the thread
Returns
The thread's current execution state

Definition at line 449 of file mark3c.cpp.

◆ Thread_Init()

void Thread_Init ( Thread_t  handle,
K_WORD pwStack_,
uint16_t  u16StackSize_,
PORT_PRIO_TYPE  uXPriority_,
thread_entry_func_t  pfEntryPoint_,
void *  pvArg_ 
)

Thread_Init.

See also
void Thread::Init(K_WORD *pwStack_, uint16_t u16StackSize_, PORT_PRIO_TYPE uXPriority_, ThreadEntry_t pfEntryPoint_, void *pvArg_)
Parameters
handleHandle of the thread to initialize
pwStack_Pointer to the stack to use for the thread
u16StackSize_Size of the stack (in bytes)
uXPriority_Priority of the thread (0 = idle, 7 = max)
pfEntryPoint_This is the function that gets called when the thread is started
pvArg_Pointer to the argument passed into the thread's entrypoint function.

Definition at line 321 of file mark3c.cpp.

◆ Thread_SetID()

void Thread_SetID ( Thread_t  handle,
uint8_t  u8ID_ 
)

Thread_SetID.

See also
void Thread::SetID(uint8_t u8ID_)
Parameters
handleHandle of the thread
u8ID_ID To assign to the thread

Definition at line 431 of file mark3c.cpp.

◆ Thread_SetName()

void Thread_SetName ( Thread_t  handle,
const char *  szName_ 
)

Definition at line 346 of file mark3c.cpp.

◆ Thread_SetPriority()

void Thread_SetPriority ( Thread_t  handle,
PORT_PRIO_TYPE  uXPriority_ 
)

Thread_SetPriority.

See also
void Thread::SetPriority(PORT_PRIO_TYPE uXPriority_)
Parameters
handleHandle of the thread
uXPriority_New priority level

Definition at line 385 of file mark3c.cpp.

◆ Thread_SetQuantum()

void Thread_SetQuantum ( Thread_t  handle,
uint16_t  u16Quantum_ 
)

Definition at line 372 of file mark3c.cpp.

◆ Thread_Sleep()

void Thread_Sleep ( uint32_t  u32TimeMs_)

Thread_Sleep.

See also
void Thread::Sleep(uint32_t u32TimeMs_)
Parameters
u32TimeMs_Time in ms to block the thread for

Definition at line 399 of file mark3c.cpp.

◆ Thread_Start()

void Thread_Start ( Thread_t  handle)

Thread_Start.

See also
void Thread::Start()
Parameters
handleHandle of the thread to start

Definition at line 333 of file mark3c.cpp.

◆ Thread_Stop()

void Thread_Stop ( Thread_t  handle)

Thread_Stop.

See also
void Thread::Stop()
Parameters
handleHandle of the thread to stop

Definition at line 340 of file mark3c.cpp.

◆ Thread_Yield()

void Thread_Yield ( void  )

Thread_Yield.

See also
void Thread::Yield()

Definition at line 421 of file mark3c.cpp.

◆ Timer_Init()

void Timer_Init ( Timer_t  handle)

Timer_Init.

See also
void Timer::Init()
Parameters
handleHandle of the timer

Definition at line 459 of file mark3c.cpp.

◆ Timer_Restart()

void Timer_Restart ( Timer_t  handle)

Timer_Restart.

See also
void Timer::Start()
Parameters
handleHandle of the timer to restart.

Definition at line 480 of file mark3c.cpp.

◆ Timer_Start()

void Timer_Start ( Timer_t  handle,
bool  bRepeat_,
uint32_t  u32IntervalMs_,
timer_callback_t  pfCallback_,
void *  pvData_ 
)

Timer_Start.

See also
void Timer::Start(bool bRepeat_, uint32_t u32IntervalMs_, uint32_t u32ToleranceMs_, TimerCallbackC_t pfCallback_, void *pvData_ )
Parameters
handleHandle of the timer
bRepeat_Restart the timer continuously on expiry
u32IntervalMs_Time in ms to expiry
pfCallback_Callback to run on timer expiry
pvData_Data to pass to the callback on expiry

Definition at line 466 of file mark3c.cpp.

◆ Timer_Stop()

void Timer_Stop ( Timer_t  handle)

Timer_Stop.

See also
void Timer::Stop()
Parameters
handleHandle of the timer

Definition at line 473 of file mark3c.cpp.