QP/C  8.0.0
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_FLAG_IS_LINKED   (1U << 7U)
 
#define QTE_FLAG_WAS_DISARMED   (1U << 6U)
 
#define QACTIVE_CAST_(ptr_)   ((QActive *)(ptr_))
 
#define Q_PTR2UINT_CAST_(ptr_)   ((uintptr_t)(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_FLAG_IS_LINKED

#define QTE_FLAG_IS_LINKED   (1U << 7U)

Definition at line 73 of file qp_pkg.h.

◆ QTE_FLAG_WAS_DISARMED

#define QTE_FLAG_WAS_DISARMED   (1U << 6U)

Definition at line 74 of file qp_pkg.h.

◆ QACTIVE_CAST_

#define QACTIVE_CAST_ ( ptr_)    ((QActive *)(ptr_))

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 94 of file qp_pkg.h.

◆ Q_PTR2UINT_CAST_

#define Q_PTR2UINT_CAST_ ( ptr_)    ((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 95 of file qp_pkg.h.