QP/C  6.3.7
qxk_pkg.h File Reference

Internal (package scope) QXK/C interface. More...

#include "qf_pkg.h"
Include dependency graph for qxk_pkg.h:

Go to the source code of this file.

Enumerations

enum  QXK_Timeouts { QXK_DELAY_SIG = Q_USER_SIG, QXK_QUEUE_SIG, QXK_SEMA_SIG }
 timeout signals More...
 

Functions

void QXK_start_ (void)
 internal QXK function to start multitasking (typically in assembly) More...
 
void QXK_stackInit_ (void *thr, QXThreadHandler handler, void *stkSto, uint_fast16_t stkSize)
 initialize the private stack of a given QXThread More...
 
void QXK_threadRet_ (void)
 called when a thread function returns More...
 
void QXThread_block_ (QXThread const *const me)
 internal functin to block (suspend) a given extended thread More...
 
void QXThread_unblock_ (QXThread const *const me)
 internal function to unblock (resume) a given extended thread. More...
 
void QXThread_teArm_ (QXThread *const me, QSignal sig, uint_fast16_t const nTicks)
 internal function to arm the private time event for a given thread. More...
 
bool QXThread_teDisarm_ (QXThread *const me)
 internal function to disarm the private time event for a given thread. More...
 

Detailed Description

Internal (package scope) QXK/C interface.

Definition in file qxk_pkg.h.

Enumeration Type Documentation

◆ QXK_Timeouts

timeout signals

Enumerator
QXK_DELAY_SIG 
QXK_QUEUE_SIG 
QXK_SEMA_SIG 

Definition at line 54 of file qxk_pkg.h.

Function Documentation

◆ QXK_start_()

void QXK_start_ ( void  )

internal QXK function to start multitasking (typically in assembly)

◆ QXK_stackInit_()

void QXK_stackInit_ ( void *  thr,
QXThreadHandler  handler,
void *  stkSto,
uint_fast16_t  stkSize 
)

initialize the private stack of a given QXThread

◆ QXK_threadRet_()

void QXK_threadRet_ ( void  )

called when a thread function returns

◆ QXThread_block_()

void QXThread_block_ ( QXThread const *const  me)

internal functin to block (suspend) a given extended thread

◆ QXThread_unblock_()

void QXThread_unblock_ ( QXThread const *const  me)

internal function to unblock (resume) a given extended thread.

◆ QXThread_teArm_()

void QXThread_teArm_ ( QXThread *const  me,
QSignal  sig,
uint_fast16_t const  nTicks 
)

internal function to arm the private time event for a given thread.

◆ QXThread_teDisarm_()

bool QXThread_teDisarm_ ( QXThread *const  me)

internal function to disarm the private time event for a given thread.