QP/C++  7.0.1
Real-Time Embedded Framework
qv_port.hpp File Reference

QV/C++ port to ARM Cortex-M, cooperative QV kernel, GNU-ARM. More...

#include "qv.hpp"

Go to the source code of this file.

Macros

#define QV_CPU_SLEEP()
 
#define QV_INIT()   QV_init()
 
#define QV_ARM_ERRATUM_838869()    __asm volatile ("dsb 0xf" ::: "memory")
 

Functions

C void QV_init (void)
 

Detailed Description

Date
Last updated on: 2022-04-10
Version
Last updated for: Version 7.0.0, 2022-04-30

Definition in file qv_port.hpp.

Macro Definition Documentation

◆ QV_CPU_SLEEP

#define QV_CPU_SLEEP ( )
Value:
do { \
QF_PRIMASK_DISABLE(); \
QF_INT_ENABLE(); \
__asm volatile ("wfi"); \
QF_PRIMASK_ENABLE(); \
} while (false)

Definition at line 46 of file qv_port.hpp.

◆ QV_INIT

#define QV_INIT ( )    QV_init()

Definition at line 54 of file qv_port.hpp.

◆ QV_ARM_ERRATUM_838869

#define QV_ARM_ERRATUM_838869 ( )     __asm volatile ("dsb 0xf" ::: "memory")

Definition at line 62 of file qv_port.hpp.

Function Documentation

◆ QV_init()

C void QV_init ( void  )

Definition at line 102 of file qv_port.cpp.