QP/C  8.0.0
Real-Time Embedded Framework
Loading...
Searching...
No Matches
qv.h File Reference

QV/C (non-preemptive kernel) platform-independent public interface. More...

Go to the source code of this file.

Classes

class  QV
 QV non-preemptive kernel (QV namespace emulated as a "class" in C) More...
 
class  QV_Attr
 Private attributes of the QV kernel. More...
 

Macros

#define QF_SCHED_STAT_
 
#define QF_SCHED_LOCK_(dummy)   ((void)0)
 
#define QF_SCHED_UNLOCK_()   ((void)0)
 
#define QACTIVE_EQUEUE_WAIT_(me_)   ((void)0)
 
#define QACTIVE_EQUEUE_SIGNAL_(me_)
 
#define QF_EPOOL_TYPE_   QMPool
 
#define QF_EPOOL_INIT_(p_, poolSto_, poolSize_, evtSize_)    (QMPool_init(&(p_), (poolSto_), (poolSize_), (evtSize_)))
 
#define QF_EPOOL_EVENT_SIZE_(p_)   ((uint_fast16_t)(p_).blockSize)
 
#define QF_EPOOL_GET_(p_, e_, m_, qsId_)    ((e_) = (QEvt *)QMPool_get(&(p_), (m_), (qsId_)))
 
#define QF_EPOOL_PUT_(p_, e_, qsId_)    (QMPool_put(&(p_), (e_), (qsId_)))
 

Detailed Description

QV/C (non-preemptive kernel) platform-independent public interface.

Backward Traceability

  • DVP_QP_MC4_D04_08

Definition in file qv.h.

Macro Definition Documentation

◆ QF_SCHED_STAT_

#define QF_SCHED_STAT_

Definition at line 97 of file qv.h.

◆ QF_SCHED_LOCK_

#define QF_SCHED_LOCK_ ( dummy)    ((void)0)

Definition at line 100 of file qv.h.

◆ QF_SCHED_UNLOCK_

#define QF_SCHED_UNLOCK_ ( )    ((void)0)

Definition at line 103 of file qv.h.

◆ QACTIVE_EQUEUE_WAIT_

#define QACTIVE_EQUEUE_WAIT_ ( me_)    ((void)0)

Definition at line 106 of file qv.h.

◆ QACTIVE_EQUEUE_SIGNAL_

#define QACTIVE_EQUEUE_SIGNAL_ ( me_)
Value:
QPSet_insert(&QV_priv_.readySet, (uint_fast8_t)(me_)->prio); \
QPSet_update_(&QV_priv_.readySet, &QV_priv_.readySet_dis)

Definition at line 110 of file qv.h.

◆ QF_EPOOL_TYPE_

#define QF_EPOOL_TYPE_   QMPool

Definition at line 125 of file qv.h.

◆ QF_EPOOL_INIT_

#define QF_EPOOL_INIT_ ( p_,
poolSto_,
poolSize_,
evtSize_ )    (QMPool_init(&(p_), (poolSto_), (poolSize_), (evtSize_)))

Definition at line 128 of file qv.h.

◆ QF_EPOOL_EVENT_SIZE_

#define QF_EPOOL_EVENT_SIZE_ ( p_)    ((uint_fast16_t)(p_).blockSize)

Definition at line 132 of file qv.h.

◆ QF_EPOOL_GET_

#define QF_EPOOL_GET_ ( p_,
e_,
m_,
qsId_ )    ((e_) = (QEvt *)QMPool_get(&(p_), (m_), (qsId_)))

Definition at line 135 of file qv.h.

◆ QF_EPOOL_PUT_

#define QF_EPOOL_PUT_ ( p_,
e_,
qsId_ )    (QMPool_put(&(p_), (e_), (qsId_)))

Definition at line 139 of file qv.h.