QP/C  7.4.0-rc.3
Real-Time Embedded Framework
Loading...
Searching...
No Matches
qp_pkg.h File Reference

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

Go to the source code of this file.

Classes

class  QF_Attr
 Private attributes of the QF framework. More...
 

Macros

#define QTE_IS_LINKED   (1U << 7U)
 
#define QTE_WAS_DISARMED   (1U << 6U)
 
#define QTE_TICK_RATE   0x0FU
 
#define QACTIVE_CAST_(ptr_)
 
#define Q_UINTPTR_CAST_(ptr_)
 

Detailed Description

Internal (package scope) QP/C interface.

Backward Traceability

  • DVP_QP_MC4_D04_08

Definition in file qp_pkg.h.

Macro Definition Documentation

◆ QTE_IS_LINKED

#define QTE_IS_LINKED   (1U << 7U)

Definition at line 82 of file qp_pkg.h.

◆ QTE_WAS_DISARMED

#define QTE_WAS_DISARMED   (1U << 6U)

Definition at line 83 of file qp_pkg.h.

◆ QTE_TICK_RATE

#define QTE_TICK_RATE   0x0FU

Definition at line 84 of file qp_pkg.h.

◆ QACTIVE_CAST_

#define QACTIVE_CAST_ ( ptr_)
Value:
((QActive *)(ptr_))
Active object class (based on the QHsm implementation strategy)
Definition qp.h:804

Internal helper macro to encapsulate a MISRA deviation

Parameters
[in]ptr_active object pointer

This internal macro encapsulates the violation of MISRA-C:2023 Rule 11.5(A).

Backward Traceability

  • DVR_QP_MC4_R11_05
  • DVP_QP_MC4_R11_03B
  • DVP-QP-PCLP-826

Definition at line 96 of file qp_pkg.h.

◆ Q_UINTPTR_CAST_

#define Q_UINTPTR_CAST_ ( ptr_)
Value:
((uintptr_t)(ptr_))

Internal helper macro to cast pointers to integers

Parameters
[in]ptr_object pointer
Returns
The integer representation of the pointer

Backward Traceability

  • DVP_QP_MC4_D04_09A (false-positive)
  • DVR_QP_MC4_R11_04

Definition at line 97 of file qp_pkg.h.