From 1b45201043e12be97d438253dbe44b6d4ace2b87 Mon Sep 17 00:00:00 2001 From: Quantum Leaps Date: Thu, 20 Jul 2017 13:06:27 -0400 Subject: [PATCH] 5.9.5 --- 3rd_party/efm32pg1b/gnu/startup_efm32pg1b.c | 10 +- 3rd_party/efm32pg1b/iar/startup_efm32pg1b.s | 13 +- 3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c | 10 +- .../ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c | 10 +- .../ti/launchxl2-tms57012_ti.dil | 2 +- 3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c | 10 +- .../nucleo-l053r8/gnu/startup_stm32l053xx.c | 10 +- .../nucleo-l152re/gnu/startup_stm32l1xx.c | 10 +- .../stm32f4-discovery/gnu/startup_stm32f4xx.c | 10 +- ...rtup_stm32f4xx.s => startup_stm32f746xx.s} | 0 ...rtup_stm32f4xx.c => startup_stm32f746xx.c} | 6 + README.md | 132 +- doxygen/Doxyfile | 2 +- doxygen/Doxyfile-CHM | 2 +- doxygen/history.dox | 16 + doxygen/make.bat | 6 +- doxygen/metrics.dox | 6312 ++++++++--------- .../arm-cm/dpp_efm32-slstk3401a/qk/bsp.cpp | 8 +- .../arm-cm/dpp_efm32-slstk3401a/qv/bsp.cpp | 8 +- .../arm-cm/dpp_efm32-slstk3401a/qxk/bsp.cpp | 8 +- .../dpp_efm32-slstk3401a/win32-qv/bsp.cpp | 8 +- .../arm-cm/dpp_efm32-slstk3401a/win32/bsp.cpp | 8 +- examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.cpp | 8 +- examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.cpp | 8 +- examples/arm-cm/dpp_ek-tm4c123gxl/qxk/bsp.cpp | 8 +- examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.cpp | 8 +- examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.cpp | 8 +- examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.cpp | 8 +- examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.cpp | 8 +- examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.cpp | 8 +- examples/arm-cm/dpp_nucleo-l152re/qk/bsp.cpp | 8 +- examples/arm-cm/dpp_nucleo-l152re/qv/bsp.cpp | 8 +- .../arm-cm/dpp_stm32f4-discovery/qk/bsp.cpp | 8 +- .../arm-cm/dpp_stm32f4-discovery/qv/bsp.cpp | 8 +- .../arm-cm/dpp_stm32f4-discovery/qxk/bsp.cpp | 8 +- .../dpp-dbg_STM32F746NGHx_1.0.0.dbgconf | 148 - .../dpp-rel_STM32F746NGHx_1.0.0.dbgconf | 148 - .../dpp-spy_STM32F746NGHx_1.0.0.dbgconf | 148 - .../qk/arm/dpp-qk.uvoptx | 4 +- .../qk/arm/dpp-qk.uvprojx | 12 +- .../dpp_stm32f746g-discovery/qk/bsp.cpp | 8 +- .../dpp_stm32f746g-discovery/qk/gnu/Makefile | 6 +- .../qv/arm/dpp-qv.uvoptx | 4 +- .../qv/arm/dpp-qv.uvprojx | 12 +- .../dpp_stm32f746g-discovery/qv/bsp.cpp | 8 +- .../dpp_stm32f746g-discovery/qv/gnu/Makefile | 6 +- .../dpp-dbg_STM32F746NGHx_1.0.0.dbgconf | 148 - .../dpp-rel_STM32F746NGHx_1.0.0.dbgconf | 148 - .../dpp-spy_STM32F746NGHx_1.0.0.dbgconf | 148 - .../qxk/arm/dpp-qxk.uvoptx | 4 +- .../qxk/arm/dpp-qxk.uvprojx | 12 +- .../dpp_stm32f746g-discovery/qxk/bsp.cpp | 8 +- .../dpp_stm32f746g-discovery/qxk/gnu/Makefile | 6 +- .../arm-cm/game_efm32-slstk3401a/qk/bsp.cpp | 8 +- .../arm-cm/game_efm32-slstk3401a/qv/bsp.cpp | 8 +- .../game_efm32-slstk3401a/win32-qv/bsp.cpp | 8 +- .../game_efm32-slstk3401a/win32/bsp.cpp | 8 +- .../arm-cr/dpp_launchxl2-tms57012/qk/bsp.cpp | 8 +- .../arm-cr/dpp_launchxl2-tms57012/qv/bsp.cpp | 8 +- .../arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.cpp | 8 +- .../arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.cpp | 8 +- .../arm-cm/dpp_stm32f429-discovery/bsp.cpp | 8 +- examples/msp430/dpp_msp-exp430g2/qk/bsp.cpp | 8 +- examples/msp430/dpp_msp-exp430g2/qv/bsp.cpp | 8 +- .../dpp_efm32-slstk3401a/qk/bsp.cpp | 8 +- .../dpp_efm32-slstk3401a/qv/bsp.cpp | 8 +- .../dpp_efm32-slstk3401a/qxk/bsp.cpp | 8 +- .../dpp_efm32-slstk3401a/ucos-ii/bsp.cpp | 8 +- examples/posix/dpp/bsp.cpp | 8 +- examples/qutest/dpp/bsp.cpp | 8 +- .../ti-rtos/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp | 8 +- .../arm-cm/dpp_efm32-slstk3401a/bsp.cpp | 8 +- .../ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp | 8 +- .../ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.cpp | 8 +- examples/win32-qv/dpp/bsp.cpp | 7 +- examples/win32/dpp/bsp.cpp | 7 +- include/qassert.h | 10 +- include/qep.h | 12 +- include/qpcpp.lnt | 7 +- src/qxk/qxk.cpp | 11 +- version-5.9.4 | 2 - version-5.9.5 | 2 + 82 files changed, 3552 insertions(+), 4357 deletions(-) rename 3rd_party/stm32f7-discovery/arm/{startup_stm32f4xx.s => startup_stm32f746xx.s} (100%) rename 3rd_party/stm32f7-discovery/gnu/{startup_stm32f4xx.c => startup_stm32f746xx.c} (99%) delete mode 100644 examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-dbg_STM32F746NGHx_1.0.0.dbgconf delete mode 100644 examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-rel_STM32F746NGHx_1.0.0.dbgconf delete mode 100644 examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-spy_STM32F746NGHx_1.0.0.dbgconf delete mode 100644 examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-dbg_STM32F746NGHx_1.0.0.dbgconf delete mode 100644 examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-rel_STM32F746NGHx_1.0.0.dbgconf delete mode 100644 examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-spy_STM32F746NGHx_1.0.0.dbgconf delete mode 100644 version-5.9.4 create mode 100644 version-5.9.5 diff --git a/3rd_party/efm32pg1b/gnu/startup_efm32pg1b.c b/3rd_party/efm32pg1b/gnu/startup_efm32pg1b.c index e7c9ffeb..0b422f0f 100644 --- a/3rd_party/efm32pg1b/gnu/startup_efm32pg1b.c +++ b/3rd_party/efm32pg1b/gnu/startup_efm32pg1b.c @@ -1,8 +1,8 @@ /* File: startup_efm32pg1b.c * Purpose: startup file for EFM32PG1B devices. * Should be used with GCC 'GNU Tools ARM Embedded' - * Version: CMSIS 4.3.0 - * Date: 02 May 2016 + * Version: CMSIS 5.0.1 + * Date: 18 July 2017 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com @@ -214,6 +214,7 @@ void NMI_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_nmi: .asciz \"NMI\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -224,6 +225,7 @@ void MemManage_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_mem: .asciz \"MemManage\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -234,6 +236,7 @@ void HardFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_hrd: .asciz \"HardFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -244,6 +247,7 @@ void BusFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_bus: .asciz \"BusFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -254,6 +258,7 @@ void UsageFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_usage: .asciz \"UsageFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -264,6 +269,7 @@ void Default_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_dflt: .asciz \"Default\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ diff --git a/3rd_party/efm32pg1b/iar/startup_efm32pg1b.s b/3rd_party/efm32pg1b/iar/startup_efm32pg1b.s index c09d56b8..2d0bbf45 100644 --- a/3rd_party/efm32pg1b/iar/startup_efm32pg1b.s +++ b/3rd_party/efm32pg1b/iar/startup_efm32pg1b.s @@ -2,7 +2,7 @@ ; * @file startup_efm32pg1b.s for IAR ARM assembler ; * @brief CMSIS Cortex-M4F Core Device Startup File for TM4C123GH6PM ; * @version CMSIS 4.3.0 -; * @date 07 May 2016 +; * @date 07 Sep 2016 ; * ; * @description ; * Created from the CMSIS template for the specified device @@ -130,6 +130,17 @@ __Vectors_Size EQU __Vectors_End - __Vectors EXTERN __iar_program_start Reset_Handler BL SystemInit ; CMSIS system initialization + + ; pre-fill the CSTACK with 0xDEADBEEF................... + LDR r0,=0xDEADBEEF + MOV r1,r0 + LDR r2,=sfb(CSTACK) + LDR r3,=sfe(CSTACK) +Reset_stackInit_fill: + STMIA r2!,{r0,r1} + CMP r2,r3 + BLT.N Reset_stackInit_fill + BL __iar_program_start ; IAR startup code ;............................................................................. PUBWEAK NMI_Handler diff --git a/3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c b/3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c index e28ba4e8..c625f530 100644 --- a/3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c +++ b/3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c @@ -1,8 +1,8 @@ /* File: startup_LM3S6965.c for GCC-ARM * Purpose: startup file for LM3S6965 Cortex-M3 device. * Should be used with GCC 'GNU Tools ARM Embedded' - * Version: CMSIS 4.3.0 - * Date: 06 August 2015 + * Version: CMSIS 5.0.1 + * Date: 18 July 2017 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com @@ -247,6 +247,7 @@ void NMI_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_nmi: .asciz \"NMI\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -257,6 +258,7 @@ void MemManage_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_mem: .asciz \"MemManage\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -267,6 +269,7 @@ void HardFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_hrd: .asciz \"HardFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -277,6 +280,7 @@ void BusFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_bus: .asciz \"BusFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -287,6 +291,7 @@ void UsageFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_usage: .asciz \"UsageFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -297,6 +302,7 @@ void Default_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_dflt: .asciz \"Default\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ diff --git a/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c b/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c index 170673e9..9e002ef0 100644 --- a/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c +++ b/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c @@ -1,8 +1,8 @@ /* File: startup_TM4C123GH6PM.c * Purpose: startup file for TM4C123GH6PM Cortex-M4 device. * Should be used with GCC 'GNU Tools ARM Embedded' - * Version: CMSIS 4.3.0 - * Date: 20 August 2015 + * Version: CMSIS 5.0.1 + * Date: 18 July 2017 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com @@ -404,6 +404,7 @@ void NMI_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_nmi: .asciz \"NMI\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -414,6 +415,7 @@ void MemManage_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_mem: .asciz \"MemManage\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -424,6 +426,7 @@ void HardFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_hrd: .asciz \"HardFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -434,6 +437,7 @@ void BusFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_bus: .asciz \"BusFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -444,6 +448,7 @@ void UsageFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_usage: .asciz \"UsageFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -454,6 +459,7 @@ void Default_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_dflt: .asciz \"Default\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ diff --git a/3rd_party/launchxl2-tms57012/ti/launchxl2-tms57012_ti.dil b/3rd_party/launchxl2-tms57012/ti/launchxl2-tms57012_ti.dil index da34b24e..e5524155 100644 --- a/3rd_party/launchxl2-tms57012/ti/launchxl2-tms57012_ti.dil +++ b/3rd_party/launchxl2-tms57012/ti/launchxl2-tms57012_ti.dil @@ -1,4 +1,4 @@ -# TMS570LS1224PGE 09/01/16 09:23:23 +# TMS570LS1224PGE 08/29/16 16:25:37 # ARCH=TMS570LS1224PGE # diff --git a/3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c b/3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c index 25734bfb..3209b2e6 100644 --- a/3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c +++ b/3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c @@ -1,8 +1,8 @@ /* File: startup_LPC17xx.c * Purpose: startup file for LPC17xx Cortex-M3 devices. * Should be used with GCC 'GNU Tools ARM Embedded' - * Version: CMSIS 4.3.0 - * Date: 06 August 2015 + * Version: CMSIS 5.0.1 + * Date: 18 July 2017 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com @@ -227,6 +227,7 @@ void NMI_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_nmi: .asciz \"NMI\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -237,6 +238,7 @@ void MemManage_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_mem: .asciz \"MemManage\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -247,6 +249,7 @@ void HardFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_hrd: .asciz \"HardFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -257,6 +260,7 @@ void BusFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_bus: .asciz \"BusFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -267,6 +271,7 @@ void UsageFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_usage: .asciz \"UsageFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -277,6 +282,7 @@ void Default_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_dflt: .asciz \"Default\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ diff --git a/3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c b/3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c index 171ef4f5..b2543ea0 100644 --- a/3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c +++ b/3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c @@ -1,8 +1,8 @@ /* File: startup_stm32l053xx.c for GNU-ARM * Purpose: startup file for LM3S6965 Cortex-M3 device. * Should be used with GCC 'GNU Tools ARM Embedded' -* Version: CMSIS 4.3.0 - * Date: 20 August 2015 +* Version: CMSIS 5.0.1 + * Date: 18 July 2017 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com @@ -217,6 +217,7 @@ void NMI_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_nmi: .asciz \"NMI\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -227,6 +228,7 @@ void MemManage_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_mem: .asciz \"MemManage\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -237,6 +239,7 @@ void HardFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_hrd: .asciz \"HardFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -247,6 +250,7 @@ void BusFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_bus: .asciz \"BusFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -257,6 +261,7 @@ void UsageFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_usage: .asciz \"UsageFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -267,6 +272,7 @@ void Default_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_dflt: .asciz \"Default\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ diff --git a/3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c b/3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c index 806a01df..b7e737ed 100644 --- a/3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c +++ b/3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c @@ -1,8 +1,8 @@ /* File: startup_stm32l1xx.c for GNU-ARM * Purpose: startup file for STM32L1xx Cortex-M3 device. * Should be used with GCC 'GNU Tools ARM Embedded' - * Version: CMSIS 4.3.0 - * Date: 2 March 2016 + * Version: CMSIS 5.0.1 + * Date: 18 July 2017 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com @@ -272,6 +272,7 @@ void NMI_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_nmi: .asciz \"NMI\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -282,6 +283,7 @@ void MemManage_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_mem: .asciz \"MemManage\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -292,6 +294,7 @@ void HardFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_hrd: .asciz \"HardFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -302,6 +305,7 @@ void BusFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_bus: .asciz \"BusFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -312,6 +316,7 @@ void UsageFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_usage: .asciz \"UsageFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -322,6 +327,7 @@ void Default_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_dflt: .asciz \"Default\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ diff --git a/3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c b/3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c index 2afb6857..3277a4c8 100644 --- a/3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c +++ b/3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c @@ -1,8 +1,8 @@ /* File: startup_stm32f4xx.c * Purpose: startup file for stm32f4xx Cortex-M4 device. * Should be used with GCC 'GNU Tools ARM Embedded' - * Version: CMSIS 4.3.0 - * Date: 20 August 2015 + * Version: CMSIS 5.0.1 + * Date: 18 July 2017 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com @@ -313,6 +313,7 @@ void NMI_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_nmi: .asciz \"NMI\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -323,6 +324,7 @@ void MemManage_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_mem: .asciz \"MemManage\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -333,6 +335,7 @@ void HardFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_hrd: .asciz \"HardFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -343,6 +346,7 @@ void BusFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_bus: .asciz \"BusFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -353,6 +357,7 @@ void UsageFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_usage: .asciz \"UsageFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -363,6 +368,7 @@ void Default_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_dflt: .asciz \"Default\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ diff --git a/3rd_party/stm32f7-discovery/arm/startup_stm32f4xx.s b/3rd_party/stm32f7-discovery/arm/startup_stm32f746xx.s similarity index 100% rename from 3rd_party/stm32f7-discovery/arm/startup_stm32f4xx.s rename to 3rd_party/stm32f7-discovery/arm/startup_stm32f746xx.s diff --git a/3rd_party/stm32f7-discovery/gnu/startup_stm32f4xx.c b/3rd_party/stm32f7-discovery/gnu/startup_stm32f746xx.c similarity index 99% rename from 3rd_party/stm32f7-discovery/gnu/startup_stm32f4xx.c rename to 3rd_party/stm32f7-discovery/gnu/startup_stm32f746xx.c index bed5fb1a..9c935f75 100644 --- a/3rd_party/stm32f7-discovery/gnu/startup_stm32f4xx.c +++ b/3rd_party/stm32f7-discovery/gnu/startup_stm32f746xx.c @@ -344,6 +344,7 @@ void NMI_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_nmi: .asciz \"NMI\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -354,6 +355,7 @@ void MemManage_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_mem: .asciz \"MemManage\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -364,6 +366,7 @@ void HardFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_hrd: .asciz \"HardFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -374,6 +377,7 @@ void BusFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_bus: .asciz \"BusFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -384,6 +388,7 @@ void UsageFault_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_usage: .asciz \"UsageFault\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ @@ -394,6 +399,7 @@ void Default_Handler(void) { " mov r1,#1\n\t" " b assert_failed\n\t" "str_dflt: .asciz \"Default\"\n\t" + " .align 2\n\t" ); } /*..........................................................................*/ diff --git a/README.md b/README.md index 0ab3ced6..4ac94fb7 100644 --- a/README.md +++ b/README.md @@ -4,92 +4,92 @@ View QP/C++ Revision History at: https://state-machine.com/qpcpp/history.html ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- # About QP/C++ QP/C++ (Quantum Platform in C++) is a lightweight, open source software -framework/RTOS for building reactvie real-time embedded applications +framework/RTOS for building reactvie real-time embedded applications as systems of cooperating, event-driven active objects (actors). The -QP/C++ framework is a member of a larger [QP] family consisting of +QP/C++ framework is a member of a larger [QP] family consisting of QP/C, QP/C++, and QP-nano frameworks, which are all strictly quality controlled, thoroughly documented, and commercially licensable. - -## Safer Model of Concurrency -The [QP] framework family is based on the [Active Object] (**actor**) -design pattern, which inherently supports and automatically enforces the -following best practices of concurrent programming: - -- Keep data isolated and bound to active objects' threads. Threads should -hide (**encapsulate**) their private data and other resources, and not -share them with the rest of the system. - -- Communicate among active object threads **asynchronously** via event -objects. Using asynchronous events keeps the threads running truly -independently, **without blocking** on each other. - -- Active object threads should spend their lifetime responding to incoming -events, so their mainline should consist of an **event-loop** that handles -events one at a time (to completion), thus avoiding any concurrency hazards -within an active object thread itself. - -This architecture is generally **safer**, more responsive and easier to -understand and maintain than the shared-state concurrency of a conventional -RTOS. It also provides higher level of abstraction and the right -abstractions to effectively apply **modeling** and **code generation** to -deeply embedded real-time systems. - + +## Safer Model of Concurrency +The [QP] framework family is based on the [Active Object] (**actor**) +design pattern, which inherently supports and automatically enforces the +following best practices of concurrent programming: + +- Keep data isolated and bound to active objects' threads. Threads should +hide (**encapsulate**) their private data and other resources, and not +share them with the rest of the system. + +- Communicate among active object threads **asynchronously** via event +objects. Using asynchronous events keeps the threads running truly +independently, **without blocking** on each other. + +- Active object threads should spend their lifetime responding to incoming +events, so their mainline should consist of an **event-loop** that handles +events one at a time (to completion), thus avoiding any concurrency hazards +within an active object thread itself. + +This architecture is generally **safer**, more responsive and easier to +understand and maintain than the shared-state concurrency of a conventional +RTOS. It also provides higher level of abstraction and the right +abstractions to effectively apply **modeling** and **code generation** to +deeply embedded real-time systems. + ## Hierarchical State Machines The behavior of active objects is specified in QP/C++ by means of -[Hierarchical State Machines] (UML statecharts). The framework -supports manual coding of UML state machines in C as well as automatic -**code generation** by means of the free [QM] modeling tool. - +[Hierarchical State Machines] (UML statecharts). The framework +supports manual coding of UML state machines in C as well as automatic +**code generation** by means of the free [QM] modeling tool. + ## Built-in Real-Time Kernels -The QP/C++ framework can run on bare-metal single-chip microcontrollers, -completely replacing a traditional RTOS. The framework contains a selection -of **built-in real-time kernels**, such as the cooperative QV kernel, the -preemptive non-blocking QK kernel, and the preemptive, blocking QXK kernel -that provides all the features you might expect from a traditional RTOS. -Native QP ports and ready-to-use examples are provided for major CPUs, such -as ARM Cortex-M (M0/M0+/M3/M4/M7). - -## Traditional RTOS/OS -QP/C++ can also work with a traditional RTOS, such as ThreadX, embOS, -uC/OS-II and TI-RTOS, as well as with (embedded) Linux (POSIX) and Windows. - +The QP/C++ framework can run on bare-metal single-chip microcontrollers, +completely replacing a traditional RTOS. The framework contains a selection +of **built-in real-time kernels**, such as the cooperative QV kernel, the +preemptive non-blocking QK kernel, and the preemptive, blocking QXK kernel +that provides all the features you might expect from a traditional RTOS. +Native QP ports and ready-to-use examples are provided for major CPUs, such +as ARM Cortex-M (M0/M0+/M3/M4/M7). + +## Traditional RTOS/OS +QP/C++ can also work with a traditional RTOS, such as ThreadX, embOS, +uC/OS-II and TI-RTOS, as well as with (embedded) Linux (POSIX) and Windows. + ## Maturity -With 60,000 downloads a year, the [QP] family is the most popular such -solution on the embedded software market. It provides a modern, reusable -architecture for embedded applications, which combines the active-object +With 60,000 downloads a year, the [QP] family is the most popular such +solution on the embedded software market. It provides a modern, reusable +architecture for embedded applications, which combines the active-object model of concurrency with hierarchical state machines. ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- # Getting Started with QP/C++ -The following "Getting Started with QP/C++" guide provides step-by-step -instructions on how to download, install, and get started with QP/C++ quickly: +The following "Getting Started with QP/C++" guide provides step-by-step +instructions on how to download, install, and get started with QP/C++ quickly: https://state-machine.com/doc/AN_Getting_Started_with_QPCpp.pdf - -The guide also contains a tutorial, in which you build a simple "Blinky" -application. -> NOTE: QP/C++ can be unzipped anywhere in your file system, but the -recommended location is `C:\qp\qpcpp` on Windows and `~/qp/qpcpp` +The guide also contains a tutorial, in which you build a simple "Blinky" +application. + +> NOTE: QP/C++ can be unzipped anywhere in your file system, but the +recommended location is `C:\qp\qpcpp` on Windows and `~/qp/qpcpp` on Linux/MacOS. ---------------------------------------------------------------------------- +--------------------------------------------------------------------------- # QP/C++ Documentation The **QP/C++ Manual** is located online at: - https://state-machine.com/qpcpp ---------------------------------------------------------------------------- -# How to get help? -- [Free Support Forum](https://sourceforge.net/p/qpc/discussion/668726) -- [Bug Reports](https://sourceforge.net/p/qpc/bugs/) -- [Feature Requests](https://sourceforge.net/p/qpc/feature-requests/) -- [Quantum Leaps website](https://state-machine.com) -- [Quantum Lepas licensing](https://state-machine.com/licensing) +--------------------------------------------------------------------------- +# How to get help? +- [Free Support Forum](https://sourceforge.net/p/qpc/discussion/668726) +- [Bug Reports](https://sourceforge.net/p/qpc/bugs/) +- [Feature Requests](https://sourceforge.net/p/qpc/feature-requests/) +- [Quantum Leaps website](https://state-machine.com) +- [Quantum Lepas licensing](https://state-machine.com/licensing) - [info@state-machine.com](mailto:info@state-machine.com) [QP]: - [QM]: - [Active Object]: - [Hierarchical State Machines]: + [QM]: + [Active Object]: + [Hierarchical State Machines]: diff --git a/doxygen/Doxyfile b/doxygen/Doxyfile index 01dff8ee..34be92b7 100644 --- a/doxygen/Doxyfile +++ b/doxygen/Doxyfile @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = "QP/C++" -PROJECT_NUMBER = "5.9.4" +PROJECT_NUMBER = "5.9.5" PROJECT_BRIEF = PROJECT_LOGO = images/header_logo_ql.png OUTPUT_DIRECTORY = diff --git a/doxygen/Doxyfile-CHM b/doxygen/Doxyfile-CHM index 9a599593..404047b9 100644 --- a/doxygen/Doxyfile-CHM +++ b/doxygen/Doxyfile-CHM @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = "QP/C++" -PROJECT_NUMBER = "5.9.4" +PROJECT_NUMBER = "5.9.5" PROJECT_BRIEF = PROJECT_LOGO = images/header_logo_ql.png OUTPUT_DIRECTORY = diff --git a/doxygen/history.dox b/doxygen/history.dox index c963986b..33e0ab25 100644 --- a/doxygen/history.dox +++ b/doxygen/history.dox @@ -2,6 +2,22 @@ namespace QP { /** @page history Revision History +@section qpcpp_5_9_5 Version 5.9.5, 2017-07-20 +This release fixes the following bug: +- bug#178 "GNU-ARM compiler reports "Error: unaligned opcodes..." in startup code for QP/C/C++/nano examples". The bug fix entails modifying the startup code for the GNU-ARM compiler in the `3rd_party` directory. Specifically, the proper alignment directives have been added to the inline assembly in the exception handlers. + +This release fixes the naming problem of the startup code for the +STM32F7-Discovery board (in the `3rd_party/stm32f7-discovery/gnu/ and arm/` +directories), where the startup code was renamed from `startup_stm32f4xx.c/s` +to `startup_stm32f746xx.c/s`. The change has been also made in the example +projects for the STM32F7-Discovery board (for ARM-KEIL and GNU-ARM toolsets). + +Finally, this release modifies the example code (mostly `bsp.cpp` files) +so that the Q_DEFINE_THIS_FILE() macro is used consistently *outside* +a namespace at the top of the file scope. + + +----------------------------------------------------------------------------- @section qpcpp_5_9_4 Version 5.9.4, 2017-07-07 This release adds Thread-Local Storage (TLS) feature for the dual-mode QXK kernel (see @ref qxk_tls). diff --git a/doxygen/make.bat b/doxygen/make.bat index 88335110..4238a979 100644 --- a/doxygen/make.bat +++ b/doxygen/make.bat @@ -1,8 +1,8 @@ @echo off :: ========================================================================== :: Product: QP/C++ script for generating Doxygen documentation -:: Last Updated for Version: 5.9.4 -:: Date of the Last Update: 2017-07-05 +:: Last Updated for Version: 5.9.5 +:: Date of the Last Update: 2017-07-19 :: :: Q u a n t u m L e a P s :: --------------------------- @@ -38,7 +38,7 @@ echo usage: echo make echo make -CHM -set VERSION=5.9.4 +set VERSION=5.9.5 :: Generate Resource Standard Metrics for QP/C++ ............................. set DOXHOME="C:\tools\doxygen\bin" diff --git a/doxygen/metrics.dox b/doxygen/metrics.dox index 3a2cab93..7b7cb30f 100644 --- a/doxygen/metrics.dox +++ b/doxygen/metrics.dox @@ -1,3156 +1,3156 @@ -/** @page metrics Code Metrics - -@code - Standard Code Metrics for QP/C++ 5.9.4 - - Resource Standard Metrics (TM) for C, C++, C# and Java - Version 7.75 - mSquaredTechnologies.com - - License Type: Windows Single User License - Licensed To : Quantum Leaps, LLC - License No. : WS2975 License Date: Dec 15, 2013 - Build Date : Sep 2 2009 Run Date: Jul 15, 2017 - (C)1996-2009 M Squared Technologies LLC - ________________________________________________________________________ - - ~~ Function Metrics ~~ - ~~ Complexity Detail Analysis ~~ - - File: ..\include\qassert.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 43 eLOC 42 lLOC 3 Comment 240 Lines 303 - ________________________________________________________________________ - End of File: ..\include\qassert.h - - - File: ..\include\qep.h - ________________________________________________________________________ - - Inline Function: QP::QEvt::QEvt - Parameters: (QSignal const s) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1 - - Inline Function: QP::QEvt::QEvt - Parameters: (QSignal const s, StaticEvt) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1 - - Inline Function: QP::QEvt::~QEvt - Parameters: () - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1 - - Inline Function: QP::QHsm::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Inline Function: QP::QHsm::state - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Inline Function: QP::QHsm::Q_HANDLED - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 - - Inline Function: QP::QHsm::Q_UNHANDLED - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3 - - Inline Function: QP::QHsm::tran_ - Parameters: (QStateHandler const target) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QHsm::tran_hist_ - Parameters: (QStateHandler const hist) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QHsm::super_ - Parameters: (QStateHandler const superstate) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QHsm::qm_tran_ - Parameters: (QMTranActTable const * const tatbl) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 - - Inline Function: QP::QHsm::qm_tran_hist_ - Parameters: (QMState const * const hist, QMTranActTable const * const ta - tbl) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5 - - Inline Function: QP::QHsm::qm_tran_init_ - Parameters: (QMTranActTable const * const tatbl) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QHsm::qm_tran_ep_ - Parameters: (QMTranActTable const * const tatbl) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 - - Inline Function: QP::QHsm::qm_tran_xp_ - Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5 - - Inline Function: QP::QHsm::qm_entry_ - Parameters: (QMState const * const s) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QHsm::qm_exit_ - Parameters: (QMState const * const s) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QHsm::qm_super_sub_ - Parameters: (QMState const * const s) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 - - Inline Function: QP::QHsm::QM_HANDLED - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Inline Function: QP::QHsm::QM_UNHANDLED - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Inline Function: QP::QHsm::QM_SUPER - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Inline Function: QP::QMsm::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 - - Inline Function: QP::QMsm::stateObj - Parameters: (void) Non-ANSI Parameter Construct - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QEP::getVersion - Parameters: (void) Non-ANSI Parameter Construct - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 259 eLOC 227 lLOC 129 Comment 317 Lines 664 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 24 - Total Function LOC.....: 75 Total Function Pts LOC : 0.0 - Total Function eLOC....: 54 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 34 Total Function Pts lLOC: 0.0 - Total Function Params .: 18 Total Function Return .: 24 - Total Cyclo Complexity : 24 Total Function Complex.: 66 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 5 Average Function LOC ..: 3.13 - Max Function eLOC .....: 3 Average Function eLOC .: 2.25 - Max Function lLOC .....: 3 Average Function lLOC .: 1.42 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 0.75 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 1.75 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 4 Avg Total Complexity ..: 2.75 - ________________________________________________________________________ - End of File: ..\include\qep.h - - - File: ..\include\qequeue.h - ________________________________________________________________________ - - Inline Function: QP::QEQueue::getNFree - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3 - - Inline Function: QP::QEQueue::isEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 46 eLOC 42 lLOC 24 Comment 184 Lines 257 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 2 - Total Function LOC.....: 6 Total Function Pts LOC : 0.0 - Total Function eLOC....: 4 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 2 Total Function Pts lLOC: 0.0 - Total Function Params .: 0 Total Function Return .: 2 - Total Cyclo Complexity : 2 Total Function Complex.: 4 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 3 Average Function LOC ..: 3.00 - Max Function eLOC .....: 2 Average Function eLOC .: 2.00 - Max Function lLOC .....: 1 Average Function lLOC .: 1.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 0 Avg Function Parameters: 0.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 1 Avg Interface Complex. : 1.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 - ________________________________________________________________________ - End of File: ..\include\qequeue.h - - - File: ..\include\qf.h - ________________________________________________________________________ - - Inline Function: QP::QActive::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const stkSize - ) - Complexity Param 5 Return 1 Cyclo Vg 1 Total 7 - LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4 - - Inline Function: QP::QActive::getPrio - Parameters: (void) Non-ANSI Parameter Construct - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QActive::setPrio - Parameters: (uint_fast8_t const prio) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QActive::getOsObject - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 - - Inline Function: QP::QActive::getThread - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 - - Inline Function: QP::QMActive::stateObj - Parameters: (void) Non-ANSI Parameter Construct - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QTimeEvt::QTimeEvt - Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By - Compiler Directive - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 7 eLOC 5 lLOC 3 Comment 5 Lines 8 - - Inline Function: QP::QTimeEvt::postIn - Parameters: (QActive * const act, QTimeEvtCtr const nTicks) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QTimeEvt::postEvery - Parameters: (QActive * const act, QTimeEvtCtr const nTicks) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QTimeEvt::toActive - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Inline Function: QP::QTimeEvt::toTimeEvt - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Inline Function: QP::QF::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QTicker::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 280 eLOC 264 lLOC 117 Comment 483 Lines 867 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 13 - Total Function LOC.....: 36 Total Function Pts LOC : 0.0 - Total Function eLOC....: 26 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 17 Total Function Pts lLOC: 0.0 - Total Function Params .: 13 Total Function Return .: 13 - Total Cyclo Complexity : 13 Total Function Complex.: 39 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 7 Average Function LOC ..: 2.77 - Max Function eLOC .....: 5 Average Function eLOC .: 2.00 - Max Function lLOC .....: 3 Average Function lLOC .: 1.31 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 5 Avg Function Parameters: 1.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 6 Avg Interface Complex. : 2.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 7 Avg Total Complexity ..: 3.00 - ________________________________________________________________________ - End of File: ..\include\qf.h - - - File: ..\include\qk.h - ________________________________________________________________________ - - Inline Function: QP::QK::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 79 eLOC 73 lLOC 27 Comment 102 Lines 196 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 1 - Total Function LOC.....: 3 Total Function Pts LOC : 0.0 - Total Function eLOC....: 2 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 1 Total Function Pts lLOC: 0.0 - Total Function Params .: 0 Total Function Return .: 1 - Total Cyclo Complexity : 1 Total Function Complex.: 2 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 3 Average Function LOC ..: 3.00 - Max Function eLOC .....: 2 Average Function eLOC .: 2.00 - Max Function lLOC .....: 1 Average Function lLOC .: 1.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 0 Avg Function Parameters: 0.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 1 Avg Interface Complex. : 1.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 - ________________________________________________________________________ - End of File: ..\include\qk.h - - - File: ..\include\qmpool.h - ________________________________________________________________________ - - Inline Function: QP::QMPool::getBlockSize - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 54 eLOC 51 lLOC 23 Comment 94 Lines 166 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 1 - Total Function LOC.....: 3 Total Function Pts LOC : 0.0 - Total Function eLOC....: 2 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 1 Total Function Pts lLOC: 0.0 - Total Function Params .: 0 Total Function Return .: 1 - Total Cyclo Complexity : 1 Total Function Complex.: 2 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 3 Average Function LOC ..: 3.00 - Max Function eLOC .....: 2 Average Function eLOC .: 2.00 - Max Function lLOC .....: 1 Average Function lLOC .: 1.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 0 Avg Function Parameters: 0.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 1 Avg Interface Complex. : 1.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 - ________________________________________________________________________ - End of File: ..\include\qmpool.h - - - File: ..\include\qp_port.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 4 eLOC 4 lLOC 0 Comment 38 Lines 44 - ________________________________________________________________________ - End of File: ..\include\qp_port.h - - - File: ..\include\qpcpp.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 40 eLOC 39 lLOC 1 Comment 89 Lines 144 - ________________________________________________________________________ - End of File: ..\include\qpcpp.h - - - File: ..\include\qpset.h - ________________________________________________________________________ - - Inline Function: QP::QF_LOG2 - Parameters: (uint32_t const x) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 25 eLOC 18 lLOC 11 Comment 8 Lines 26 - - Inline Function: QP::QPSet::setEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QPSet::isEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QPSet::notEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QPSet::hasElement - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5 - - Inline Function: QP::QPSet::insert - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4 - - Inline Function: QP::QPSet::remove - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4 - - Inline Function: QP::QPSet::findMax - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QPSet::setEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Inline Function: QP::QPSet::isEmpty - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Inlined if-else ( ? : ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5 - - Inline Function: QP::QPSet::notEmpty - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Inlined if-else ( ? : ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5 - - Inline Function: QP::QPSet::hasElement - Parameters: (uint_fast8_t const n) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Inlined if-else ( ? : ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9 - - Inline Function: QP::QPSet::insert - Parameters: (uint_fast8_t const n) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10 - - Inline Function: QP::QPSet::remove - Parameters: (uint_fast8_t const n) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10 - - Inline Function: QP::QPSet::findMax - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Inlined if-else ( ? : ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 120 eLOC 92 lLOC 33 Comment 88 Lines 234 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 15 - Total Function LOC.....: 98 Total Function Pts LOC : 0.0 - Total Function eLOC....: 73 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 28 Total Function Pts lLOC: 0.0 - Total Function Params .: 7 Total Function Return .: 15 - Total Cyclo Complexity : 24 Total Function Complex.: 46 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 25 Average Function LOC ..: 6.53 - Max Function eLOC .....: 18 Average Function eLOC .: 4.87 - Max Function lLOC .....: 11 Average Function lLOC .: 1.87 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 1 Avg Function Parameters: 0.47 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 2 Avg Interface Complex. : 1.47 - Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 1.60 - Max Total Complexity ..: 6 Avg Total Complexity ..: 3.07 - ________________________________________________________________________ - End of File: ..\include\qpset.h - - - File: ..\include\qs.h - ________________________________________________________________________ - - Inline Function: QP::QS::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QS::rxPut - Parameters: (uint8_t const b) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14 - - Inline Function: QP::QS::force_cast - Parameters: (T_IN in) - Template: template - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7 - - - NOTICE: The end of the source file has been reached where the - open brace count { 31 != 29 } close brace count - This is an indication of non-compilable code within the source - file. RSM processes all source code including code wrapped - with preprocessor directives. Accurate metrics requires that - all code present in this file must be compilable. - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 517 eLOC 500 lLOC 123 Comment 601 Lines 1124 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 3 - Total Function LOC.....: 24 Total Function Pts LOC : 0.0 - Total Function eLOC....: 17 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 9 Total Function Pts lLOC: 0.0 - Total Function Params .: 2 Total Function Return .: 3 - Total Cyclo Complexity : 6 Total Function Complex.: 11 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 14 Average Function LOC ..: 8.00 - Max Function eLOC .....: 9 Average Function eLOC .: 5.67 - Max Function lLOC .....: 4 Average Function lLOC .: 3.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 1 Avg Function Parameters: 0.67 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 2 Avg Interface Complex. : 1.67 - Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.00 - Max Total Complexity ..: 6 Avg Total Complexity ..: 3.67 - ________________________________________________________________________ - End of File: ..\include\qs.h - - - File: ..\include\qs_dummy.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 72 eLOC 72 lLOC 0 Comment 41 Lines 123 - ________________________________________________________________________ - End of File: ..\include\qs_dummy.h - - - File: ..\include\qv.h - ________________________________________________________________________ - - Inline Function: QP::QV::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 36 eLOC 32 lLOC 4 Comment 80 Lines 126 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 1 - Total Function LOC.....: 3 Total Function Pts LOC : 0.0 - Total Function eLOC....: 2 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 1 Total Function Pts lLOC: 0.0 - Total Function Params .: 0 Total Function Return .: 1 - Total Cyclo Complexity : 1 Total Function Complex.: 2 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 3 Average Function LOC ..: 3.00 - Max Function eLOC .....: 2 Average Function eLOC .: 2.00 - Max Function lLOC .....: 1 Average Function lLOC .: 1.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 0 Avg Function Parameters: 0.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 1 Avg Interface Complex. : 1.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 - ________________________________________________________________________ - End of File: ..\include\qv.h - - - File: ..\include\qxk.h - ________________________________________________________________________ - - Inline Function: QP::QXK::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 90 eLOC 83 lLOC 32 Comment 131 Lines 240 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 1 - Total Function LOC.....: 3 Total Function Pts LOC : 0.0 - Total Function eLOC....: 2 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 1 Total Function Pts lLOC: 0.0 - Total Function Params .: 0 Total Function Return .: 1 - Total Cyclo Complexity : 1 Total Function Complex.: 2 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 3 Average Function LOC ..: 3.00 - Max Function eLOC .....: 2 Average Function eLOC .: 2.00 - Max Function lLOC .....: 1 Average Function lLOC .: 1.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 0 Avg Function Parameters: 0.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 1 Avg Interface Complex. : 1.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 - ________________________________________________________________________ - End of File: ..\include\qxk.h - - - File: ..\include\qxthread.h - ________________________________________________________________________ - - Inline Function: QP::QXThread::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 - - Inline Function: QP::QXThread::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const stkSize - ) - Complexity Param 5 Return 1 Cyclo Vg 1 Total 7 - LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 56 eLOC 51 lLOC 27 Comment 83 Lines 161 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 2 - Total Function LOC.....: 5 Total Function Pts LOC : 0.0 - Total Function eLOC....: 3 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 2 Total Function Pts lLOC: 0.0 - Total Function Params .: 5 Total Function Return .: 2 - Total Cyclo Complexity : 2 Total Function Complex.: 9 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 4 Average Function LOC ..: 2.50 - Max Function eLOC .....: 2 Average Function eLOC .: 1.50 - Max Function lLOC .....: 1 Average Function lLOC .: 1.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 5 Avg Function Parameters: 2.50 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 6 Avg Interface Complex. : 3.50 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 7 Avg Total Complexity ..: 4.50 - ________________________________________________________________________ - End of File: ..\include\qxthread.h - - - File: ..\src\qf_pkg.h - ________________________________________________________________________ - - Inline Function: QP::QF_EVT_POOL_ID_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Inline Function: QP::QF_EVT_REF_CTR_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Inline Function: QP::QF_EVT_REF_CTR_INC_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Inline Function: QP::QF_EVT_REF_CTR_DEC_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 71 eLOC 67 lLOC 11 Comment 109 Lines 205 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 4 - Total Function LOC.....: 8 Total Function Pts LOC : 0.0 - Total Function eLOC....: 6 Total Function Pts eLOC: 0.0 - Total Function lLOC....: 4 Total Function Pts lLOC: 0.0 - Total Function Params .: 4 Total Function Return .: 4 - Total Cyclo Complexity : 4 Total Function Complex.: 12 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 3 Average Function LOC ..: 2.00 - Max Function eLOC .....: 2 Average Function eLOC .: 1.50 - Max Function lLOC .....: 1 Average Function lLOC .: 1.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 1 Avg Function Parameters: 1.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 2 Avg Interface Complex. : 2.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00 - ________________________________________________________________________ - End of File: ..\src\qf_pkg.h - - - File: ..\src\qs_pkg.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 28 eLOC 25 lLOC 10 Comment 59 Lines 98 - ________________________________________________________________________ - End of File: ..\src\qs_pkg.h - - - File: ..\src\qxk_pkg.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 16 eLOC 13 lLOC 3 Comment 45 Lines 67 - ________________________________________________________________________ - End of File: ..\src\qxk_pkg.h - - - File: ..\src\qf\qep_hsm.cpp - ________________________________________________________________________ - - Function: QP::QHsm::QHsm - Parameters: (QStateHandler const initial) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4 - - Function: QP::QHsm::~QHsm - Parameters: () - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2 - - Function: QP::QHsm::init - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 3 - Conditional if / else if: 1 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 - LOC 49 eLOC 46 lLOC 30 Comment 30 Lines 67 - - Function: QP::QHsm::top - Parameters: (void * const, QEvt const * const) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 3 eLOC 2 lLOC 1 Comment 15 Lines 3 - - Function: QP::QHsm::dispatch - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 4 - Loops for / foreach : 2 - Conditional if / else if: 5 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 13 Total 15 - LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147 - - Function: QP::QHsm::hsm_tran - Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_]) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 4 - Conditional if / else if: 10 - Complexity Param 1 Return 1 Cyclo Vg 15 Total 17 - LOC 99 eLOC 79 lLOC 48 Comment 61 Lines 140 - - Function: QP::QHsm::isIn - Parameters: (QStateHandler const s) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 23 - - Function: QP::QHsm::childState - Parameters: (QStateHandler const parent) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 19 eLOC 16 lLOC 12 Comment 27 Lines 25 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 348 eLOC 302 lLOC 169 Comment 289 Lines 611 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 8 - Total Function LOC.....: 299 Total Function Pts LOC : 6.6 - Total Function eLOC....: 256 Total Function Pts eLOC: 5.7 - Total Function lLOC....: 163 Total Function Pts lLOC: 3.2 - Total Function Params .: 8 Total Function Return .: 8 - Total Cyclo Complexity : 43 Total Function Complex.: 59 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 107 Average Function LOC ..: 37.38 - Max Function eLOC .....: 96 Average Function eLOC .: 32.00 - Max Function lLOC .....: 61 Average Function lLOC .: 20.38 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.00 - Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.38 - Max Total Complexity ..: 17 Avg Total Complexity ..: 7.38 - ________________________________________________________________________ - End of File: ..\src\qf\qep_hsm.cpp - - - File: ..\src\qf\qep_msm.cpp - ________________________________________________________________________ - - Function: QP::QMsm::QMsm - Parameters: (QStateHandler const initial) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 2 lLOC 2 Comment 13 Lines 4 - - Function: QP::QMsm::init - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33 - - Function: QP::QMsm::dispatch - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 2 - Conditional if / else if: 13 - Complexity Param 1 Return 1 Cyclo Vg 16 Total 18 - LOC 117 eLOC 100 lLOC 61 Comment 73 Lines 159 - - Function: QP::QMsm::execTatbl_ - Parameters: (QMTranActTable const * const tatbl) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 6 - Complexity Param 1 Return 1 Cyclo Vg 8 Total 10 - LOC 56 eLOC 46 lLOC 21 Comment 31 Lines 67 - - Function: QP::QMsm::exitToTranSource_ - Parameters: (QMState const *s, QMState const * const ts) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 2 - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24 - - Function: QP::QMsm::enterHistory_ - Parameters: (QMState const * const hist) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 2 - Conditional if / else if: 3 - Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 - LOC 40 eLOC 33 lLOC 21 Comment 22 Lines 48 - - Function: QP::QMsm::isInState - Parameters: (QMState const * const st) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14 - - Function: QP::QMsm::childStateObj - Parameters: (QMState const * const parent) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 19 eLOC 14 lLOC 9 Comment 17 Lines 23 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 312 eLOC 259 lLOC 139 Comment 262 Lines 544 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 8 - Total Function LOC.....: 288 Total Function Pts LOC : 5.9 - Total Function eLOC....: 237 Total Function Pts eLOC: 4.9 - Total Function lLOC....: 137 Total Function Pts lLOC: 2.6 - Total Function Params .: 9 Total Function Return .: 8 - Total Cyclo Complexity : 44 Total Function Complex.: 61 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 117 Average Function LOC ..: 36.00 - Max Function eLOC .....: 100 Average Function eLOC .: 29.63 - Max Function lLOC .....: 61 Average Function lLOC .: 17.13 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.13 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.13 - Max Cyclomatic Complex.: 16 Avg Cyclomatic Complex.: 5.50 - Max Total Complexity ..: 18 Avg Total Complexity ..: 7.63 - ________________________________________________________________________ - End of File: ..\src\qf\qep_msm.cpp - - - File: ..\src\qf\qf_act.cpp - ________________________________________________________________________ - - Function: QP::QF::add_ - Parameters: (QActive * const a) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 15 eLOC 14 lLOC 8 Comment 17 Lines 20 - - Function: QP::QF::remove_ - Parameters: (QActive * const a) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 16 eLOC 15 lLOC 9 Comment 18 Lines 21 - - Function: QP::QF::bzero - Parameters: (void * const start, uint_fast16_t len) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 147 eLOC 141 lLOC 23 Comment 105 Lines 254 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 3 - Total Function LOC.....: 39 Total Function Pts LOC : 2.8 - Total Function eLOC....: 35 Total Function Pts eLOC: 2.7 - Total Function lLOC....: 21 Total Function Pts lLOC: 0.4 - Total Function Params .: 4 Total Function Return .: 3 - Total Cyclo Complexity : 8 Total Function Complex.: 15 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 16 Average Function LOC ..: 13.00 - Max Function eLOC .....: 15 Average Function eLOC .: 11.67 - Max Function lLOC .....: 9 Average Function lLOC .: 7.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.33 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.33 - Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.67 - Max Total Complexity ..: 5 Avg Total Complexity ..: 5.00 - ________________________________________________________________________ - End of File: ..\src\qf\qf_act.cpp - - - File: ..\src\qf\qf_actq.cpp - ________________________________________________________________________ - - Function: QP::QActive::post_ - Parameters: (QEvt const * const e, uint_fast16_t const margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 5 - Logical or ( || ) : 1 - Logical and ( && ) : 1 - Complexity Param 2 Return 1 Cyclo Vg 8 Total 11 - LOC 59 eLOC 49 lLOC 34 Comment 71 Lines 81 - - Function: QP::QActive::postLIFO - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 4 - Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 - LOC 36 eLOC 30 lLOC 20 Comment 32 Lines 48 - - Function: QP::QActive::get_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 37 eLOC 33 lLOC 21 Comment 27 Lines 48 - - Function: QP::QF::getQueueMin - Parameters: (uint_fast8_t const prio) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 9 lLOC 5 Comment 17 Lines 13 - - Function: QP::QTicker::QTicker - Parameters: (uint_fast8_t const tickRate) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4 - - Function: QP::QTicker::init - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Function: QP::QTicker::dispatch - Parameters: (QEvt const * const) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11 - - Function: QP::QTicker::post_ - Parameters: (QEvt const * const , uint_fast16_t const /*margin*/) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38 - - Function: QP::QTicker::postLIFO - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 218 eLOC 187 lLOC 105 Comment 225 Lines 407 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 9 - Total Function LOC.....: 192 Total Function Pts LOC : 4.1 - Total Function eLOC....: 162 Total Function Pts eLOC: 3.5 - Total Function lLOC....: 105 Total Function Pts lLOC: 2.0 - Total Function Params .: 10 Total Function Return .: 9 - Total Cyclo Complexity : 25 Total Function Complex.: 44 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 59 Average Function LOC ..: 21.33 - Max Function eLOC .....: 49 Average Function eLOC .: 18.00 - Max Function lLOC .....: 34 Average Function lLOC .: 11.67 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.11 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.11 - Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.78 - Max Total Complexity ..: 11 Avg Total Complexity ..: 4.89 - ________________________________________________________________________ - End of File: ..\src\qf\qf_actq.cpp - - - File: ..\src\qf\qf_defer.cpp - ________________________________________________________________________ - - Function: QP::QActive::defer - Parameters: (QEQueue * const eq, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 3 eLOC 2 lLOC 1 Comment 22 Lines 3 - - Function: QP::QActive::recall - Parameters: (QEQueue * const eq) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 15 eLOC 12 lLOC 8 Comment 30 Lines 27 - - Function: QP::QActive::flushDeferred - Parameters: (QEQueue * const eq) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 11 eLOC 8 lLOC 5 Comment 15 Lines 11 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 36 eLOC 28 lLOC 14 Comment 109 Lines 145 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 3 - Total Function LOC.....: 29 Total Function Pts LOC : 0.7 - Total Function eLOC....: 22 Total Function Pts eLOC: 0.5 - Total Function lLOC....: 14 Total Function Pts lLOC: 0.3 - Total Function Params .: 4 Total Function Return .: 3 - Total Cyclo Complexity : 6 Total Function Complex.: 13 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 15 Average Function LOC ..: 9.67 - Max Function eLOC .....: 12 Average Function eLOC .: 7.33 - Max Function lLOC .....: 8 Average Function lLOC .: 4.67 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.33 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.33 - Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00 - Max Total Complexity ..: 5 Avg Total Complexity ..: 4.33 - ________________________________________________________________________ - End of File: ..\src\qf\qf_defer.cpp - - - File: ..\src\qf\qf_dyn.cpp - ________________________________________________________________________ - - Function: QP::QF::poolInit - Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa - st16_t const evtSize) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical or ( || ) : 1 - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 10 eLOC 8 lLOC 4 Comment 36 Lines 13 - - Function: QP::QF::newX_ - Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en - um_t const sig) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 2 - Inlined if-else ( ? : ) : 1 - Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 - LOC 30 eLOC 24 lLOC 14 Comment 35 Lines 42 - - Function: QP::QF::gc - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 47 - - Function: QP::QF::newRef_ - Parameters: (QEvt const * const e, QEvt const * const evtRef) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 10 eLOC 8 lLOC 5 Comment 15 Lines 14 - - Function: QP::QF::poolGetMaxBlockSize - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 104 eLOC 88 lLOC 40 Comment 177 Lines 281 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 5 - Total Function LOC.....: 86 Total Function Pts LOC : 2.0 - Total Function eLOC....: 71 Total Function Pts eLOC: 1.7 - Total Function lLOC....: 38 Total Function Pts lLOC: 0.8 - Total Function Params .: 9 Total Function Return .: 5 - Total Cyclo Complexity : 13 Total Function Complex.: 27 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 32 Average Function LOC ..: 17.20 - Max Function eLOC .....: 28 Average Function eLOC .: 14.20 - Max Function lLOC .....: 14 Average Function lLOC .: 7.60 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 1.80 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 2.80 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.60 - Max Total Complexity ..: 9 Avg Total Complexity ..: 5.40 - ________________________________________________________________________ - End of File: ..\src\qf\qf_dyn.cpp - - - File: ..\src\qf\qf_mem.cpp - ________________________________________________________________________ - - Function: QP::QMPool::QMPool - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1 - - Function: QP::QMPool::init - Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t - blockSize) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 2 - Logical and ( && ) : 2 - Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 - LOC 35 eLOC 31 lLOC 22 Comment 51 Lines 58 - - Function: QP::QMPool::put - Parameters: (void * const b) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 17 eLOC 16 lLOC 9 Comment 23 Lines 24 - - Function: QP::QMPool::get - Parameters: (uint_fast16_t const margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 41 eLOC 35 lLOC 22 Comment 46 Lines 61 - - Function: QP::QF::getPoolMin - Parameters: (uint_fast8_t const poolId) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 9 lLOC 5 Comment 13 Lines 14 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 126 eLOC 113 lLOC 58 Comment 187 Lines 309 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 5 - Total Function LOC.....: 104 Total Function Pts LOC : 2.4 - Total Function eLOC....: 92 Total Function Pts eLOC: 2.1 - Total Function lLOC....: 58 Total Function Pts lLOC: 1.1 - Total Function Params .: 6 Total Function Return .: 5 - Total Cyclo Complexity : 14 Total Function Complex.: 25 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 41 Average Function LOC ..: 20.80 - Max Function eLOC .....: 35 Average Function eLOC .: 18.40 - Max Function lLOC .....: 22 Average Function lLOC .: 11.60 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 1.20 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 2.20 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.80 - Max Total Complexity ..: 9 Avg Total Complexity ..: 5.00 - ________________________________________________________________________ - End of File: ..\src\qf\qf_mem.cpp - - - File: ..\src\qf\qf_ps.cpp - ________________________________________________________________________ - - Function: QP::QF::psInit - Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 7 eLOC 6 lLOC 3 Comment 30 Lines 11 - - Function: QP::QF::publish_ - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Loops for / foreach : 1 - Conditional if / else if: 4 - Logical and ( && ) : 10 - Complexity Param 1 Return 1 Cyclo Vg 17 Total 19 - LOC 95 eLOC 84 lLOC 44 Comment 111 Lines 191 - - - NOTICE: The end of the source file has been reached where the - open brace count { 14 != 13 } close brace count - This is an indication of non-compilable code within the source - file. RSM processes all source code including code wrapped - with preprocessor directives. Accurate metrics requires that - all code present in this file must be compilable. - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 116 eLOC 104 lLOC 49 Comment 189 Lines 306 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 2 - Total Function LOC.....: 102 Total Function Pts LOC : 2.2 - Total Function eLOC....: 90 Total Function Pts eLOC: 2.0 - Total Function lLOC....: 47 Total Function Pts lLOC: 0.9 - Total Function Params .: 3 Total Function Return .: 2 - Total Cyclo Complexity : 18 Total Function Complex.: 23 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 95 Average Function LOC ..: 51.00 - Max Function eLOC .....: 84 Average Function eLOC .: 45.00 - Max Function lLOC .....: 44 Average Function lLOC .: 23.50 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.50 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.50 - Max Cyclomatic Complex.: 17 Avg Cyclomatic Complex.: 9.00 - Max Total Complexity ..: 19 Avg Total Complexity ..: 11.50 - ________________________________________________________________________ - End of File: ..\src\qf\qf_ps.cpp - - - File: ..\src\qf\qf_qact.cpp - ________________________________________________________________________ - - Function: QP::QActive::QActive - Parameters: (QStateHandler const initial) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 16 eLOC 13 lLOC 3 Comment 40 Lines 59 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 1 - Total Function LOC.....: 9 Total Function Pts LOC : 0.3 - Total Function eLOC....: 7 Total Function Pts eLOC: 0.2 - Total Function lLOC....: 3 Total Function Pts lLOC: 0.1 - Total Function Params .: 1 Total Function Return .: 1 - Total Cyclo Complexity : 1 Total Function Complex.: 3 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 9 Average Function LOC ..: 9.00 - Max Function eLOC .....: 7 Average Function eLOC .: 7.00 - Max Function lLOC .....: 3 Average Function lLOC .: 3.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 1 Avg Function Parameters: 1.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 2 Avg Interface Complex. : 2.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00 - ________________________________________________________________________ - End of File: ..\src\qf\qf_qact.cpp - - - File: ..\src\qf\qf_qeq.cpp - ________________________________________________________________________ - - Function: QP::QEQueue::QEQueue - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1 - - Function: QP::QEQueue::init - Parameters: (QEvt const *qSto[], uint_fast16_t const qLen) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 17 eLOC 15 lLOC 9 Comment 19 Lines 18 - - Function: QP::QEQueue::post - Parameters: (QEvt const * const e, uint_fast16_t const margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 5 - Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 - LOC 52 eLOC 44 lLOC 29 Comment 52 Lines 73 - - Function: QP::QEQueue::postLIFO - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 4 - Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 - LOC 33 eLOC 28 lLOC 19 Comment 36 Lines 44 - - Function: QP::QEQueue::get - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 - LOC 39 eLOC 34 lLOC 21 Comment 31 Lines 48 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 162 eLOC 141 lLOC 78 Comment 187 Lines 320 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 5 - Total Function LOC.....: 142 Total Function Pts LOC : 3.1 - Total Function eLOC....: 122 Total Function Pts eLOC: 2.7 - Total Function lLOC....: 78 Total Function Pts lLOC: 1.5 - Total Function Params .: 5 Total Function Return .: 5 - Total Cyclo Complexity : 18 Total Function Complex.: 28 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 52 Average Function LOC ..: 28.40 - Max Function eLOC .....: 44 Average Function eLOC .: 24.40 - Max Function lLOC .....: 29 Average Function lLOC .: 15.60 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.00 - Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 3.60 - Max Total Complexity ..: 9 Avg Total Complexity ..: 5.60 - ________________________________________________________________________ - End of File: ..\src\qf\qf_qeq.cpp - - - File: ..\src\qf\qf_qmact.cpp - ________________________________________________________________________ - - Function: QP::QMActive::QMActive - Parameters: (QStateHandler const initial) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4 - - Function: QP::QMActive::init - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMActive::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMActive::dispatch - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMActive::isInState - Parameters: (QMState const * const st) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMActive::childStateObj - Parameters: (QMState const * const parent) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 29 eLOC 21 lLOC 7 Comment 53 Lines 86 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 6 - Total Function LOC.....: 19 Total Function Pts LOC : 0.5 - Total Function eLOC....: 12 Total Function Pts eLOC: 0.4 - Total Function lLOC....: 7 Total Function Pts lLOC: 0.1 - Total Function Params .: 5 Total Function Return .: 6 - Total Cyclo Complexity : 6 Total Function Complex.: 17 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 4 Average Function LOC ..: 3.17 - Max Function eLOC .....: 2 Average Function eLOC .: 2.00 - Max Function lLOC .....: 2 Average Function lLOC .: 1.17 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 1 Avg Function Parameters: 0.83 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 2 Avg Interface Complex. : 1.83 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 3 Avg Total Complexity ..: 2.83 - ________________________________________________________________________ - End of File: ..\src\qf\qf_qmact.cpp - - - File: ..\src\qf\qf_time.cpp - ________________________________________________________________________ - - Function: QP::QF::tickX_ - Parameters: (uint_fast8_t const tickRate) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 5 - Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 - LOC 66 eLOC 54 lLOC 36 Comment 52 Lines 95 - - Function: QP::QF::noTimeEvtsActiveX - Parameters: (uint_fast8_t const tickRate) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 14 eLOC 10 lLOC 6 Comment 12 Lines 16 - - Function: QP::QTimeEvt::QTimeEvt - Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const - tickRate) Defined By Compiler Directive - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22 - - Function: QP::QTimeEvt::QTimeEvt - Parameters: () Defined By Compiler Directive - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18 - - Function: QP::QTimeEvt::armX - Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 4 - Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 - LOC 28 eLOC 26 lLOC 16 Comment 48 Lines 50 - - Function: QP::QTimeEvt::disarm - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 30 eLOC 27 lLOC 17 Comment 27 Lines 38 - - Function: QP::QTimeEvt::rearm - Parameters: (QTimeEvtCtr const nTicks) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Logical and ( && ) : 3 - Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 - LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68 - - Function: QP::QTimeEvt::ctr - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 15 eLOC 14 lLOC 10 Comment 16 Lines 18 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 248 eLOC 214 lLOC 113 Comment 301 Lines 537 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 8 - Total Function LOC.....: 211 Total Function Pts LOC : 4.7 - Total Function eLOC....: 178 Total Function Pts eLOC: 4.0 - Total Function lLOC....: 112 Total Function Pts lLOC: 2.1 - Total Function Params .: 9 Total Function Return .: 8 - Total Cyclo Complexity : 29 Total Function Complex.: 46 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 66 Average Function LOC ..: 26.38 - Max Function eLOC .....: 54 Average Function eLOC .: 22.25 - Max Function lLOC .....: 36 Average Function lLOC .: 14.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 1.13 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 2.13 - Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.63 - Max Total Complexity ..: 9 Avg Total Complexity ..: 5.75 - ________________________________________________________________________ - End of File: ..\src\qf\qf_time.cpp - - - File: ..\src\qv\qv.cpp - ________________________________________________________________________ - - Function: QP::QF::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 - - Function: QP::QF::run - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 3 - Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 - LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73 - - Function: QP::QActive::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const, QEvt c - onst * const ie) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 2 - Complexity Param 6 Return 1 Cyclo Vg 3 Total 10 - LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16 - - Function: QP::QActive::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 101 eLOC 88 lLOC 40 Comment 163 Lines 259 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 4 - Total Function LOC.....: 67 Total Function Pts LOC : 1.9 - Total Function eLOC....: 57 Total Function Pts eLOC: 1.7 - Total Function lLOC....: 32 Total Function Pts lLOC: 0.8 - Total Function Params .: 6 Total Function Return .: 4 - Total Cyclo Complexity : 10 Total Function Complex.: 20 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 47 Average Function LOC ..: 16.75 - Max Function eLOC .....: 41 Average Function eLOC .: 14.25 - Max Function lLOC .....: 21 Average Function lLOC .: 8.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 6 Avg Function Parameters: 1.50 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 7 Avg Interface Complex. : 2.50 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.50 - Max Total Complexity ..: 10 Avg Total Complexity ..: 5.00 - ________________________________________________________________________ - End of File: ..\src\qv\qv.cpp - - - File: ..\src\qk\qk.cpp - ________________________________________________________________________ - - Function: QP::QF::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17 - - Function: QP::QF::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 - - Function: QP::initial_events - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 - - Function: QP::QF::run - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 14 - - Function: QP::QActive::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const, QEvt c - onst * const ie) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 3 - Complexity Param 6 Return 1 Cyclo Vg 5 Total 12 - LOC 17 eLOC 14 lLOC 9 Comment 29 Lines 26 - - Function: QP::QActive::stop - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 11 eLOC 9 lLOC 6 Comment 14 Lines 14 - - Function: QK_activate_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 5 - Complexity Param 0 Return 1 Cyclo Vg 7 Total 8 - LOC 62 eLOC 54 lLOC 28 Comment 48 Lines 89 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 164 eLOC 138 lLOC 70 Comment 217 Lines 365 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 7 - Total Function LOC.....: 125 Total Function Pts LOC : 3.1 - Total Function eLOC....: 106 Total Function Pts eLOC: 2.6 - Total Function lLOC....: 62 Total Function Pts lLOC: 1.3 - Total Function Params .: 6 Total Function Return .: 7 - Total Cyclo Complexity : 20 Total Function Complex.: 33 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 62 Average Function LOC ..: 17.86 - Max Function eLOC .....: 54 Average Function eLOC .: 15.14 - Max Function lLOC .....: 28 Average Function lLOC .: 8.86 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 6 Avg Function Parameters: 0.86 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 7 Avg Interface Complex. : 1.86 - Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 2.86 - Max Total Complexity ..: 12 Avg Total Complexity ..: 4.71 - ________________________________________________________________________ - End of File: ..\src\qk\qk.cpp - - - File: ..\src\qk\qk_mutex.cpp - ________________________________________________________________________ - - Function: QP::QMutex::init - Parameters: (uint_fast8_t const prio) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4 - - Function: QP::QMutex::lock - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 17 eLOC 15 lLOC 7 Comment 24 Lines 23 - - Function: QP::QMutex::unlock - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Inlined if-else ( ? : ) : 1 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 - LOC 23 eLOC 20 lLOC 9 Comment 25 Lines 31 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 62 eLOC 54 lLOC 19 Comment 114 Lines 174 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 3 - Total Function LOC.....: 44 Total Function Pts LOC : 1.2 - Total Function eLOC....: 38 Total Function Pts eLOC: 1.0 - Total Function lLOC....: 18 Total Function Pts lLOC: 0.4 - Total Function Params .: 1 Total Function Return .: 3 - Total Cyclo Complexity : 9 Total Function Complex.: 13 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 23 Average Function LOC ..: 14.67 - Max Function eLOC .....: 20 Average Function eLOC .: 12.67 - Max Function lLOC .....: 9 Average Function lLOC .: 6.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 1 Avg Function Parameters: 0.33 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 2 Avg Interface Complex. : 1.33 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.00 - Max Total Complexity ..: 6 Avg Total Complexity ..: 4.33 - ________________________________________________________________________ - End of File: ..\src\qk\qk_mutex.cpp - - - File: ..\src\qxk\qxk.cpp - ________________________________________________________________________ - - Inline Function: QP::QXKIdleThread::QXKIdleThread - Parameters: () - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1 - - Function: QP::QF::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 15 eLOC 14 lLOC 11 Comment 15 Lines 21 - - Function: QP::QF::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 - - Function: QP::initial_events - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 - - Function: QP::QF::run - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15 - - Function: QP::QActive::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const stkSize - , QEvt const * const ie) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 4 - Complexity Param 6 Return 1 Cyclo Vg 6 Total 13 - LOC 21 eLOC 18 lLOC 12 Comment 28 Lines 31 - - Function: QP::QActive::stop - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 12 eLOC 10 lLOC 6 Comment 14 Lines 15 - - Function: static_cast - Parameters: (0)) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 24 eLOC 19 lLOC 8 Comment 8 Lines 28 - - Function: QXK_activate_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 6 - Complexity Param 0 Return 1 Cyclo Vg 8 Total 9 - LOC 78 eLOC 68 lLOC 34 Comment 54 Lines 108 - - Function: QXK_current - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 8 eLOC 7 lLOC 5 Comment 1 Lines 10 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 236 eLOC 200 lLOC 101 Comment 230 Lines 449 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 10 - Total Function LOC.....: 180 Total Function Pts LOC : 4.5 - Total Function eLOC....: 153 Total Function Pts eLOC: 3.8 - Total Function lLOC....: 86 Total Function Pts lLOC: 1.9 - Total Function Params .: 7 Total Function Return .: 10 - Total Cyclo Complexity : 28 Total Function Complex.: 45 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 78 Average Function LOC ..: 18.00 - Max Function eLOC .....: 68 Average Function eLOC .: 15.30 - Max Function lLOC .....: 34 Average Function lLOC .: 8.60 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 6 Avg Function Parameters: 0.70 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 7 Avg Interface Complex. : 1.70 - Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.80 - Max Total Complexity ..: 13 Avg Total Complexity ..: 4.50 - ________________________________________________________________________ - End of File: ..\src\qxk\qxk.cpp - - - File: ..\src\qxk\qxk_mutex.cpp - ________________________________________________________________________ - - Function: QP::QXMutex::init - Parameters: (uint_fast8_t const prio) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4 - - Function: QP::QXMutex::lock - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Inlined if-else ( ? : ) : 1 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 - LOC 22 eLOC 20 lLOC 9 Comment 28 Lines 29 - - Function: QP::QXMutex::unlock - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Inlined if-else ( ? : ) : 1 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 - LOC 24 eLOC 21 lLOC 10 Comment 28 Lines 31 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 68 eLOC 60 lLOC 22 Comment 121 Lines 183 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 3 - Total Function LOC.....: 50 Total Function Pts LOC : 1.3 - Total Function eLOC....: 44 Total Function Pts eLOC: 1.1 - Total Function lLOC....: 21 Total Function Pts lLOC: 0.4 - Total Function Params .: 1 Total Function Return .: 3 - Total Cyclo Complexity : 10 Total Function Complex.: 14 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 24 Average Function LOC ..: 16.67 - Max Function eLOC .....: 21 Average Function eLOC .: 14.67 - Max Function lLOC .....: 10 Average Function lLOC .: 7.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 1 Avg Function Parameters: 0.33 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 2 Avg Interface Complex. : 1.33 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.33 - Max Total Complexity ..: 6 Avg Total Complexity ..: 4.67 - ________________________________________________________________________ - End of File: ..\src\qxk\qxk_mutex.cpp - - - File: ..\src\qxk\qxk_sema.cpp - ________________________________________________________________________ - - Function: QP::QXSemaphore::init - Parameters: (uint_fast16_t const count) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 14 Lines 4 - - Function: QP::QXSemaphore::wait - Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 2 - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 27 eLOC 23 lLOC 17 Comment 32 Lines 35 - - Function: QP::QXSemaphore::signal - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 - LOC 20 eLOC 16 lLOC 10 Comment 17 Lines 27 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 68 eLOC 58 lLOC 29 Comment 111 Lines 180 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 3 - Total Function LOC.....: 51 Total Function Pts LOC : 1.3 - Total Function eLOC....: 42 Total Function Pts eLOC: 1.1 - Total Function lLOC....: 29 Total Function Pts lLOC: 0.5 - Total Function Params .: 3 Total Function Return .: 3 - Total Cyclo Complexity : 9 Total Function Complex.: 15 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 27 Average Function LOC ..: 17.00 - Max Function eLOC .....: 23 Average Function eLOC .: 14.00 - Max Function lLOC .....: 17 Average Function lLOC .: 9.67 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.00 - Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00 - Max Total Complexity ..: 7 Avg Total Complexity ..: 5.00 - ________________________________________________________________________ - End of File: ..\src\qxk\qxk_sema.cpp - - - File: ..\src\qxk\qxk_xthr.cpp - ________________________________________________________________________ - - Function: QP::QXThread::QXThread - Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 3 eLOC 1 lLOC 1 Comment 17 Lines 3 - - Function: QP::QXThread::init - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 - - Function: QP::QXThread::dispatch - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Function: QP::QXThread::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const stkSize - , QEvt const * const) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 4 - Complexity Param 6 Return 1 Cyclo Vg 6 Total 13 - LOC 20 eLOC 17 lLOC 10 Comment 32 Lines 33 - - Function: QP::QXThread::post_ - Parameters: (QEvt const * const e, uint_fast16_t const margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 9 - Complexity Param 2 Return 1 Cyclo Vg 10 Total 13 - LOC 79 eLOC 64 lLOC 44 Comment 63 Lines 111 - - Function: QP::QXThread::postLIFO - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 9 Lines 3 - - Function: QP::QXThread::queueGet - Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 4 - Logical and ( && ) : 2 - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 60 eLOC 52 lLOC 34 Comment 49 Lines 82 - - Function: QP::QXThread::block_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6 - - Function: QP::QXThread::unblock_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9 - - Function: QP::QXThread::teArm_ - Parameters: (enum_t const sig, uint_fast16_t const nTicks, uint_fast8_t - const tickRate) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 3 Return 1 Cyclo Vg 3 Total 7 - LOC 16 eLOC 11 lLOC 7 Comment 21 Lines 32 - - Function: QP::QXThread::teDisarm_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14 - - Function: QP::QXThread::delay - Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 17 eLOC 15 lLOC 13 Comment 9 Lines 27 - - Function: QP::QXThread::delayCancel - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 290 eLOC 239 lLOC 136 Comment 294 Lines 589 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 13 - Total Function LOC.....: 242 Total Function Pts LOC : 5.5 - Total Function eLOC....: 194 Total Function Pts eLOC: 4.5 - Total Function lLOC....: 129 Total Function Pts lLOC: 2.6 - Total Function Params .: 20 Total Function Return .: 13 - Total Cyclo Complexity : 39 Total Function Complex.: 72 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 79 Average Function LOC ..: 18.62 - Max Function eLOC .....: 64 Average Function eLOC .: 14.92 - Max Function lLOC .....: 44 Average Function lLOC .: 9.92 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 6 Avg Function Parameters: 1.54 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 7 Avg Interface Complex. : 2.54 - Max Cyclomatic Complex.: 10 Avg Cyclomatic Complex.: 3.00 - Max Total Complexity ..: 13 Avg Total Complexity ..: 5.54 - ________________________________________________________________________ - End of File: ..\src\qxk\qxk_xthr.cpp - - - ------------------------------------------------------------------------ - - ~~ Project Analysis For 36 Files ~~ - - ------------------------------------------------------------------------ - - ~~ Total Project Summary ~~ - - LOC 4662 eLOC 4125 lLOC 1782 Comment 6158 Lines 11077 - Average per File, metric/36 files - LOC 129 eLOC 114 lLOC 49 Comment 171 Lines 307 - - ------------------------------------------------------------------------ - - ~~ Project Functional Metrics ~~ - - Function: QP::QEvt::QEvt - Parameters: (QSignal const s) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1 - - Function: QP::QEvt::QEvt - Parameters: (QSignal const s, StaticEvt) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1 - - Function: QP::QEvt::~QEvt - Parameters: () - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1 - - Function: QP::QHsm::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Function: QP::QHsm::state - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Function: QP::QHsm::Q_HANDLED - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 - - Function: QP::QHsm::Q_UNHANDLED - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3 - - Function: QP::QHsm::tran_ - Parameters: (QStateHandler const target) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QHsm::tran_hist_ - Parameters: (QStateHandler const hist) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QHsm::super_ - Parameters: (QStateHandler const superstate) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QHsm::qm_tran_ - Parameters: (QMTranActTable const * const tatbl) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 - - Function: QP::QHsm::qm_tran_hist_ - Parameters: (QMState const * const hist, QMTranActTable const * const ta - tbl) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5 - - Function: QP::QHsm::qm_tran_init_ - Parameters: (QMTranActTable const * const tatbl) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QHsm::qm_tran_ep_ - Parameters: (QMTranActTable const * const tatbl) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 - - Function: QP::QHsm::qm_tran_xp_ - Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5 - - Function: QP::QHsm::qm_entry_ - Parameters: (QMState const * const s) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QHsm::qm_exit_ - Parameters: (QMState const * const s) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QHsm::qm_super_sub_ - Parameters: (QMState const * const s) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 - - Function: QP::QHsm::QM_HANDLED - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Function: QP::QHsm::QM_UNHANDLED - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Function: QP::QHsm::QM_SUPER - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Function: QP::QMsm::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 - - Function: QP::QMsm::stateObj - Parameters: (void) Non-ANSI Parameter Construct - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QEP::getVersion - Parameters: (void) Non-ANSI Parameter Construct - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QEQueue::getNFree - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3 - - Function: QP::QEQueue::isEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3 - - Function: QP::QActive::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const stkSize - ) - Complexity Param 5 Return 1 Cyclo Vg 1 Total 7 - LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4 - - Function: QP::QActive::getPrio - Parameters: (void) Non-ANSI Parameter Construct - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QActive::setPrio - Parameters: (uint_fast8_t const prio) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QActive::getOsObject - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 - - Function: QP::QActive::getThread - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 - - Function: QP::QMActive::stateObj - Parameters: (void) Non-ANSI Parameter Construct - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QTimeEvt::QTimeEvt - Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By - Compiler Directive - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 7 eLOC 5 lLOC 3 Comment 5 Lines 8 - - Function: QP::QTimeEvt::postIn - Parameters: (QActive * const act, QTimeEvtCtr const nTicks) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QTimeEvt::postEvery - Parameters: (QActive * const act, QTimeEvtCtr const nTicks) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QTimeEvt::toActive - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Function: QP::QTimeEvt::toTimeEvt - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Function: QP::QF::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QTicker::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1 - - Function: QP::QK::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMPool::getBlockSize - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QF_LOG2 - Parameters: (uint32_t const x) - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 25 eLOC 18 lLOC 11 Comment 8 Lines 26 - - Function: QP::QPSet::setEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QPSet::isEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QPSet::notEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QPSet::hasElement - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5 - - Function: QP::QPSet::insert - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4 - - Function: QP::QPSet::remove - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4 - - Function: QP::QPSet::findMax - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QPSet::setEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 - - Function: QP::QPSet::isEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5 - - Function: QP::QPSet::notEmpty - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5 - - Function: QP::QPSet::hasElement - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9 - - Function: QP::QPSet::insert - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10 - - Function: QP::QPSet::remove - Parameters: (uint_fast8_t const n) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10 - - Function: QP::QPSet::findMax - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5 - - Function: QP::QS::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QS::rxPut - Parameters: (uint8_t const b) - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14 - - Function: QP::QS::force_cast - Parameters: (T_IN in) - Template: template - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7 - - Function: QP::QV::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QXK::getVersion - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QXThread::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 - - Function: QP::QXThread::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const stkSize - ) - Complexity Param 5 Return 1 Cyclo Vg 1 Total 7 - LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4 - - Function: QP::QF_EVT_POOL_ID_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Function: QP::QF_EVT_REF_CTR_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 - - Function: QP::QF_EVT_REF_CTR_INC_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QF_EVT_REF_CTR_DEC_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QHsm::QHsm - Parameters: (QStateHandler const initial) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4 - - Function: QP::QHsm::~QHsm - Parameters: () - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2 - - Function: QP::QHsm::init - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 - LOC 49 eLOC 46 lLOC 30 Comment 30 Lines 67 - - Function: QP::QHsm::top - Parameters: (void * const, QEvt const * const) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 3 eLOC 2 lLOC 1 Comment 15 Lines 3 - - Function: QP::QHsm::dispatch - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 13 Total 15 - LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147 - - Function: QP::QHsm::hsm_tran - Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_]) - Complexity Param 1 Return 1 Cyclo Vg 15 Total 17 - LOC 99 eLOC 79 lLOC 48 Comment 61 Lines 140 - - Function: QP::QHsm::isIn - Parameters: (QStateHandler const s) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 23 - - Function: QP::QHsm::childState - Parameters: (QStateHandler const parent) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 19 eLOC 16 lLOC 12 Comment 27 Lines 25 - - Function: QP::QMsm::QMsm - Parameters: (QStateHandler const initial) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 2 lLOC 2 Comment 13 Lines 4 - - Function: QP::QMsm::init - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33 - - Function: QP::QMsm::dispatch - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 16 Total 18 - LOC 117 eLOC 100 lLOC 61 Comment 73 Lines 159 - - Function: QP::QMsm::execTatbl_ - Parameters: (QMTranActTable const * const tatbl) - Complexity Param 1 Return 1 Cyclo Vg 8 Total 10 - LOC 56 eLOC 46 lLOC 21 Comment 31 Lines 67 - - Function: QP::QMsm::exitToTranSource_ - Parameters: (QMState const *s, QMState const * const ts) - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24 - - Function: QP::QMsm::enterHistory_ - Parameters: (QMState const * const hist) - Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 - LOC 40 eLOC 33 lLOC 21 Comment 22 Lines 48 - - Function: QP::QMsm::isInState - Parameters: (QMState const * const st) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14 - - Function: QP::QMsm::childStateObj - Parameters: (QMState const * const parent) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 19 eLOC 14 lLOC 9 Comment 17 Lines 23 - - Function: QP::QF::add_ - Parameters: (QActive * const a) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 15 eLOC 14 lLOC 8 Comment 17 Lines 20 - - Function: QP::QF::remove_ - Parameters: (QActive * const a) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 16 eLOC 15 lLOC 9 Comment 18 Lines 21 - - Function: QP::QF::bzero - Parameters: (void * const start, uint_fast16_t len) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8 - - Function: QP::QActive::post_ - Parameters: (QEvt const * const e, uint_fast16_t const margin) - Complexity Param 2 Return 1 Cyclo Vg 8 Total 11 - LOC 59 eLOC 49 lLOC 34 Comment 71 Lines 81 - - Function: QP::QActive::postLIFO - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 - LOC 36 eLOC 30 lLOC 20 Comment 32 Lines 48 - - Function: QP::QActive::get_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 37 eLOC 33 lLOC 21 Comment 27 Lines 48 - - Function: QP::QF::getQueueMin - Parameters: (uint_fast8_t const prio) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 9 lLOC 5 Comment 17 Lines 13 - - Function: QP::QTicker::QTicker - Parameters: (uint_fast8_t const tickRate) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4 - - Function: QP::QTicker::init - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Function: QP::QTicker::dispatch - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11 - - Function: QP::QTicker::post_ - Parameters: (QEvt const * const , uint_fast16_t const /*margin*/) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38 - - Function: QP::QTicker::postLIFO - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 - - Function: QP::QActive::defer - Parameters: (QEQueue * const eq, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 3 eLOC 2 lLOC 1 Comment 22 Lines 3 - - Function: QP::QActive::recall - Parameters: (QEQueue * const eq) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 15 eLOC 12 lLOC 8 Comment 30 Lines 27 - - Function: QP::QActive::flushDeferred - Parameters: (QEQueue * const eq) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 11 eLOC 8 lLOC 5 Comment 15 Lines 11 - - Function: QP::QF::poolInit - Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa - st16_t const evtSize) - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 10 eLOC 8 lLOC 4 Comment 36 Lines 13 - - Function: QP::QF::newX_ - Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en - um_t const sig) - Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 - LOC 30 eLOC 24 lLOC 14 Comment 35 Lines 42 - - Function: QP::QF::gc - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 47 - - Function: QP::QF::newRef_ - Parameters: (QEvt const * const e, QEvt const * const evtRef) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 10 eLOC 8 lLOC 5 Comment 15 Lines 14 - - Function: QP::QF::poolGetMaxBlockSize - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4 - - Function: QP::QMPool::QMPool - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1 - - Function: QP::QMPool::init - Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t - blockSize) - Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 - LOC 35 eLOC 31 lLOC 22 Comment 51 Lines 58 - - Function: QP::QMPool::put - Parameters: (void * const b) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 17 eLOC 16 lLOC 9 Comment 23 Lines 24 - - Function: QP::QMPool::get - Parameters: (uint_fast16_t const margin) - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 41 eLOC 35 lLOC 22 Comment 46 Lines 61 - - Function: QP::QF::getPoolMin - Parameters: (uint_fast8_t const poolId) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 9 lLOC 5 Comment 13 Lines 14 - - Function: QP::QF::psInit - Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 7 eLOC 6 lLOC 3 Comment 30 Lines 11 - - Function: QP::QF::publish_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 17 Total 19 - LOC 95 eLOC 84 lLOC 44 Comment 111 Lines 191 - - Function: QP::QActive::QActive - Parameters: (QStateHandler const initial) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11 - - Function: QP::QEQueue::QEQueue - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1 - - Function: QP::QEQueue::init - Parameters: (QEvt const *qSto[], uint_fast16_t const qLen) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 17 eLOC 15 lLOC 9 Comment 19 Lines 18 - - Function: QP::QEQueue::post - Parameters: (QEvt const * const e, uint_fast16_t const margin) - Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 - LOC 52 eLOC 44 lLOC 29 Comment 52 Lines 73 - - Function: QP::QEQueue::postLIFO - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 - LOC 33 eLOC 28 lLOC 19 Comment 36 Lines 44 - - Function: QP::QEQueue::get - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 - LOC 39 eLOC 34 lLOC 21 Comment 31 Lines 48 - - Function: QP::QMActive::QMActive - Parameters: (QStateHandler const initial) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4 - - Function: QP::QMActive::init - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMActive::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMActive::dispatch - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMActive::isInState - Parameters: (QMState const * const st) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QMActive::childStateObj - Parameters: (QMState const * const parent) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 - - Function: QP::QF::tickX_ - Parameters: (uint_fast8_t const tickRate) - Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 - LOC 66 eLOC 54 lLOC 36 Comment 52 Lines 95 - - Function: QP::QF::noTimeEvtsActiveX - Parameters: (uint_fast8_t const tickRate) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 14 eLOC 10 lLOC 6 Comment 12 Lines 16 - - Function: QP::QTimeEvt::QTimeEvt - Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const - tickRate) Defined By Compiler Directive - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22 - - Function: QP::QTimeEvt::QTimeEvt - Parameters: () Defined By Compiler Directive - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18 - - Function: QP::QTimeEvt::armX - Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval) - Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 - LOC 28 eLOC 26 lLOC 16 Comment 48 Lines 50 - - Function: QP::QTimeEvt::disarm - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 30 eLOC 27 lLOC 17 Comment 27 Lines 38 - - Function: QP::QTimeEvt::rearm - Parameters: (QTimeEvtCtr const nTicks) - Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 - LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68 - - Function: QP::QTimeEvt::ctr - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 15 eLOC 14 lLOC 10 Comment 16 Lines 18 - - Function: QP::QF::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 - - Function: QP::QF::run - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 - LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73 - - Function: QP::QActive::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const, QEvt c - onst * const ie) - Complexity Param 6 Return 1 Cyclo Vg 3 Total 10 - LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16 - - Function: QP::QActive::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8 - - Function: QP::QF::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17 - - Function: QP::QF::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 - - Function: QP::initial_events - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 - - Function: QP::QF::run - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 14 - - Function: QP::QActive::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const, QEvt c - onst * const ie) - Complexity Param 6 Return 1 Cyclo Vg 5 Total 12 - LOC 17 eLOC 14 lLOC 9 Comment 29 Lines 26 - - Function: QP::QActive::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 11 eLOC 9 lLOC 6 Comment 14 Lines 14 - - Function: QK_activate_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 7 Total 8 - LOC 62 eLOC 54 lLOC 28 Comment 48 Lines 89 - - Function: QP::QMutex::init - Parameters: (uint_fast8_t const prio) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4 - - Function: QP::QMutex::lock - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 17 eLOC 15 lLOC 7 Comment 24 Lines 23 - - Function: QP::QMutex::unlock - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 - LOC 23 eLOC 20 lLOC 9 Comment 25 Lines 31 - - Function: QP::QXKIdleThread::QXKIdleThread - Parameters: () - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1 - - Function: QP::QF::init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 15 eLOC 14 lLOC 11 Comment 15 Lines 21 - - Function: QP::QF::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 - - Function: QP::initial_events - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 - - Function: QP::QF::run - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15 - - Function: QP::QActive::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const stkSize - , QEvt const * const ie) - Complexity Param 6 Return 1 Cyclo Vg 6 Total 13 - LOC 21 eLOC 18 lLOC 12 Comment 28 Lines 31 - - Function: QP::QActive::stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 12 eLOC 10 lLOC 6 Comment 14 Lines 15 - - Function: static_cast - Parameters: (0)) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 24 eLOC 19 lLOC 8 Comment 8 Lines 28 - - Function: QXK_activate_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 8 Total 9 - LOC 78 eLOC 68 lLOC 34 Comment 54 Lines 108 - - Function: QXK_current - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 8 eLOC 7 lLOC 5 Comment 1 Lines 10 - - Function: QP::QXMutex::init - Parameters: (uint_fast8_t const prio) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4 - - Function: QP::QXMutex::lock - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 - LOC 22 eLOC 20 lLOC 9 Comment 28 Lines 29 - - Function: QP::QXMutex::unlock - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 - LOC 24 eLOC 21 lLOC 10 Comment 28 Lines 31 - - Function: QP::QXSemaphore::init - Parameters: (uint_fast16_t const count) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 4 eLOC 3 lLOC 2 Comment 14 Lines 4 - - Function: QP::QXSemaphore::wait - Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 27 eLOC 23 lLOC 17 Comment 32 Lines 35 - - Function: QP::QXSemaphore::signal - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 - LOC 20 eLOC 16 lLOC 10 Comment 17 Lines 27 - - Function: QP::QXThread::QXThread - Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 3 eLOC 1 lLOC 1 Comment 17 Lines 3 - - Function: QP::QXThread::init - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 - - Function: QP::QXThread::dispatch - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 - - Function: QP::QXThread::start - Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t - const qLen, void * const stkSto, uint_fast16_t const stkSize - , QEvt const * const) - Complexity Param 6 Return 1 Cyclo Vg 6 Total 13 - LOC 20 eLOC 17 lLOC 10 Comment 32 Lines 33 - - Function: QP::QXThread::post_ - Parameters: (QEvt const * const e, uint_fast16_t const margin) - Complexity Param 2 Return 1 Cyclo Vg 10 Total 13 - LOC 79 eLOC 64 lLOC 44 Comment 63 Lines 111 - - Function: QP::QXThread::postLIFO - Parameters: (QEvt const * const) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 3 eLOC 2 lLOC 1 Comment 9 Lines 3 - - Function: QP::QXThread::queueGet - Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 60 eLOC 52 lLOC 34 Comment 49 Lines 82 - - Function: QP::QXThread::block_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6 - - Function: QP::QXThread::unblock_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9 - - Function: QP::QXThread::teArm_ - Parameters: (enum_t const sig, uint_fast16_t const nTicks, uint_fast8_t - const tickRate) - Complexity Param 3 Return 1 Cyclo Vg 3 Total 7 - LOC 16 eLOC 11 lLOC 7 Comment 21 Lines 32 - - Function: QP::QXThread::teDisarm_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14 - - Function: QP::QXThread::delay - Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 17 eLOC 15 lLOC 13 Comment 9 Lines 27 - - Function: QP::QXThread::delayCancel - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16 - - Total: Functions - LOC 2543 eLOC 2109 lLOC 1260 InCmp 339 CycloCmp 429 - Function Points FP(LOC) 43.0 FP(eLOC) 36.2 FP(lLOC) 21.9 - - ------------------------------------------------------------------------ - - ~~ Project Functional Analysis ~~ - - Total Functions .......: 173 Total Physical Lines ..: 3451 - Total LOC .............: 2543 Total Function Pts LOC : 43.0 - Total eLOC ............: 2109 Total Function Pts eLOC: 36.2 - Total lLOC.............: 1260 Total Function Pts lLOC: 21.9 - Total Cyclomatic Comp. : 429 Total Interface Comp. .: 339 - Total Parameters ......: 166 Total Return Points ...: 173 - Total Comment Lines ...: 2473 Total Blank Lines .....: 460 - ------ ----- ----- ------ ------ ----- - Avg Physical Lines ....: 19.95 - Avg LOC ...............: 14.70 Avg eLOC ..............: 12.19 - Avg lLOC ..............: 7.28 Avg Cyclomatic Comp. ..: 2.48 - Avg Interface Comp. ...: 1.96 Avg Parameters ........: 0.96 - Avg Return Points .....: 1.00 Avg Comment Lines .....: 14.29 - ------ ----- ----- ------ ------ ----- - Max LOC ...............: 117 - Max eLOC ..............: 100 Max lLOC ..............: 61 - Max Cyclomatic Comp. ..: 17 Max Interface Comp. ...: 7 - Max Parameters ........: 6 Max Return Points .....: 1 - Max Comment Lines .....: 111 Max Total Lines .......: 191 - ------ ----- ----- ------ ------ ----- - Min LOC ...............: 1 - Min eLOC ..............: 1 Min lLOC ..............: 0 - Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1 - Min Parameters ........: 0 Min Return Points .....: 1 - Min Comment Lines .....: 0 Min Total Lines .......: 1 - - ------------------------------------------------------------------------ - - ~~ File Summary ~~ - - C Source Files *.c ....: 0 C/C++ Include Files *.h: 17 - C++ Source Files *.c* .: 19 C++ Include Files *.h* : 0 - C# Source Files *.cs ..: 0 Java Source File *.jav*: 0 - Other File Count ......: 0 Total File Count ......: 36 - ________________________________________________________________________ - -@endcode -*/ +/** @page metrics Code Metrics + +@code + Standard Code Metrics for QP/C++ 5.9.5 + + Resource Standard Metrics (TM) for C, C++, C# and Java + Version 7.75 - mSquaredTechnologies.com + + License Type: Windows Single User License + Licensed To : Quantum Leaps, LLC + License No. : WS2975 License Date: Dec 15, 2013 + Build Date : Sep 2 2009 Run Date: Jul 20, 2017 + (C)1996-2009 M Squared Technologies LLC + ________________________________________________________________________ + + ~~ Function Metrics ~~ + ~~ Complexity Detail Analysis ~~ + + File: ..\include\qassert.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 49 eLOC 48 lLOC 3 Comment 240 Lines 309 + ________________________________________________________________________ + End of File: ..\include\qassert.h + + + File: ..\include\qep.h + ________________________________________________________________________ + + Inline Function: QP::QEvt::QEvt + Parameters: (QSignal const s) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1 + + Inline Function: QP::QEvt::QEvt + Parameters: (QSignal const s, StaticEvt) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1 + + Inline Function: QP::QEvt::~QEvt + Parameters: () + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1 + + Inline Function: QP::QHsm::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Inline Function: QP::QHsm::state + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Inline Function: QP::QHsm::Q_HANDLED + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 + + Inline Function: QP::QHsm::Q_UNHANDLED + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3 + + Inline Function: QP::QHsm::tran_ + Parameters: (QStateHandler const target) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QHsm::tran_hist_ + Parameters: (QStateHandler const hist) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QHsm::super_ + Parameters: (QStateHandler const superstate) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QHsm::qm_tran_ + Parameters: (QMTranActTable const * const tatbl) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 + + Inline Function: QP::QHsm::qm_tran_hist_ + Parameters: (QMState const * const hist, QMTranActTable const * const ta + tbl) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5 + + Inline Function: QP::QHsm::qm_tran_init_ + Parameters: (QMTranActTable const * const tatbl) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QHsm::qm_tran_ep_ + Parameters: (QMTranActTable const * const tatbl) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 + + Inline Function: QP::QHsm::qm_tran_xp_ + Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5 + + Inline Function: QP::QHsm::qm_entry_ + Parameters: (QMState const * const s) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QHsm::qm_exit_ + Parameters: (QMState const * const s) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QHsm::qm_super_sub_ + Parameters: (QMState const * const s) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 + + Inline Function: QP::QHsm::QM_HANDLED + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Inline Function: QP::QHsm::QM_UNHANDLED + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Inline Function: QP::QHsm::QM_SUPER + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Inline Function: QP::QMsm::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 + + Inline Function: QP::QMsm::stateObj + Parameters: (void) Non-ANSI Parameter Construct + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QEP::getVersion + Parameters: (void) Non-ANSI Parameter Construct + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 259 eLOC 227 lLOC 129 Comment 317 Lines 664 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 24 + Total Function LOC.....: 75 Total Function Pts LOC : 0.0 + Total Function eLOC....: 54 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 34 Total Function Pts lLOC: 0.0 + Total Function Params .: 18 Total Function Return .: 24 + Total Cyclo Complexity : 24 Total Function Complex.: 66 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 5 Average Function LOC ..: 3.13 + Max Function eLOC .....: 3 Average Function eLOC .: 2.25 + Max Function lLOC .....: 3 Average Function lLOC .: 1.42 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 0.75 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 1.75 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 4 Avg Total Complexity ..: 2.75 + ________________________________________________________________________ + End of File: ..\include\qep.h + + + File: ..\include\qequeue.h + ________________________________________________________________________ + + Inline Function: QP::QEQueue::getNFree + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3 + + Inline Function: QP::QEQueue::isEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 46 eLOC 42 lLOC 24 Comment 184 Lines 257 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 2 + Total Function LOC.....: 6 Total Function Pts LOC : 0.0 + Total Function eLOC....: 4 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 2 Total Function Pts lLOC: 0.0 + Total Function Params .: 0 Total Function Return .: 2 + Total Cyclo Complexity : 2 Total Function Complex.: 4 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 3 Average Function LOC ..: 3.00 + Max Function eLOC .....: 2 Average Function eLOC .: 2.00 + Max Function lLOC .....: 1 Average Function lLOC .: 1.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 0 Avg Function Parameters: 0.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 1 Avg Interface Complex. : 1.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 + ________________________________________________________________________ + End of File: ..\include\qequeue.h + + + File: ..\include\qf.h + ________________________________________________________________________ + + Inline Function: QP::QActive::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const stkSize + ) + Complexity Param 5 Return 1 Cyclo Vg 1 Total 7 + LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4 + + Inline Function: QP::QActive::getPrio + Parameters: (void) Non-ANSI Parameter Construct + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QActive::setPrio + Parameters: (uint_fast8_t const prio) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QActive::getOsObject + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 + + Inline Function: QP::QActive::getThread + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 + + Inline Function: QP::QMActive::stateObj + Parameters: (void) Non-ANSI Parameter Construct + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QTimeEvt::QTimeEvt + Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By + Compiler Directive + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 7 eLOC 5 lLOC 3 Comment 5 Lines 8 + + Inline Function: QP::QTimeEvt::postIn + Parameters: (QActive * const act, QTimeEvtCtr const nTicks) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QTimeEvt::postEvery + Parameters: (QActive * const act, QTimeEvtCtr const nTicks) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QTimeEvt::toActive + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Inline Function: QP::QTimeEvt::toTimeEvt + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Inline Function: QP::QF::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QTicker::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 280 eLOC 264 lLOC 117 Comment 483 Lines 867 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 13 + Total Function LOC.....: 36 Total Function Pts LOC : 0.0 + Total Function eLOC....: 26 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 17 Total Function Pts lLOC: 0.0 + Total Function Params .: 13 Total Function Return .: 13 + Total Cyclo Complexity : 13 Total Function Complex.: 39 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 7 Average Function LOC ..: 2.77 + Max Function eLOC .....: 5 Average Function eLOC .: 2.00 + Max Function lLOC .....: 3 Average Function lLOC .: 1.31 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 5 Avg Function Parameters: 1.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 6 Avg Interface Complex. : 2.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 7 Avg Total Complexity ..: 3.00 + ________________________________________________________________________ + End of File: ..\include\qf.h + + + File: ..\include\qk.h + ________________________________________________________________________ + + Inline Function: QP::QK::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 79 eLOC 73 lLOC 27 Comment 102 Lines 196 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 1 + Total Function LOC.....: 3 Total Function Pts LOC : 0.0 + Total Function eLOC....: 2 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 1 Total Function Pts lLOC: 0.0 + Total Function Params .: 0 Total Function Return .: 1 + Total Cyclo Complexity : 1 Total Function Complex.: 2 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 3 Average Function LOC ..: 3.00 + Max Function eLOC .....: 2 Average Function eLOC .: 2.00 + Max Function lLOC .....: 1 Average Function lLOC .: 1.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 0 Avg Function Parameters: 0.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 1 Avg Interface Complex. : 1.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 + ________________________________________________________________________ + End of File: ..\include\qk.h + + + File: ..\include\qmpool.h + ________________________________________________________________________ + + Inline Function: QP::QMPool::getBlockSize + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 54 eLOC 51 lLOC 23 Comment 94 Lines 166 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 1 + Total Function LOC.....: 3 Total Function Pts LOC : 0.0 + Total Function eLOC....: 2 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 1 Total Function Pts lLOC: 0.0 + Total Function Params .: 0 Total Function Return .: 1 + Total Cyclo Complexity : 1 Total Function Complex.: 2 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 3 Average Function LOC ..: 3.00 + Max Function eLOC .....: 2 Average Function eLOC .: 2.00 + Max Function lLOC .....: 1 Average Function lLOC .: 1.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 0 Avg Function Parameters: 0.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 1 Avg Interface Complex. : 1.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 + ________________________________________________________________________ + End of File: ..\include\qmpool.h + + + File: ..\include\qp_port.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 4 eLOC 4 lLOC 0 Comment 38 Lines 44 + ________________________________________________________________________ + End of File: ..\include\qp_port.h + + + File: ..\include\qpcpp.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 40 eLOC 39 lLOC 1 Comment 89 Lines 144 + ________________________________________________________________________ + End of File: ..\include\qpcpp.h + + + File: ..\include\qpset.h + ________________________________________________________________________ + + Inline Function: QP::QF_LOG2 + Parameters: (uint32_t const x) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 25 eLOC 18 lLOC 11 Comment 8 Lines 26 + + Inline Function: QP::QPSet::setEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QPSet::isEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QPSet::notEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QPSet::hasElement + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5 + + Inline Function: QP::QPSet::insert + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4 + + Inline Function: QP::QPSet::remove + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4 + + Inline Function: QP::QPSet::findMax + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QPSet::setEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Inline Function: QP::QPSet::isEmpty + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Inlined if-else ( ? : ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5 + + Inline Function: QP::QPSet::notEmpty + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Inlined if-else ( ? : ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5 + + Inline Function: QP::QPSet::hasElement + Parameters: (uint_fast8_t const n) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Inlined if-else ( ? : ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9 + + Inline Function: QP::QPSet::insert + Parameters: (uint_fast8_t const n) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10 + + Inline Function: QP::QPSet::remove + Parameters: (uint_fast8_t const n) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10 + + Inline Function: QP::QPSet::findMax + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Inlined if-else ( ? : ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 120 eLOC 92 lLOC 33 Comment 88 Lines 234 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 15 + Total Function LOC.....: 98 Total Function Pts LOC : 0.0 + Total Function eLOC....: 73 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 28 Total Function Pts lLOC: 0.0 + Total Function Params .: 7 Total Function Return .: 15 + Total Cyclo Complexity : 24 Total Function Complex.: 46 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 25 Average Function LOC ..: 6.53 + Max Function eLOC .....: 18 Average Function eLOC .: 4.87 + Max Function lLOC .....: 11 Average Function lLOC .: 1.87 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 1 Avg Function Parameters: 0.47 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 2 Avg Interface Complex. : 1.47 + Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 1.60 + Max Total Complexity ..: 6 Avg Total Complexity ..: 3.07 + ________________________________________________________________________ + End of File: ..\include\qpset.h + + + File: ..\include\qs.h + ________________________________________________________________________ + + Inline Function: QP::QS::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QS::rxPut + Parameters: (uint8_t const b) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14 + + Inline Function: QP::QS::force_cast + Parameters: (T_IN in) + Template: template + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7 + + + NOTICE: The end of the source file has been reached where the + open brace count { 31 != 29 } close brace count + This is an indication of non-compilable code within the source + file. RSM processes all source code including code wrapped + with preprocessor directives. Accurate metrics requires that + all code present in this file must be compilable. + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 517 eLOC 500 lLOC 123 Comment 601 Lines 1124 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 3 + Total Function LOC.....: 24 Total Function Pts LOC : 0.0 + Total Function eLOC....: 17 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 9 Total Function Pts lLOC: 0.0 + Total Function Params .: 2 Total Function Return .: 3 + Total Cyclo Complexity : 6 Total Function Complex.: 11 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 14 Average Function LOC ..: 8.00 + Max Function eLOC .....: 9 Average Function eLOC .: 5.67 + Max Function lLOC .....: 4 Average Function lLOC .: 3.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 1 Avg Function Parameters: 0.67 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 2 Avg Interface Complex. : 1.67 + Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.00 + Max Total Complexity ..: 6 Avg Total Complexity ..: 3.67 + ________________________________________________________________________ + End of File: ..\include\qs.h + + + File: ..\include\qs_dummy.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 72 eLOC 72 lLOC 0 Comment 41 Lines 123 + ________________________________________________________________________ + End of File: ..\include\qs_dummy.h + + + File: ..\include\qv.h + ________________________________________________________________________ + + Inline Function: QP::QV::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 36 eLOC 32 lLOC 4 Comment 80 Lines 126 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 1 + Total Function LOC.....: 3 Total Function Pts LOC : 0.0 + Total Function eLOC....: 2 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 1 Total Function Pts lLOC: 0.0 + Total Function Params .: 0 Total Function Return .: 1 + Total Cyclo Complexity : 1 Total Function Complex.: 2 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 3 Average Function LOC ..: 3.00 + Max Function eLOC .....: 2 Average Function eLOC .: 2.00 + Max Function lLOC .....: 1 Average Function lLOC .: 1.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 0 Avg Function Parameters: 0.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 1 Avg Interface Complex. : 1.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 + ________________________________________________________________________ + End of File: ..\include\qv.h + + + File: ..\include\qxk.h + ________________________________________________________________________ + + Inline Function: QP::QXK::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 90 eLOC 83 lLOC 32 Comment 131 Lines 240 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 1 + Total Function LOC.....: 3 Total Function Pts LOC : 0.0 + Total Function eLOC....: 2 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 1 Total Function Pts lLOC: 0.0 + Total Function Params .: 0 Total Function Return .: 1 + Total Cyclo Complexity : 1 Total Function Complex.: 2 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 3 Average Function LOC ..: 3.00 + Max Function eLOC .....: 2 Average Function eLOC .: 2.00 + Max Function lLOC .....: 1 Average Function lLOC .: 1.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 0 Avg Function Parameters: 0.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 1 Avg Interface Complex. : 1.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00 + ________________________________________________________________________ + End of File: ..\include\qxk.h + + + File: ..\include\qxthread.h + ________________________________________________________________________ + + Inline Function: QP::QXThread::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 + + Inline Function: QP::QXThread::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const stkSize + ) + Complexity Param 5 Return 1 Cyclo Vg 1 Total 7 + LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 56 eLOC 51 lLOC 27 Comment 83 Lines 161 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 2 + Total Function LOC.....: 5 Total Function Pts LOC : 0.0 + Total Function eLOC....: 3 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 2 Total Function Pts lLOC: 0.0 + Total Function Params .: 5 Total Function Return .: 2 + Total Cyclo Complexity : 2 Total Function Complex.: 9 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 4 Average Function LOC ..: 2.50 + Max Function eLOC .....: 2 Average Function eLOC .: 1.50 + Max Function lLOC .....: 1 Average Function lLOC .: 1.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 5 Avg Function Parameters: 2.50 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 6 Avg Interface Complex. : 3.50 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 7 Avg Total Complexity ..: 4.50 + ________________________________________________________________________ + End of File: ..\include\qxthread.h + + + File: ..\src\qf_pkg.h + ________________________________________________________________________ + + Inline Function: QP::QF_EVT_POOL_ID_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Inline Function: QP::QF_EVT_REF_CTR_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Inline Function: QP::QF_EVT_REF_CTR_INC_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Inline Function: QP::QF_EVT_REF_CTR_DEC_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 71 eLOC 67 lLOC 11 Comment 109 Lines 205 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 4 + Total Function LOC.....: 8 Total Function Pts LOC : 0.0 + Total Function eLOC....: 6 Total Function Pts eLOC: 0.0 + Total Function lLOC....: 4 Total Function Pts lLOC: 0.0 + Total Function Params .: 4 Total Function Return .: 4 + Total Cyclo Complexity : 4 Total Function Complex.: 12 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 3 Average Function LOC ..: 2.00 + Max Function eLOC .....: 2 Average Function eLOC .: 1.50 + Max Function lLOC .....: 1 Average Function lLOC .: 1.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 1 Avg Function Parameters: 1.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 2 Avg Interface Complex. : 2.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00 + ________________________________________________________________________ + End of File: ..\src\qf_pkg.h + + + File: ..\src\qs_pkg.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 28 eLOC 25 lLOC 10 Comment 59 Lines 98 + ________________________________________________________________________ + End of File: ..\src\qs_pkg.h + + + File: ..\src\qxk_pkg.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 16 eLOC 13 lLOC 3 Comment 45 Lines 67 + ________________________________________________________________________ + End of File: ..\src\qxk_pkg.h + + + File: ..\src\qf\qep_hsm.cpp + ________________________________________________________________________ + + Function: QP::QHsm::QHsm + Parameters: (QStateHandler const initial) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4 + + Function: QP::QHsm::~QHsm + Parameters: () + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2 + + Function: QP::QHsm::init + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 3 + Conditional if / else if: 1 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 + LOC 49 eLOC 46 lLOC 30 Comment 30 Lines 67 + + Function: QP::QHsm::top + Parameters: (void * const, QEvt const * const) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 3 eLOC 2 lLOC 1 Comment 15 Lines 3 + + Function: QP::QHsm::dispatch + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 4 + Loops for / foreach : 2 + Conditional if / else if: 5 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 13 Total 15 + LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147 + + Function: QP::QHsm::hsm_tran + Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_]) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 4 + Conditional if / else if: 10 + Complexity Param 1 Return 1 Cyclo Vg 15 Total 17 + LOC 99 eLOC 79 lLOC 48 Comment 61 Lines 140 + + Function: QP::QHsm::isIn + Parameters: (QStateHandler const s) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 23 + + Function: QP::QHsm::childState + Parameters: (QStateHandler const parent) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 19 eLOC 16 lLOC 12 Comment 27 Lines 25 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 348 eLOC 302 lLOC 169 Comment 289 Lines 611 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 8 + Total Function LOC.....: 299 Total Function Pts LOC : 6.6 + Total Function eLOC....: 256 Total Function Pts eLOC: 5.7 + Total Function lLOC....: 163 Total Function Pts lLOC: 3.2 + Total Function Params .: 8 Total Function Return .: 8 + Total Cyclo Complexity : 43 Total Function Complex.: 59 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 107 Average Function LOC ..: 37.38 + Max Function eLOC .....: 96 Average Function eLOC .: 32.00 + Max Function lLOC .....: 61 Average Function lLOC .: 20.38 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.00 + Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.38 + Max Total Complexity ..: 17 Avg Total Complexity ..: 7.38 + ________________________________________________________________________ + End of File: ..\src\qf\qep_hsm.cpp + + + File: ..\src\qf\qep_msm.cpp + ________________________________________________________________________ + + Function: QP::QMsm::QMsm + Parameters: (QStateHandler const initial) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 2 lLOC 2 Comment 13 Lines 4 + + Function: QP::QMsm::init + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33 + + Function: QP::QMsm::dispatch + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 2 + Conditional if / else if: 13 + Complexity Param 1 Return 1 Cyclo Vg 16 Total 18 + LOC 117 eLOC 100 lLOC 61 Comment 73 Lines 159 + + Function: QP::QMsm::execTatbl_ + Parameters: (QMTranActTable const * const tatbl) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 6 + Complexity Param 1 Return 1 Cyclo Vg 8 Total 10 + LOC 56 eLOC 46 lLOC 21 Comment 31 Lines 67 + + Function: QP::QMsm::exitToTranSource_ + Parameters: (QMState const *s, QMState const * const ts) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 2 + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24 + + Function: QP::QMsm::enterHistory_ + Parameters: (QMState const * const hist) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 2 + Conditional if / else if: 3 + Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 + LOC 40 eLOC 33 lLOC 21 Comment 22 Lines 48 + + Function: QP::QMsm::isInState + Parameters: (QMState const * const st) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14 + + Function: QP::QMsm::childStateObj + Parameters: (QMState const * const parent) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 19 eLOC 14 lLOC 9 Comment 17 Lines 23 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 312 eLOC 259 lLOC 139 Comment 262 Lines 544 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 8 + Total Function LOC.....: 288 Total Function Pts LOC : 5.9 + Total Function eLOC....: 237 Total Function Pts eLOC: 4.9 + Total Function lLOC....: 137 Total Function Pts lLOC: 2.6 + Total Function Params .: 9 Total Function Return .: 8 + Total Cyclo Complexity : 44 Total Function Complex.: 61 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 117 Average Function LOC ..: 36.00 + Max Function eLOC .....: 100 Average Function eLOC .: 29.63 + Max Function lLOC .....: 61 Average Function lLOC .: 17.13 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.13 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.13 + Max Cyclomatic Complex.: 16 Avg Cyclomatic Complex.: 5.50 + Max Total Complexity ..: 18 Avg Total Complexity ..: 7.63 + ________________________________________________________________________ + End of File: ..\src\qf\qep_msm.cpp + + + File: ..\src\qf\qf_act.cpp + ________________________________________________________________________ + + Function: QP::QF::add_ + Parameters: (QActive * const a) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 15 eLOC 14 lLOC 8 Comment 17 Lines 20 + + Function: QP::QF::remove_ + Parameters: (QActive * const a) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 16 eLOC 15 lLOC 9 Comment 18 Lines 21 + + Function: QP::QF::bzero + Parameters: (void * const start, uint_fast16_t len) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 147 eLOC 141 lLOC 23 Comment 105 Lines 254 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 3 + Total Function LOC.....: 39 Total Function Pts LOC : 2.8 + Total Function eLOC....: 35 Total Function Pts eLOC: 2.7 + Total Function lLOC....: 21 Total Function Pts lLOC: 0.4 + Total Function Params .: 4 Total Function Return .: 3 + Total Cyclo Complexity : 8 Total Function Complex.: 15 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 16 Average Function LOC ..: 13.00 + Max Function eLOC .....: 15 Average Function eLOC .: 11.67 + Max Function lLOC .....: 9 Average Function lLOC .: 7.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.33 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.33 + Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.67 + Max Total Complexity ..: 5 Avg Total Complexity ..: 5.00 + ________________________________________________________________________ + End of File: ..\src\qf\qf_act.cpp + + + File: ..\src\qf\qf_actq.cpp + ________________________________________________________________________ + + Function: QP::QActive::post_ + Parameters: (QEvt const * const e, uint_fast16_t const margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 5 + Logical or ( || ) : 1 + Logical and ( && ) : 1 + Complexity Param 2 Return 1 Cyclo Vg 8 Total 11 + LOC 59 eLOC 49 lLOC 34 Comment 71 Lines 81 + + Function: QP::QActive::postLIFO + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 4 + Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 + LOC 36 eLOC 30 lLOC 20 Comment 32 Lines 48 + + Function: QP::QActive::get_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 37 eLOC 33 lLOC 21 Comment 27 Lines 48 + + Function: QP::QF::getQueueMin + Parameters: (uint_fast8_t const prio) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 9 lLOC 5 Comment 17 Lines 13 + + Function: QP::QTicker::QTicker + Parameters: (uint_fast8_t const tickRate) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4 + + Function: QP::QTicker::init + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Function: QP::QTicker::dispatch + Parameters: (QEvt const * const) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11 + + Function: QP::QTicker::post_ + Parameters: (QEvt const * const , uint_fast16_t const /*margin*/) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38 + + Function: QP::QTicker::postLIFO + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 218 eLOC 187 lLOC 105 Comment 225 Lines 407 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 9 + Total Function LOC.....: 192 Total Function Pts LOC : 4.1 + Total Function eLOC....: 162 Total Function Pts eLOC: 3.5 + Total Function lLOC....: 105 Total Function Pts lLOC: 2.0 + Total Function Params .: 10 Total Function Return .: 9 + Total Cyclo Complexity : 25 Total Function Complex.: 44 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 59 Average Function LOC ..: 21.33 + Max Function eLOC .....: 49 Average Function eLOC .: 18.00 + Max Function lLOC .....: 34 Average Function lLOC .: 11.67 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.11 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.11 + Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.78 + Max Total Complexity ..: 11 Avg Total Complexity ..: 4.89 + ________________________________________________________________________ + End of File: ..\src\qf\qf_actq.cpp + + + File: ..\src\qf\qf_defer.cpp + ________________________________________________________________________ + + Function: QP::QActive::defer + Parameters: (QEQueue * const eq, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 3 eLOC 2 lLOC 1 Comment 22 Lines 3 + + Function: QP::QActive::recall + Parameters: (QEQueue * const eq) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 15 eLOC 12 lLOC 8 Comment 30 Lines 27 + + Function: QP::QActive::flushDeferred + Parameters: (QEQueue * const eq) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 11 eLOC 8 lLOC 5 Comment 15 Lines 11 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 36 eLOC 28 lLOC 14 Comment 109 Lines 145 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 3 + Total Function LOC.....: 29 Total Function Pts LOC : 0.7 + Total Function eLOC....: 22 Total Function Pts eLOC: 0.5 + Total Function lLOC....: 14 Total Function Pts lLOC: 0.3 + Total Function Params .: 4 Total Function Return .: 3 + Total Cyclo Complexity : 6 Total Function Complex.: 13 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 15 Average Function LOC ..: 9.67 + Max Function eLOC .....: 12 Average Function eLOC .: 7.33 + Max Function lLOC .....: 8 Average Function lLOC .: 4.67 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.33 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.33 + Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00 + Max Total Complexity ..: 5 Avg Total Complexity ..: 4.33 + ________________________________________________________________________ + End of File: ..\src\qf\qf_defer.cpp + + + File: ..\src\qf\qf_dyn.cpp + ________________________________________________________________________ + + Function: QP::QF::poolInit + Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa + st16_t const evtSize) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical or ( || ) : 1 + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 10 eLOC 8 lLOC 4 Comment 36 Lines 13 + + Function: QP::QF::newX_ + Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en + um_t const sig) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 2 + Inlined if-else ( ? : ) : 1 + Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 + LOC 30 eLOC 24 lLOC 14 Comment 35 Lines 42 + + Function: QP::QF::gc + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 47 + + Function: QP::QF::newRef_ + Parameters: (QEvt const * const e, QEvt const * const evtRef) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 10 eLOC 8 lLOC 5 Comment 15 Lines 14 + + Function: QP::QF::poolGetMaxBlockSize + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 104 eLOC 88 lLOC 40 Comment 177 Lines 281 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 5 + Total Function LOC.....: 86 Total Function Pts LOC : 2.0 + Total Function eLOC....: 71 Total Function Pts eLOC: 1.7 + Total Function lLOC....: 38 Total Function Pts lLOC: 0.8 + Total Function Params .: 9 Total Function Return .: 5 + Total Cyclo Complexity : 13 Total Function Complex.: 27 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 32 Average Function LOC ..: 17.20 + Max Function eLOC .....: 28 Average Function eLOC .: 14.20 + Max Function lLOC .....: 14 Average Function lLOC .: 7.60 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 1.80 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 2.80 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.60 + Max Total Complexity ..: 9 Avg Total Complexity ..: 5.40 + ________________________________________________________________________ + End of File: ..\src\qf\qf_dyn.cpp + + + File: ..\src\qf\qf_mem.cpp + ________________________________________________________________________ + + Function: QP::QMPool::QMPool + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1 + + Function: QP::QMPool::init + Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t + blockSize) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 2 + Logical and ( && ) : 2 + Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 + LOC 35 eLOC 31 lLOC 22 Comment 51 Lines 58 + + Function: QP::QMPool::put + Parameters: (void * const b) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 17 eLOC 16 lLOC 9 Comment 23 Lines 24 + + Function: QP::QMPool::get + Parameters: (uint_fast16_t const margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 41 eLOC 35 lLOC 22 Comment 46 Lines 61 + + Function: QP::QF::getPoolMin + Parameters: (uint_fast8_t const poolId) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 9 lLOC 5 Comment 13 Lines 14 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 126 eLOC 113 lLOC 58 Comment 187 Lines 309 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 5 + Total Function LOC.....: 104 Total Function Pts LOC : 2.4 + Total Function eLOC....: 92 Total Function Pts eLOC: 2.1 + Total Function lLOC....: 58 Total Function Pts lLOC: 1.1 + Total Function Params .: 6 Total Function Return .: 5 + Total Cyclo Complexity : 14 Total Function Complex.: 25 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 41 Average Function LOC ..: 20.80 + Max Function eLOC .....: 35 Average Function eLOC .: 18.40 + Max Function lLOC .....: 22 Average Function lLOC .: 11.60 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 1.20 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 2.20 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.80 + Max Total Complexity ..: 9 Avg Total Complexity ..: 5.00 + ________________________________________________________________________ + End of File: ..\src\qf\qf_mem.cpp + + + File: ..\src\qf\qf_ps.cpp + ________________________________________________________________________ + + Function: QP::QF::psInit + Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 7 eLOC 6 lLOC 3 Comment 30 Lines 11 + + Function: QP::QF::publish_ + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Loops for / foreach : 1 + Conditional if / else if: 4 + Logical and ( && ) : 10 + Complexity Param 1 Return 1 Cyclo Vg 17 Total 19 + LOC 95 eLOC 84 lLOC 44 Comment 111 Lines 191 + + + NOTICE: The end of the source file has been reached where the + open brace count { 14 != 13 } close brace count + This is an indication of non-compilable code within the source + file. RSM processes all source code including code wrapped + with preprocessor directives. Accurate metrics requires that + all code present in this file must be compilable. + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 116 eLOC 104 lLOC 49 Comment 189 Lines 306 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 2 + Total Function LOC.....: 102 Total Function Pts LOC : 2.2 + Total Function eLOC....: 90 Total Function Pts eLOC: 2.0 + Total Function lLOC....: 47 Total Function Pts lLOC: 0.9 + Total Function Params .: 3 Total Function Return .: 2 + Total Cyclo Complexity : 18 Total Function Complex.: 23 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 95 Average Function LOC ..: 51.00 + Max Function eLOC .....: 84 Average Function eLOC .: 45.00 + Max Function lLOC .....: 44 Average Function lLOC .: 23.50 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.50 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.50 + Max Cyclomatic Complex.: 17 Avg Cyclomatic Complex.: 9.00 + Max Total Complexity ..: 19 Avg Total Complexity ..: 11.50 + ________________________________________________________________________ + End of File: ..\src\qf\qf_ps.cpp + + + File: ..\src\qf\qf_qact.cpp + ________________________________________________________________________ + + Function: QP::QActive::QActive + Parameters: (QStateHandler const initial) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 16 eLOC 13 lLOC 3 Comment 40 Lines 59 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 1 + Total Function LOC.....: 9 Total Function Pts LOC : 0.3 + Total Function eLOC....: 7 Total Function Pts eLOC: 0.2 + Total Function lLOC....: 3 Total Function Pts lLOC: 0.1 + Total Function Params .: 1 Total Function Return .: 1 + Total Cyclo Complexity : 1 Total Function Complex.: 3 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 9 Average Function LOC ..: 9.00 + Max Function eLOC .....: 7 Average Function eLOC .: 7.00 + Max Function lLOC .....: 3 Average Function lLOC .: 3.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 1 Avg Function Parameters: 1.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 2 Avg Interface Complex. : 2.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00 + ________________________________________________________________________ + End of File: ..\src\qf\qf_qact.cpp + + + File: ..\src\qf\qf_qeq.cpp + ________________________________________________________________________ + + Function: QP::QEQueue::QEQueue + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1 + + Function: QP::QEQueue::init + Parameters: (QEvt const *qSto[], uint_fast16_t const qLen) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 17 eLOC 15 lLOC 9 Comment 19 Lines 18 + + Function: QP::QEQueue::post + Parameters: (QEvt const * const e, uint_fast16_t const margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 5 + Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 + LOC 52 eLOC 44 lLOC 29 Comment 52 Lines 73 + + Function: QP::QEQueue::postLIFO + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 4 + Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 + LOC 33 eLOC 28 lLOC 19 Comment 36 Lines 44 + + Function: QP::QEQueue::get + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 + LOC 39 eLOC 34 lLOC 21 Comment 31 Lines 48 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 162 eLOC 141 lLOC 78 Comment 187 Lines 320 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 5 + Total Function LOC.....: 142 Total Function Pts LOC : 3.1 + Total Function eLOC....: 122 Total Function Pts eLOC: 2.7 + Total Function lLOC....: 78 Total Function Pts lLOC: 1.5 + Total Function Params .: 5 Total Function Return .: 5 + Total Cyclo Complexity : 18 Total Function Complex.: 28 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 52 Average Function LOC ..: 28.40 + Max Function eLOC .....: 44 Average Function eLOC .: 24.40 + Max Function lLOC .....: 29 Average Function lLOC .: 15.60 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.00 + Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 3.60 + Max Total Complexity ..: 9 Avg Total Complexity ..: 5.60 + ________________________________________________________________________ + End of File: ..\src\qf\qf_qeq.cpp + + + File: ..\src\qf\qf_qmact.cpp + ________________________________________________________________________ + + Function: QP::QMActive::QMActive + Parameters: (QStateHandler const initial) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4 + + Function: QP::QMActive::init + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMActive::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMActive::dispatch + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMActive::isInState + Parameters: (QMState const * const st) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMActive::childStateObj + Parameters: (QMState const * const parent) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 29 eLOC 21 lLOC 7 Comment 53 Lines 86 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 6 + Total Function LOC.....: 19 Total Function Pts LOC : 0.5 + Total Function eLOC....: 12 Total Function Pts eLOC: 0.4 + Total Function lLOC....: 7 Total Function Pts lLOC: 0.1 + Total Function Params .: 5 Total Function Return .: 6 + Total Cyclo Complexity : 6 Total Function Complex.: 17 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 4 Average Function LOC ..: 3.17 + Max Function eLOC .....: 2 Average Function eLOC .: 2.00 + Max Function lLOC .....: 2 Average Function lLOC .: 1.17 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 1 Avg Function Parameters: 0.83 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 2 Avg Interface Complex. : 1.83 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 3 Avg Total Complexity ..: 2.83 + ________________________________________________________________________ + End of File: ..\src\qf\qf_qmact.cpp + + + File: ..\src\qf\qf_time.cpp + ________________________________________________________________________ + + Function: QP::QF::tickX_ + Parameters: (uint_fast8_t const tickRate) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 5 + Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 + LOC 66 eLOC 54 lLOC 36 Comment 52 Lines 95 + + Function: QP::QF::noTimeEvtsActiveX + Parameters: (uint_fast8_t const tickRate) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 14 eLOC 10 lLOC 6 Comment 12 Lines 16 + + Function: QP::QTimeEvt::QTimeEvt + Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const + tickRate) Defined By Compiler Directive + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22 + + Function: QP::QTimeEvt::QTimeEvt + Parameters: () Defined By Compiler Directive + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18 + + Function: QP::QTimeEvt::armX + Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 4 + Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 + LOC 28 eLOC 26 lLOC 16 Comment 48 Lines 50 + + Function: QP::QTimeEvt::disarm + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 30 eLOC 27 lLOC 17 Comment 27 Lines 38 + + Function: QP::QTimeEvt::rearm + Parameters: (QTimeEvtCtr const nTicks) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Logical and ( && ) : 3 + Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 + LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68 + + Function: QP::QTimeEvt::ctr + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 15 eLOC 14 lLOC 10 Comment 16 Lines 18 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 248 eLOC 214 lLOC 113 Comment 301 Lines 537 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 8 + Total Function LOC.....: 211 Total Function Pts LOC : 4.7 + Total Function eLOC....: 178 Total Function Pts eLOC: 4.0 + Total Function lLOC....: 112 Total Function Pts lLOC: 2.1 + Total Function Params .: 9 Total Function Return .: 8 + Total Cyclo Complexity : 29 Total Function Complex.: 46 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 66 Average Function LOC ..: 26.38 + Max Function eLOC .....: 54 Average Function eLOC .: 22.25 + Max Function lLOC .....: 36 Average Function lLOC .: 14.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 1.13 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 2.13 + Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.63 + Max Total Complexity ..: 9 Avg Total Complexity ..: 5.75 + ________________________________________________________________________ + End of File: ..\src\qf\qf_time.cpp + + + File: ..\src\qv\qv.cpp + ________________________________________________________________________ + + Function: QP::QF::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 + + Function: QP::QF::run + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 3 + Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 + LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73 + + Function: QP::QActive::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const, QEvt c + onst * const ie) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 2 + Complexity Param 6 Return 1 Cyclo Vg 3 Total 10 + LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16 + + Function: QP::QActive::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 101 eLOC 88 lLOC 40 Comment 163 Lines 259 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 4 + Total Function LOC.....: 67 Total Function Pts LOC : 1.9 + Total Function eLOC....: 57 Total Function Pts eLOC: 1.7 + Total Function lLOC....: 32 Total Function Pts lLOC: 0.8 + Total Function Params .: 6 Total Function Return .: 4 + Total Cyclo Complexity : 10 Total Function Complex.: 20 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 47 Average Function LOC ..: 16.75 + Max Function eLOC .....: 41 Average Function eLOC .: 14.25 + Max Function lLOC .....: 21 Average Function lLOC .: 8.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 6 Avg Function Parameters: 1.50 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 7 Avg Interface Complex. : 2.50 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.50 + Max Total Complexity ..: 10 Avg Total Complexity ..: 5.00 + ________________________________________________________________________ + End of File: ..\src\qv\qv.cpp + + + File: ..\src\qk\qk.cpp + ________________________________________________________________________ + + Function: QP::QF::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17 + + Function: QP::QF::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 + + Function: QP::initial_events + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 + + Function: QP::QF::run + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 14 + + Function: QP::QActive::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const, QEvt c + onst * const ie) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 3 + Complexity Param 6 Return 1 Cyclo Vg 5 Total 12 + LOC 17 eLOC 14 lLOC 9 Comment 29 Lines 26 + + Function: QP::QActive::stop + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 11 eLOC 9 lLOC 6 Comment 14 Lines 14 + + Function: QK_activate_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 5 + Complexity Param 0 Return 1 Cyclo Vg 7 Total 8 + LOC 62 eLOC 54 lLOC 28 Comment 48 Lines 89 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 164 eLOC 138 lLOC 70 Comment 217 Lines 365 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 7 + Total Function LOC.....: 125 Total Function Pts LOC : 3.1 + Total Function eLOC....: 106 Total Function Pts eLOC: 2.6 + Total Function lLOC....: 62 Total Function Pts lLOC: 1.3 + Total Function Params .: 6 Total Function Return .: 7 + Total Cyclo Complexity : 20 Total Function Complex.: 33 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 62 Average Function LOC ..: 17.86 + Max Function eLOC .....: 54 Average Function eLOC .: 15.14 + Max Function lLOC .....: 28 Average Function lLOC .: 8.86 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 6 Avg Function Parameters: 0.86 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 7 Avg Interface Complex. : 1.86 + Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 2.86 + Max Total Complexity ..: 12 Avg Total Complexity ..: 4.71 + ________________________________________________________________________ + End of File: ..\src\qk\qk.cpp + + + File: ..\src\qk\qk_mutex.cpp + ________________________________________________________________________ + + Function: QP::QMutex::init + Parameters: (uint_fast8_t const prio) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4 + + Function: QP::QMutex::lock + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 17 eLOC 15 lLOC 7 Comment 24 Lines 23 + + Function: QP::QMutex::unlock + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Inlined if-else ( ? : ) : 1 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 + LOC 23 eLOC 20 lLOC 9 Comment 25 Lines 31 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 62 eLOC 54 lLOC 19 Comment 114 Lines 174 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 3 + Total Function LOC.....: 44 Total Function Pts LOC : 1.2 + Total Function eLOC....: 38 Total Function Pts eLOC: 1.0 + Total Function lLOC....: 18 Total Function Pts lLOC: 0.4 + Total Function Params .: 1 Total Function Return .: 3 + Total Cyclo Complexity : 9 Total Function Complex.: 13 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 23 Average Function LOC ..: 14.67 + Max Function eLOC .....: 20 Average Function eLOC .: 12.67 + Max Function lLOC .....: 9 Average Function lLOC .: 6.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 1 Avg Function Parameters: 0.33 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 2 Avg Interface Complex. : 1.33 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.00 + Max Total Complexity ..: 6 Avg Total Complexity ..: 4.33 + ________________________________________________________________________ + End of File: ..\src\qk\qk_mutex.cpp + + + File: ..\src\qxk\qxk.cpp + ________________________________________________________________________ + + Inline Function: QP::QXKIdleThread::QXKIdleThread + Parameters: () + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1 + + Function: QP::QF::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 15 eLOC 14 lLOC 11 Comment 15 Lines 21 + + Function: QP::QF::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 + + Function: QP::initial_events + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 + + Function: QP::QF::run + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15 + + Function: QP::QActive::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const stkSize + , QEvt const * const ie) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 4 + Complexity Param 6 Return 1 Cyclo Vg 6 Total 13 + LOC 21 eLOC 18 lLOC 12 Comment 28 Lines 31 + + Function: QP::QActive::stop + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 12 eLOC 10 lLOC 6 Comment 14 Lines 15 + + Function: static_cast + Parameters: (0)) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 24 eLOC 19 lLOC 8 Comment 8 Lines 28 + + Function: QXK_activate_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 6 + Complexity Param 0 Return 1 Cyclo Vg 8 Total 9 + LOC 78 eLOC 68 lLOC 34 Comment 54 Lines 108 + + Function: QXK_current + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 9 eLOC 8 lLOC 6 Comment 2 Lines 13 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 237 eLOC 201 lLOC 102 Comment 231 Lines 452 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 10 + Total Function LOC.....: 181 Total Function Pts LOC : 4.5 + Total Function eLOC....: 154 Total Function Pts eLOC: 3.8 + Total Function lLOC....: 87 Total Function Pts lLOC: 1.9 + Total Function Params .: 7 Total Function Return .: 10 + Total Cyclo Complexity : 28 Total Function Complex.: 45 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 78 Average Function LOC ..: 18.10 + Max Function eLOC .....: 68 Average Function eLOC .: 15.40 + Max Function lLOC .....: 34 Average Function lLOC .: 8.70 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 6 Avg Function Parameters: 0.70 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 7 Avg Interface Complex. : 1.70 + Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.80 + Max Total Complexity ..: 13 Avg Total Complexity ..: 4.50 + ________________________________________________________________________ + End of File: ..\src\qxk\qxk.cpp + + + File: ..\src\qxk\qxk_mutex.cpp + ________________________________________________________________________ + + Function: QP::QXMutex::init + Parameters: (uint_fast8_t const prio) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4 + + Function: QP::QXMutex::lock + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Inlined if-else ( ? : ) : 1 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 + LOC 22 eLOC 20 lLOC 9 Comment 28 Lines 29 + + Function: QP::QXMutex::unlock + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Inlined if-else ( ? : ) : 1 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 + LOC 24 eLOC 21 lLOC 10 Comment 28 Lines 31 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 68 eLOC 60 lLOC 22 Comment 121 Lines 183 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 3 + Total Function LOC.....: 50 Total Function Pts LOC : 1.3 + Total Function eLOC....: 44 Total Function Pts eLOC: 1.1 + Total Function lLOC....: 21 Total Function Pts lLOC: 0.4 + Total Function Params .: 1 Total Function Return .: 3 + Total Cyclo Complexity : 10 Total Function Complex.: 14 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 24 Average Function LOC ..: 16.67 + Max Function eLOC .....: 21 Average Function eLOC .: 14.67 + Max Function lLOC .....: 10 Average Function lLOC .: 7.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 1 Avg Function Parameters: 0.33 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 2 Avg Interface Complex. : 1.33 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.33 + Max Total Complexity ..: 6 Avg Total Complexity ..: 4.67 + ________________________________________________________________________ + End of File: ..\src\qxk\qxk_mutex.cpp + + + File: ..\src\qxk\qxk_sema.cpp + ________________________________________________________________________ + + Function: QP::QXSemaphore::init + Parameters: (uint_fast16_t const count) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 14 Lines 4 + + Function: QP::QXSemaphore::wait + Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 2 + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 27 eLOC 23 lLOC 17 Comment 32 Lines 35 + + Function: QP::QXSemaphore::signal + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 + LOC 20 eLOC 16 lLOC 10 Comment 17 Lines 27 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 68 eLOC 58 lLOC 29 Comment 111 Lines 180 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 3 + Total Function LOC.....: 51 Total Function Pts LOC : 1.3 + Total Function eLOC....: 42 Total Function Pts eLOC: 1.1 + Total Function lLOC....: 29 Total Function Pts lLOC: 0.5 + Total Function Params .: 3 Total Function Return .: 3 + Total Cyclo Complexity : 9 Total Function Complex.: 15 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 27 Average Function LOC ..: 17.00 + Max Function eLOC .....: 23 Average Function eLOC .: 14.00 + Max Function lLOC .....: 17 Average Function lLOC .: 9.67 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.00 + Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00 + Max Total Complexity ..: 7 Avg Total Complexity ..: 5.00 + ________________________________________________________________________ + End of File: ..\src\qxk\qxk_sema.cpp + + + File: ..\src\qxk\qxk_xthr.cpp + ________________________________________________________________________ + + Function: QP::QXThread::QXThread + Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 3 eLOC 1 lLOC 1 Comment 17 Lines 3 + + Function: QP::QXThread::init + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 + + Function: QP::QXThread::dispatch + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Function: QP::QXThread::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const stkSize + , QEvt const * const) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 4 + Complexity Param 6 Return 1 Cyclo Vg 6 Total 13 + LOC 20 eLOC 17 lLOC 10 Comment 32 Lines 33 + + Function: QP::QXThread::post_ + Parameters: (QEvt const * const e, uint_fast16_t const margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 9 + Complexity Param 2 Return 1 Cyclo Vg 10 Total 13 + LOC 79 eLOC 64 lLOC 44 Comment 63 Lines 111 + + Function: QP::QXThread::postLIFO + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 9 Lines 3 + + Function: QP::QXThread::queueGet + Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 4 + Logical and ( && ) : 2 + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 60 eLOC 52 lLOC 34 Comment 49 Lines 82 + + Function: QP::QXThread::block_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6 + + Function: QP::QXThread::unblock_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9 + + Function: QP::QXThread::teArm_ + Parameters: (enum_t const sig, uint_fast16_t const nTicks, uint_fast8_t + const tickRate) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 3 Return 1 Cyclo Vg 3 Total 7 + LOC 16 eLOC 11 lLOC 7 Comment 21 Lines 32 + + Function: QP::QXThread::teDisarm_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14 + + Function: QP::QXThread::delay + Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 17 eLOC 15 lLOC 13 Comment 9 Lines 27 + + Function: QP::QXThread::delayCancel + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 290 eLOC 239 lLOC 136 Comment 294 Lines 589 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 13 + Total Function LOC.....: 242 Total Function Pts LOC : 5.5 + Total Function eLOC....: 194 Total Function Pts eLOC: 4.5 + Total Function lLOC....: 129 Total Function Pts lLOC: 2.6 + Total Function Params .: 20 Total Function Return .: 13 + Total Cyclo Complexity : 39 Total Function Complex.: 72 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 79 Average Function LOC ..: 18.62 + Max Function eLOC .....: 64 Average Function eLOC .: 14.92 + Max Function lLOC .....: 44 Average Function lLOC .: 9.92 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 6 Avg Function Parameters: 1.54 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 7 Avg Interface Complex. : 2.54 + Max Cyclomatic Complex.: 10 Avg Cyclomatic Complex.: 3.00 + Max Total Complexity ..: 13 Avg Total Complexity ..: 5.54 + ________________________________________________________________________ + End of File: ..\src\qxk\qxk_xthr.cpp + + + ------------------------------------------------------------------------ + + ~~ Project Analysis For 36 Files ~~ + + ------------------------------------------------------------------------ + + ~~ Total Project Summary ~~ + + LOC 4669 eLOC 4132 lLOC 1783 Comment 6159 Lines 11086 + Average per File, metric/36 files + LOC 129 eLOC 114 lLOC 49 Comment 171 Lines 307 + + ------------------------------------------------------------------------ + + ~~ Project Functional Metrics ~~ + + Function: QP::QEvt::QEvt + Parameters: (QSignal const s) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1 + + Function: QP::QEvt::QEvt + Parameters: (QSignal const s, StaticEvt) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1 + + Function: QP::QEvt::~QEvt + Parameters: () + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1 + + Function: QP::QHsm::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Function: QP::QHsm::state + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Function: QP::QHsm::Q_HANDLED + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 + + Function: QP::QHsm::Q_UNHANDLED + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3 + + Function: QP::QHsm::tran_ + Parameters: (QStateHandler const target) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QHsm::tran_hist_ + Parameters: (QStateHandler const hist) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QHsm::super_ + Parameters: (QStateHandler const superstate) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QHsm::qm_tran_ + Parameters: (QMTranActTable const * const tatbl) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 + + Function: QP::QHsm::qm_tran_hist_ + Parameters: (QMState const * const hist, QMTranActTable const * const ta + tbl) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5 + + Function: QP::QHsm::qm_tran_init_ + Parameters: (QMTranActTable const * const tatbl) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QHsm::qm_tran_ep_ + Parameters: (QMTranActTable const * const tatbl) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 + + Function: QP::QHsm::qm_tran_xp_ + Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5 + + Function: QP::QHsm::qm_entry_ + Parameters: (QMState const * const s) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QHsm::qm_exit_ + Parameters: (QMState const * const s) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QHsm::qm_super_sub_ + Parameters: (QMState const * const s) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4 + + Function: QP::QHsm::QM_HANDLED + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Function: QP::QHsm::QM_UNHANDLED + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Function: QP::QHsm::QM_SUPER + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Function: QP::QMsm::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 + + Function: QP::QMsm::stateObj + Parameters: (void) Non-ANSI Parameter Construct + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QEP::getVersion + Parameters: (void) Non-ANSI Parameter Construct + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QEQueue::getNFree + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3 + + Function: QP::QEQueue::isEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3 + + Function: QP::QActive::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const stkSize + ) + Complexity Param 5 Return 1 Cyclo Vg 1 Total 7 + LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4 + + Function: QP::QActive::getPrio + Parameters: (void) Non-ANSI Parameter Construct + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QActive::setPrio + Parameters: (uint_fast8_t const prio) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QActive::getOsObject + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 + + Function: QP::QActive::getThread + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 + + Function: QP::QMActive::stateObj + Parameters: (void) Non-ANSI Parameter Construct + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QTimeEvt::QTimeEvt + Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By + Compiler Directive + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 7 eLOC 5 lLOC 3 Comment 5 Lines 8 + + Function: QP::QTimeEvt::postIn + Parameters: (QActive * const act, QTimeEvtCtr const nTicks) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QTimeEvt::postEvery + Parameters: (QActive * const act, QTimeEvtCtr const nTicks) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QTimeEvt::toActive + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Function: QP::QTimeEvt::toTimeEvt + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Function: QP::QF::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QTicker::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1 + + Function: QP::QK::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMPool::getBlockSize + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QF_LOG2 + Parameters: (uint32_t const x) + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 25 eLOC 18 lLOC 11 Comment 8 Lines 26 + + Function: QP::QPSet::setEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QPSet::isEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QPSet::notEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QPSet::hasElement + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5 + + Function: QP::QPSet::insert + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4 + + Function: QP::QPSet::remove + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4 + + Function: QP::QPSet::findMax + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QPSet::setEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4 + + Function: QP::QPSet::isEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5 + + Function: QP::QPSet::notEmpty + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5 + + Function: QP::QPSet::hasElement + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9 + + Function: QP::QPSet::insert + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10 + + Function: QP::QPSet::remove + Parameters: (uint_fast8_t const n) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10 + + Function: QP::QPSet::findMax + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5 + + Function: QP::QS::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QS::rxPut + Parameters: (uint8_t const b) + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14 + + Function: QP::QS::force_cast + Parameters: (T_IN in) + Template: template + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7 + + Function: QP::QV::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QXK::getVersion + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QXThread::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1 + + Function: QP::QXThread::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const stkSize + ) + Complexity Param 5 Return 1 Cyclo Vg 1 Total 7 + LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4 + + Function: QP::QF_EVT_POOL_ID_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Function: QP::QF_EVT_REF_CTR_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1 + + Function: QP::QF_EVT_REF_CTR_INC_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QF_EVT_REF_CTR_DEC_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QHsm::QHsm + Parameters: (QStateHandler const initial) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4 + + Function: QP::QHsm::~QHsm + Parameters: () + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2 + + Function: QP::QHsm::init + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 + LOC 49 eLOC 46 lLOC 30 Comment 30 Lines 67 + + Function: QP::QHsm::top + Parameters: (void * const, QEvt const * const) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 3 eLOC 2 lLOC 1 Comment 15 Lines 3 + + Function: QP::QHsm::dispatch + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 13 Total 15 + LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147 + + Function: QP::QHsm::hsm_tran + Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_]) + Complexity Param 1 Return 1 Cyclo Vg 15 Total 17 + LOC 99 eLOC 79 lLOC 48 Comment 61 Lines 140 + + Function: QP::QHsm::isIn + Parameters: (QStateHandler const s) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 23 + + Function: QP::QHsm::childState + Parameters: (QStateHandler const parent) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 19 eLOC 16 lLOC 12 Comment 27 Lines 25 + + Function: QP::QMsm::QMsm + Parameters: (QStateHandler const initial) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 2 lLOC 2 Comment 13 Lines 4 + + Function: QP::QMsm::init + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33 + + Function: QP::QMsm::dispatch + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 16 Total 18 + LOC 117 eLOC 100 lLOC 61 Comment 73 Lines 159 + + Function: QP::QMsm::execTatbl_ + Parameters: (QMTranActTable const * const tatbl) + Complexity Param 1 Return 1 Cyclo Vg 8 Total 10 + LOC 56 eLOC 46 lLOC 21 Comment 31 Lines 67 + + Function: QP::QMsm::exitToTranSource_ + Parameters: (QMState const *s, QMState const * const ts) + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24 + + Function: QP::QMsm::enterHistory_ + Parameters: (QMState const * const hist) + Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 + LOC 40 eLOC 33 lLOC 21 Comment 22 Lines 48 + + Function: QP::QMsm::isInState + Parameters: (QMState const * const st) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14 + + Function: QP::QMsm::childStateObj + Parameters: (QMState const * const parent) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 19 eLOC 14 lLOC 9 Comment 17 Lines 23 + + Function: QP::QF::add_ + Parameters: (QActive * const a) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 15 eLOC 14 lLOC 8 Comment 17 Lines 20 + + Function: QP::QF::remove_ + Parameters: (QActive * const a) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 16 eLOC 15 lLOC 9 Comment 18 Lines 21 + + Function: QP::QF::bzero + Parameters: (void * const start, uint_fast16_t len) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8 + + Function: QP::QActive::post_ + Parameters: (QEvt const * const e, uint_fast16_t const margin) + Complexity Param 2 Return 1 Cyclo Vg 8 Total 11 + LOC 59 eLOC 49 lLOC 34 Comment 71 Lines 81 + + Function: QP::QActive::postLIFO + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 + LOC 36 eLOC 30 lLOC 20 Comment 32 Lines 48 + + Function: QP::QActive::get_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 37 eLOC 33 lLOC 21 Comment 27 Lines 48 + + Function: QP::QF::getQueueMin + Parameters: (uint_fast8_t const prio) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 9 lLOC 5 Comment 17 Lines 13 + + Function: QP::QTicker::QTicker + Parameters: (uint_fast8_t const tickRate) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4 + + Function: QP::QTicker::init + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Function: QP::QTicker::dispatch + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11 + + Function: QP::QTicker::post_ + Parameters: (QEvt const * const , uint_fast16_t const /*margin*/) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38 + + Function: QP::QTicker::postLIFO + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 + + Function: QP::QActive::defer + Parameters: (QEQueue * const eq, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 3 eLOC 2 lLOC 1 Comment 22 Lines 3 + + Function: QP::QActive::recall + Parameters: (QEQueue * const eq) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 15 eLOC 12 lLOC 8 Comment 30 Lines 27 + + Function: QP::QActive::flushDeferred + Parameters: (QEQueue * const eq) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 11 eLOC 8 lLOC 5 Comment 15 Lines 11 + + Function: QP::QF::poolInit + Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa + st16_t const evtSize) + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 10 eLOC 8 lLOC 4 Comment 36 Lines 13 + + Function: QP::QF::newX_ + Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en + um_t const sig) + Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 + LOC 30 eLOC 24 lLOC 14 Comment 35 Lines 42 + + Function: QP::QF::gc + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 47 + + Function: QP::QF::newRef_ + Parameters: (QEvt const * const e, QEvt const * const evtRef) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 10 eLOC 8 lLOC 5 Comment 15 Lines 14 + + Function: QP::QF::poolGetMaxBlockSize + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4 + + Function: QP::QMPool::QMPool + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1 + + Function: QP::QMPool::init + Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t + blockSize) + Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 + LOC 35 eLOC 31 lLOC 22 Comment 51 Lines 58 + + Function: QP::QMPool::put + Parameters: (void * const b) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 17 eLOC 16 lLOC 9 Comment 23 Lines 24 + + Function: QP::QMPool::get + Parameters: (uint_fast16_t const margin) + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 41 eLOC 35 lLOC 22 Comment 46 Lines 61 + + Function: QP::QF::getPoolMin + Parameters: (uint_fast8_t const poolId) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 9 lLOC 5 Comment 13 Lines 14 + + Function: QP::QF::psInit + Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 7 eLOC 6 lLOC 3 Comment 30 Lines 11 + + Function: QP::QF::publish_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 17 Total 19 + LOC 95 eLOC 84 lLOC 44 Comment 111 Lines 191 + + Function: QP::QActive::QActive + Parameters: (QStateHandler const initial) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11 + + Function: QP::QEQueue::QEQueue + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1 + + Function: QP::QEQueue::init + Parameters: (QEvt const *qSto[], uint_fast16_t const qLen) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 17 eLOC 15 lLOC 9 Comment 19 Lines 18 + + Function: QP::QEQueue::post + Parameters: (QEvt const * const e, uint_fast16_t const margin) + Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 + LOC 52 eLOC 44 lLOC 29 Comment 52 Lines 73 + + Function: QP::QEQueue::postLIFO + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 + LOC 33 eLOC 28 lLOC 19 Comment 36 Lines 44 + + Function: QP::QEQueue::get + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 + LOC 39 eLOC 34 lLOC 21 Comment 31 Lines 48 + + Function: QP::QMActive::QMActive + Parameters: (QStateHandler const initial) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4 + + Function: QP::QMActive::init + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMActive::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMActive::dispatch + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMActive::isInState + Parameters: (QMState const * const st) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QMActive::childStateObj + Parameters: (QMState const * const parent) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3 + + Function: QP::QF::tickX_ + Parameters: (uint_fast8_t const tickRate) + Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 + LOC 66 eLOC 54 lLOC 36 Comment 52 Lines 95 + + Function: QP::QF::noTimeEvtsActiveX + Parameters: (uint_fast8_t const tickRate) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 14 eLOC 10 lLOC 6 Comment 12 Lines 16 + + Function: QP::QTimeEvt::QTimeEvt + Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const + tickRate) Defined By Compiler Directive + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22 + + Function: QP::QTimeEvt::QTimeEvt + Parameters: () Defined By Compiler Directive + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18 + + Function: QP::QTimeEvt::armX + Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval) + Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 + LOC 28 eLOC 26 lLOC 16 Comment 48 Lines 50 + + Function: QP::QTimeEvt::disarm + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 30 eLOC 27 lLOC 17 Comment 27 Lines 38 + + Function: QP::QTimeEvt::rearm + Parameters: (QTimeEvtCtr const nTicks) + Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 + LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68 + + Function: QP::QTimeEvt::ctr + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 15 eLOC 14 lLOC 10 Comment 16 Lines 18 + + Function: QP::QF::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 + + Function: QP::QF::run + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 + LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73 + + Function: QP::QActive::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const, QEvt c + onst * const ie) + Complexity Param 6 Return 1 Cyclo Vg 3 Total 10 + LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16 + + Function: QP::QActive::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8 + + Function: QP::QF::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17 + + Function: QP::QF::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 + + Function: QP::initial_events + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 + + Function: QP::QF::run + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 14 + + Function: QP::QActive::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const, QEvt c + onst * const ie) + Complexity Param 6 Return 1 Cyclo Vg 5 Total 12 + LOC 17 eLOC 14 lLOC 9 Comment 29 Lines 26 + + Function: QP::QActive::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 11 eLOC 9 lLOC 6 Comment 14 Lines 14 + + Function: QK_activate_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 7 Total 8 + LOC 62 eLOC 54 lLOC 28 Comment 48 Lines 89 + + Function: QP::QMutex::init + Parameters: (uint_fast8_t const prio) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4 + + Function: QP::QMutex::lock + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 17 eLOC 15 lLOC 7 Comment 24 Lines 23 + + Function: QP::QMutex::unlock + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 + LOC 23 eLOC 20 lLOC 9 Comment 25 Lines 31 + + Function: QP::QXKIdleThread::QXKIdleThread + Parameters: () + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1 + + Function: QP::QF::init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 15 eLOC 14 lLOC 11 Comment 15 Lines 21 + + Function: QP::QF::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4 + + Function: QP::initial_events + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 + + Function: QP::QF::run + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15 + + Function: QP::QActive::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const stkSize + , QEvt const * const ie) + Complexity Param 6 Return 1 Cyclo Vg 6 Total 13 + LOC 21 eLOC 18 lLOC 12 Comment 28 Lines 31 + + Function: QP::QActive::stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 12 eLOC 10 lLOC 6 Comment 14 Lines 15 + + Function: static_cast + Parameters: (0)) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 24 eLOC 19 lLOC 8 Comment 8 Lines 28 + + Function: QXK_activate_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 8 Total 9 + LOC 78 eLOC 68 lLOC 34 Comment 54 Lines 108 + + Function: QXK_current + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 9 eLOC 8 lLOC 6 Comment 2 Lines 13 + + Function: QP::QXMutex::init + Parameters: (uint_fast8_t const prio) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4 + + Function: QP::QXMutex::lock + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 + LOC 22 eLOC 20 lLOC 9 Comment 28 Lines 29 + + Function: QP::QXMutex::unlock + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 + LOC 24 eLOC 21 lLOC 10 Comment 28 Lines 31 + + Function: QP::QXSemaphore::init + Parameters: (uint_fast16_t const count) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 4 eLOC 3 lLOC 2 Comment 14 Lines 4 + + Function: QP::QXSemaphore::wait + Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 27 eLOC 23 lLOC 17 Comment 32 Lines 35 + + Function: QP::QXSemaphore::signal + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 4 Total 5 + LOC 20 eLOC 16 lLOC 10 Comment 17 Lines 27 + + Function: QP::QXThread::QXThread + Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 3 eLOC 1 lLOC 1 Comment 17 Lines 3 + + Function: QP::QXThread::init + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3 + + Function: QP::QXThread::dispatch + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3 + + Function: QP::QXThread::start + Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t + const qLen, void * const stkSto, uint_fast16_t const stkSize + , QEvt const * const) + Complexity Param 6 Return 1 Cyclo Vg 6 Total 13 + LOC 20 eLOC 17 lLOC 10 Comment 32 Lines 33 + + Function: QP::QXThread::post_ + Parameters: (QEvt const * const e, uint_fast16_t const margin) + Complexity Param 2 Return 1 Cyclo Vg 10 Total 13 + LOC 79 eLOC 64 lLOC 44 Comment 63 Lines 111 + + Function: QP::QXThread::postLIFO + Parameters: (QEvt const * const) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 3 eLOC 2 lLOC 1 Comment 9 Lines 3 + + Function: QP::QXThread::queueGet + Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 60 eLOC 52 lLOC 34 Comment 49 Lines 82 + + Function: QP::QXThread::block_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6 + + Function: QP::QXThread::unblock_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9 + + Function: QP::QXThread::teArm_ + Parameters: (enum_t const sig, uint_fast16_t const nTicks, uint_fast8_t + const tickRate) + Complexity Param 3 Return 1 Cyclo Vg 3 Total 7 + LOC 16 eLOC 11 lLOC 7 Comment 21 Lines 32 + + Function: QP::QXThread::teDisarm_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14 + + Function: QP::QXThread::delay + Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 17 eLOC 15 lLOC 13 Comment 9 Lines 27 + + Function: QP::QXThread::delayCancel + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16 + + Total: Functions + LOC 2544 eLOC 2110 lLOC 1261 InCmp 339 CycloCmp 429 + Function Points FP(LOC) 43.0 FP(eLOC) 36.2 FP(lLOC) 21.9 + + ------------------------------------------------------------------------ + + ~~ Project Functional Analysis ~~ + + Total Functions .......: 173 Total Physical Lines ..: 3454 + Total LOC .............: 2544 Total Function Pts LOC : 43.0 + Total eLOC ............: 2110 Total Function Pts eLOC: 36.2 + Total lLOC.............: 1261 Total Function Pts lLOC: 21.9 + Total Cyclomatic Comp. : 429 Total Interface Comp. .: 339 + Total Parameters ......: 166 Total Return Points ...: 173 + Total Comment Lines ...: 2474 Total Blank Lines .....: 461 + ------ ----- ----- ------ ------ ----- + Avg Physical Lines ....: 19.97 + Avg LOC ...............: 14.71 Avg eLOC ..............: 12.20 + Avg lLOC ..............: 7.29 Avg Cyclomatic Comp. ..: 2.48 + Avg Interface Comp. ...: 1.96 Avg Parameters ........: 0.96 + Avg Return Points .....: 1.00 Avg Comment Lines .....: 14.30 + ------ ----- ----- ------ ------ ----- + Max LOC ...............: 117 + Max eLOC ..............: 100 Max lLOC ..............: 61 + Max Cyclomatic Comp. ..: 17 Max Interface Comp. ...: 7 + Max Parameters ........: 6 Max Return Points .....: 1 + Max Comment Lines .....: 111 Max Total Lines .......: 191 + ------ ----- ----- ------ ------ ----- + Min LOC ...............: 1 + Min eLOC ..............: 1 Min lLOC ..............: 0 + Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1 + Min Parameters ........: 0 Min Return Points .....: 1 + Min Comment Lines .....: 0 Min Total Lines .......: 1 + + ------------------------------------------------------------------------ + + ~~ File Summary ~~ + + C Source Files *.c ....: 0 C/C++ Include Files *.h: 17 + C++ Source Files *.c* .: 19 C++ Include Files *.h* : 0 + C# Source Files *.cs ..: 0 Java Source File *.jav*: 0 + Other File Count ......: 0 Total File Count ......: 36 + ________________________________________________________________________ + +@endcode +*/ diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.cpp b/examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.cpp index b4f41cb2..57296812 100644 --- a/examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.cpp +++ b/examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EFM32-SLSTK3401A board, preemptive QK kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "em_usart.h" // USART (SiLabs) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.cpp b/examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.cpp index 96629295..363d0a50 100644 --- a/examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.cpp +++ b/examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EFM32-SLSTK3401A board, cooperative QV kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "em_usart.h" // USART (SiLabs) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/bsp.cpp b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/bsp.cpp index a6b63cfb..0b44dbe6 100644 --- a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/bsp.cpp +++ b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EFM32-SLSTK3401A board, preemptive QXK kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "em_usart.h" // USART (SiLabs) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/win32-qv/bsp.cpp b/examples/arm-cm/dpp_efm32-slstk3401a/win32-qv/bsp.cpp index 76c640e9..05bb4859 100644 --- a/examples/arm-cm/dpp_efm32-slstk3401a/win32-qv/bsp.cpp +++ b/examples/arm-cm/dpp_efm32-slstk3401a/win32-qv/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example, Win32-GUI -// Last updated for version 5.6.5 -// Last updated on 2016-05-13 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -47,6 +47,8 @@ #include // for Windows network facilities #endif +Q_DEFINE_THIS_FILE + //**************************************************************************** // thread function for running the application main() static DWORD WINAPI appThread(LPVOID par) { @@ -57,8 +59,6 @@ static DWORD WINAPI appThread(LPVOID par) { //**************************************************************************** namespace DPP { -Q_DEFINE_THIS_FILE - // local variables ----------------------------------------------------------- static HINSTANCE l_hInst; // this application instance static HWND l_hWnd; // main window handle diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/win32/bsp.cpp b/examples/arm-cm/dpp_efm32-slstk3401a/win32/bsp.cpp index e7056309..676ebd7e 100644 --- a/examples/arm-cm/dpp_efm32-slstk3401a/win32/bsp.cpp +++ b/examples/arm-cm/dpp_efm32-slstk3401a/win32/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example, Win32-GUI -// Last updated for version 5.6.5 -// Last updated on 2016-05-13 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -47,6 +47,8 @@ #include // for Windows network facilities #endif +Q_DEFINE_THIS_FILE + //**************************************************************************** // thread function for running the application main() static DWORD WINAPI appThread(LPVOID par) { @@ -57,8 +59,6 @@ static DWORD WINAPI appThread(LPVOID par) { //**************************************************************************** namespace DPP { -Q_DEFINE_THIS_FILE - // local variables ----------------------------------------------------------- static HINSTANCE l_hInst; // this application instance static HWND l_hWnd; // main window handle diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.cpp b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.cpp index 4cfe72b6..152a24bc 100644 --- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.cpp +++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EK-TM4C123GXL board, preemptive QK kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "gpio.h" // GPIO driver (TI) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.cpp b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.cpp index e2b0879f..1a72f6dc 100644 --- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.cpp +++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EK-TM4C123GXL board, cooperative QV kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "gpio.h" // GPIO driver (TI) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/bsp.cpp b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/bsp.cpp index 02f93078..96a0c59f 100644 --- a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/bsp.cpp +++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EK-TM4C123GXL board, preemptive QXK kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "gpio.h" // GPIO driver (TI) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.cpp b/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.cpp index 5b550a14..1a128733 100644 --- a/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.cpp +++ b/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, NXP mbed-LPC1768 board, preemptive QK kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include "LPC17xx.h" // CMSIS-compliant header file for the MCU used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.cpp b/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.cpp index 726f4eb5..d54b3a85 100644 --- a/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.cpp +++ b/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, NXP mbed-LPC1768 board, coopearative QV kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include "LPC17xx.h" // CMSIS-compliant header file for the MCU used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.cpp b/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.cpp index 6794a3fa..5c58de5b 100644 --- a/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.cpp +++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32 NUCLEO-L053R8 board, preemptive QK kernel -// Last updated for version 5.9.0 -// Last updated on 2016-05-09 +// Last updated for version 5.9.5 +// Last updated on 2016-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include "stm32l0xx.h" // CMSIS-compliant header file for the MCU used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.cpp b/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.cpp index 3897b74e..e986f13c 100644 --- a/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.cpp +++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32 NUCLEO-L053R8 board, cooperative QV kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include "stm32l0xx.h" // CMSIS-compliant header file for the MCU used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.cpp b/examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.cpp index be6185cb..d51bdf24 100644 --- a/examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.cpp +++ b/examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32 NUCLEO-L053R8 board, preemptive QXK kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include "stm32l0xx.h" // CMSIS-compliant header file for the MCU used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.cpp b/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.cpp index 58fb0a98..aa0baf6f 100644 --- a/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.cpp +++ b/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32 NUCLEO-L152RE board, preemptive QK kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include "stm32l1xx.h" // CMSIS-compliant header file for the MCU used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.cpp b/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.cpp index 43f2e7cf..e623f7e1 100644 --- a/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.cpp +++ b/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32 NUCLEO-L152RE board, cooperative QV kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include "stm32l1xx.h" // CMSIS-compliant header file for the MCU used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qk/bsp.cpp b/examples/arm-cm/dpp_stm32f4-discovery/qk/bsp.cpp index d3bcf78e..65a13681 100644 --- a/examples/arm-cm/dpp_stm32f4-discovery/qk/bsp.cpp +++ b/examples/arm-cm/dpp_stm32f4-discovery/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32F4-Discovery board, preemptive QK kernel -// Last Updated for Version: 5.9.1 -// Date of the Last Update: 2017-06-02 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include "stm32f4xx_usart.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qv/bsp.cpp b/examples/arm-cm/dpp_stm32f4-discovery/qv/bsp.cpp index 57f0e71e..06190f0e 100644 --- a/examples/arm-cm/dpp_stm32f4-discovery/qv/bsp.cpp +++ b/examples/arm-cm/dpp_stm32f4-discovery/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32F4-Discovery board, cooperative QV kernel -// Last Updated for Version: 5.9.1 -// Date of the Last Update: 2017-06-02 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include "stm32f4xx_usart.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qxk/bsp.cpp b/examples/arm-cm/dpp_stm32f4-discovery/qxk/bsp.cpp index 2d1528bd..8bfa5a77 100644 --- a/examples/arm-cm/dpp_stm32f4-discovery/qxk/bsp.cpp +++ b/examples/arm-cm/dpp_stm32f4-discovery/qxk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32F4-Discovery board, dual-mode QXK kernel -// Last Updated for Version: 5.9.1 -// Date of the Last Update: 2017-06-02 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include "stm32f4xx_usart.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-dbg_STM32F746NGHx_1.0.0.dbgconf b/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-dbg_STM32F746NGHx_1.0.0.dbgconf deleted file mode 100644 index c9240198..00000000 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-dbg_STM32F746NGHx_1.0.0.dbgconf +++ /dev/null @@ -1,148 +0,0 @@ -// <<< Use Configuration Wizard in Context Menu >>> - -// Debug MCU Configuration -// DBG_SLEEP -// Debug Sleep Mode -// 0: (FCLK=On, HCLK=Off) FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled -// 1: (FCLK=On, HCLK=On) HCLK is fed by the same clock that is provided to FCLK -// DBG_STOP -// Debug Stop Mode -// 0: (FCLK=Off, HCLK=Off) Clock controller disables all clocks -// 1: (FCLK=On, HCLK=On) FCLK and HCLK are provided by the internal RC oscillator which remains active -// DBG_STANDBY -// Debug Standby Mode -// 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered. -// 1: (FCLK=On, HCLK=On) Digital part is powered and FCLK and HCLK are provided by the internal RC oscillator which remains active -// -DbgMCU_CR = 0x00000007; - -// Debug MCU APB1 Configuration -// DBG_TIM2_STOP -// TIM2 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM3_STOP -// TIM3 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM4_STOP -// TIM4 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM5_STOP -// TIM5 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM6_STOP -// TIM6 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM7_STOP -// TIM7 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM12_STOP -// TIM12 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM13_STOP -// TIM13 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM14_STOP -// TIM14 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_LPTIM1_STOP -// LPTMI1 counter stopped when core is halted -// 0: The clock of LPTIM1 counter is fed even if the core is halted -// 1: The clock of LPTIM1 counter is stopped when the core is halted -// DBG_RTC_STOP -// RTC stopped when Core is halted -// 0: The RTC counter clock continues even if the core is halted -// 1: The RTC counter clock is stopped when the core is halted -// DBG_WWDG_STOP -// Debug Window Watchdog stopped when Core is halted -// 0: The window watchdog counter clock continues even if the core is halted -// 1: The window watchdog counter clock is stopped when the core is halted -// DBG_IWDG_STOP -// Debug independent watchdog stopped when core is halted -// 0: The independent watchdog counter clock continues even if the core is halted -// 1: The independent watchdog counter clock is stopped when the core is halted -// DBG_I2C1_SMBUS_TIMEOUT -// I2C1 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C2_SMBUS_TIMEOUT -// I2C2 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C3_SMBUS_TIMEOUT -// I2C3 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C4_SMBUS_TIMEOUT -// I2C4 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_CAN1_STOP -// Debug CAN1 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN1 receive registers are frozen -// DBG_CAN2_STOP -// Debug CAN2 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN2 receive registers are frozen -// -DbgMCU_APB1_Fz = 0x00000000; - -// Debug MCU APB2 Configuration -// DBG_TIM1_STOP -// TIM1 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM8_STOP -// TIM8 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM9_STOP -// TIM9 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM10_STOP -// TIM10 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM11_STOP -// TIM11 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// -DbgMCU_APB2_Fz = 0x00000000; - -// TPIU Pin Routing (TRACECLK fixed on Pin PE2) -// TRACED0 -// ETM Trace Data 0 -// <0=> Pin PC1 -// <1=> Pin PE3 -// <2=> Pin PG13 -// TRACED1 -// ETM Trace Data 1 -// <0=> Pin PC8 -// <1=> Pin PE4 -// <2=> Pin PG14 -// TRACED2 -// ETM Trace Data 2 -// <0=> Pin PD2 -// <1=> Pin PE5 -// TRACED3 -// ETM Trace Data 3 -// <0=> Pin PC12 -// <1=> Pin PE6 -ETMTrace_D0 = 1; -ETMTrace_D1 = 1; -ETMTrace_D2 = 1; -ETMTrace_D3 = 1; -// - -// <<< end of configuration section >>> \ No newline at end of file diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-rel_STM32F746NGHx_1.0.0.dbgconf b/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-rel_STM32F746NGHx_1.0.0.dbgconf deleted file mode 100644 index c9240198..00000000 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-rel_STM32F746NGHx_1.0.0.dbgconf +++ /dev/null @@ -1,148 +0,0 @@ -// <<< Use Configuration Wizard in Context Menu >>> - -// Debug MCU Configuration -// DBG_SLEEP -// Debug Sleep Mode -// 0: (FCLK=On, HCLK=Off) FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled -// 1: (FCLK=On, HCLK=On) HCLK is fed by the same clock that is provided to FCLK -// DBG_STOP -// Debug Stop Mode -// 0: (FCLK=Off, HCLK=Off) Clock controller disables all clocks -// 1: (FCLK=On, HCLK=On) FCLK and HCLK are provided by the internal RC oscillator which remains active -// DBG_STANDBY -// Debug Standby Mode -// 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered. -// 1: (FCLK=On, HCLK=On) Digital part is powered and FCLK and HCLK are provided by the internal RC oscillator which remains active -// -DbgMCU_CR = 0x00000007; - -// Debug MCU APB1 Configuration -// DBG_TIM2_STOP -// TIM2 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM3_STOP -// TIM3 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM4_STOP -// TIM4 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM5_STOP -// TIM5 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM6_STOP -// TIM6 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM7_STOP -// TIM7 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM12_STOP -// TIM12 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM13_STOP -// TIM13 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM14_STOP -// TIM14 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_LPTIM1_STOP -// LPTMI1 counter stopped when core is halted -// 0: The clock of LPTIM1 counter is fed even if the core is halted -// 1: The clock of LPTIM1 counter is stopped when the core is halted -// DBG_RTC_STOP -// RTC stopped when Core is halted -// 0: The RTC counter clock continues even if the core is halted -// 1: The RTC counter clock is stopped when the core is halted -// DBG_WWDG_STOP -// Debug Window Watchdog stopped when Core is halted -// 0: The window watchdog counter clock continues even if the core is halted -// 1: The window watchdog counter clock is stopped when the core is halted -// DBG_IWDG_STOP -// Debug independent watchdog stopped when core is halted -// 0: The independent watchdog counter clock continues even if the core is halted -// 1: The independent watchdog counter clock is stopped when the core is halted -// DBG_I2C1_SMBUS_TIMEOUT -// I2C1 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C2_SMBUS_TIMEOUT -// I2C2 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C3_SMBUS_TIMEOUT -// I2C3 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C4_SMBUS_TIMEOUT -// I2C4 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_CAN1_STOP -// Debug CAN1 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN1 receive registers are frozen -// DBG_CAN2_STOP -// Debug CAN2 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN2 receive registers are frozen -// -DbgMCU_APB1_Fz = 0x00000000; - -// Debug MCU APB2 Configuration -// DBG_TIM1_STOP -// TIM1 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM8_STOP -// TIM8 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM9_STOP -// TIM9 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM10_STOP -// TIM10 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM11_STOP -// TIM11 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// -DbgMCU_APB2_Fz = 0x00000000; - -// TPIU Pin Routing (TRACECLK fixed on Pin PE2) -// TRACED0 -// ETM Trace Data 0 -// <0=> Pin PC1 -// <1=> Pin PE3 -// <2=> Pin PG13 -// TRACED1 -// ETM Trace Data 1 -// <0=> Pin PC8 -// <1=> Pin PE4 -// <2=> Pin PG14 -// TRACED2 -// ETM Trace Data 2 -// <0=> Pin PD2 -// <1=> Pin PE5 -// TRACED3 -// ETM Trace Data 3 -// <0=> Pin PC12 -// <1=> Pin PE6 -ETMTrace_D0 = 1; -ETMTrace_D1 = 1; -ETMTrace_D2 = 1; -ETMTrace_D3 = 1; -// - -// <<< end of configuration section >>> \ No newline at end of file diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-spy_STM32F746NGHx_1.0.0.dbgconf b/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-spy_STM32F746NGHx_1.0.0.dbgconf deleted file mode 100644 index c9240198..00000000 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/DebugConfig/dpp-spy_STM32F746NGHx_1.0.0.dbgconf +++ /dev/null @@ -1,148 +0,0 @@ -// <<< Use Configuration Wizard in Context Menu >>> - -// Debug MCU Configuration -// DBG_SLEEP -// Debug Sleep Mode -// 0: (FCLK=On, HCLK=Off) FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled -// 1: (FCLK=On, HCLK=On) HCLK is fed by the same clock that is provided to FCLK -// DBG_STOP -// Debug Stop Mode -// 0: (FCLK=Off, HCLK=Off) Clock controller disables all clocks -// 1: (FCLK=On, HCLK=On) FCLK and HCLK are provided by the internal RC oscillator which remains active -// DBG_STANDBY -// Debug Standby Mode -// 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered. -// 1: (FCLK=On, HCLK=On) Digital part is powered and FCLK and HCLK are provided by the internal RC oscillator which remains active -// -DbgMCU_CR = 0x00000007; - -// Debug MCU APB1 Configuration -// DBG_TIM2_STOP -// TIM2 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM3_STOP -// TIM3 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM4_STOP -// TIM4 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM5_STOP -// TIM5 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM6_STOP -// TIM6 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM7_STOP -// TIM7 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM12_STOP -// TIM12 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM13_STOP -// TIM13 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM14_STOP -// TIM14 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_LPTIM1_STOP -// LPTMI1 counter stopped when core is halted -// 0: The clock of LPTIM1 counter is fed even if the core is halted -// 1: The clock of LPTIM1 counter is stopped when the core is halted -// DBG_RTC_STOP -// RTC stopped when Core is halted -// 0: The RTC counter clock continues even if the core is halted -// 1: The RTC counter clock is stopped when the core is halted -// DBG_WWDG_STOP -// Debug Window Watchdog stopped when Core is halted -// 0: The window watchdog counter clock continues even if the core is halted -// 1: The window watchdog counter clock is stopped when the core is halted -// DBG_IWDG_STOP -// Debug independent watchdog stopped when core is halted -// 0: The independent watchdog counter clock continues even if the core is halted -// 1: The independent watchdog counter clock is stopped when the core is halted -// DBG_I2C1_SMBUS_TIMEOUT -// I2C1 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C2_SMBUS_TIMEOUT -// I2C2 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C3_SMBUS_TIMEOUT -// I2C3 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C4_SMBUS_TIMEOUT -// I2C4 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_CAN1_STOP -// Debug CAN1 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN1 receive registers are frozen -// DBG_CAN2_STOP -// Debug CAN2 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN2 receive registers are frozen -// -DbgMCU_APB1_Fz = 0x00000000; - -// Debug MCU APB2 Configuration -// DBG_TIM1_STOP -// TIM1 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM8_STOP -// TIM8 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM9_STOP -// TIM9 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM10_STOP -// TIM10 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM11_STOP -// TIM11 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// -DbgMCU_APB2_Fz = 0x00000000; - -// TPIU Pin Routing (TRACECLK fixed on Pin PE2) -// TRACED0 -// ETM Trace Data 0 -// <0=> Pin PC1 -// <1=> Pin PE3 -// <2=> Pin PG13 -// TRACED1 -// ETM Trace Data 1 -// <0=> Pin PC8 -// <1=> Pin PE4 -// <2=> Pin PG14 -// TRACED2 -// ETM Trace Data 2 -// <0=> Pin PD2 -// <1=> Pin PE5 -// TRACED3 -// ETM Trace Data 3 -// <0=> Pin PC12 -// <1=> Pin PE6 -ETMTrace_D0 = 1; -ETMTrace_D1 = 1; -ETMTrace_D2 = 1; -ETMTrace_D3 = 1; -// - -// <<< end of configuration section >>> \ No newline at end of file diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/dpp-qk.uvoptx b/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/dpp-qk.uvoptx index 467d1ef3..19ca26aa 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/dpp-qk.uvoptx +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/dpp-qk.uvoptx @@ -912,8 +912,8 @@ 0 0 0 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s - startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s + startup_stm32f746xx.s 0 0 diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/dpp-qk.uvprojx b/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/dpp-qk.uvprojx index bded425f..e50dddda 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/dpp-qk.uvprojx +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qk/arm/dpp-qk.uvprojx @@ -418,9 +418,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h @@ -1104,9 +1104,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h @@ -1790,9 +1790,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qk/bsp.cpp b/examples/arm-cm/dpp_stm32f746g-discovery/qk/bsp.cpp index 8a388118..7ba70010 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qk/bsp.cpp +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32746G-Discovery board, preemptive QK kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -40,11 +40,11 @@ #include "stm32746g_discovery.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qk/gnu/Makefile b/examples/arm-cm/dpp_stm32f746g-discovery/qk/gnu/Makefile index eab677e0..289a169d 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qk/gnu/Makefile +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qk/gnu/Makefile @@ -1,7 +1,7 @@ ############################################################################## # Product: Makefile for DPP on STM32F746G-Discovery, QK kernel, GNU-ARM -# Last Updated for Version: 5.8.2 -# Date of the Last Update: 2017-02-04 +# Last Updated for Version: 5.9.5 +# Date of the Last Update: 2017-07-19 # # Q u a n t u m L e a P s # --------------------------- @@ -96,7 +96,7 @@ ASM_SRCS := # C source files C_SRCS := \ - startup_stm32f4xx.c \ + startup_stm32f746xx.c \ system_stm32f7xx.c \ stm32746g_discovery.c \ stm32f7xx_hal.c \ diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qv/arm/dpp-qv.uvoptx b/examples/arm-cm/dpp_stm32f746g-discovery/qv/arm/dpp-qv.uvoptx index a717f3f6..22eaa90f 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qv/arm/dpp-qv.uvoptx +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qv/arm/dpp-qv.uvoptx @@ -963,8 +963,8 @@ 0 0 0 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s - startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s + startup_stm32f746xx.s 0 0 diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qv/arm/dpp-qv.uvprojx b/examples/arm-cm/dpp_stm32f746g-discovery/qv/arm/dpp-qv.uvprojx index 523cc548..5932aca8 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qv/arm/dpp-qv.uvprojx +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qv/arm/dpp-qv.uvprojx @@ -418,9 +418,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h @@ -1099,9 +1099,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h @@ -1780,9 +1780,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qv/bsp.cpp b/examples/arm-cm/dpp_stm32f746g-discovery/qv/bsp.cpp index 1411946e..36d598cd 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qv/bsp.cpp +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32746G-Discovery board, cooperative QV kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -40,11 +40,11 @@ #include "stm32746g_discovery.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qv/gnu/Makefile b/examples/arm-cm/dpp_stm32f746g-discovery/qv/gnu/Makefile index efa9ba7a..7c67a3f3 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qv/gnu/Makefile +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qv/gnu/Makefile @@ -1,7 +1,7 @@ ############################################################################## # Product: Makefile for DPP on STM32F746G-Discovery, QV kernel, GNU-ARM -# Last Updated for Version: 5.8.2 -# Date of the Last Update: 2017-02-04 +# Last Updated for Version: 5.9.5 +# Date of the Last Update: 2017-07-19 # # Q u a n t u m L e a P s # --------------------------- @@ -96,7 +96,7 @@ ASM_SRCS := # C source files C_SRCS := \ - startup_stm32f4xx.c \ + startup_stm32f746xx.c \ system_stm32f7xx.c \ stm32746g_discovery.c \ stm32f7xx_hal.c \ diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-dbg_STM32F746NGHx_1.0.0.dbgconf b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-dbg_STM32F746NGHx_1.0.0.dbgconf deleted file mode 100644 index c9240198..00000000 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-dbg_STM32F746NGHx_1.0.0.dbgconf +++ /dev/null @@ -1,148 +0,0 @@ -// <<< Use Configuration Wizard in Context Menu >>> - -// Debug MCU Configuration -// DBG_SLEEP -// Debug Sleep Mode -// 0: (FCLK=On, HCLK=Off) FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled -// 1: (FCLK=On, HCLK=On) HCLK is fed by the same clock that is provided to FCLK -// DBG_STOP -// Debug Stop Mode -// 0: (FCLK=Off, HCLK=Off) Clock controller disables all clocks -// 1: (FCLK=On, HCLK=On) FCLK and HCLK are provided by the internal RC oscillator which remains active -// DBG_STANDBY -// Debug Standby Mode -// 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered. -// 1: (FCLK=On, HCLK=On) Digital part is powered and FCLK and HCLK are provided by the internal RC oscillator which remains active -// -DbgMCU_CR = 0x00000007; - -// Debug MCU APB1 Configuration -// DBG_TIM2_STOP -// TIM2 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM3_STOP -// TIM3 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM4_STOP -// TIM4 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM5_STOP -// TIM5 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM6_STOP -// TIM6 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM7_STOP -// TIM7 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM12_STOP -// TIM12 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM13_STOP -// TIM13 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM14_STOP -// TIM14 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_LPTIM1_STOP -// LPTMI1 counter stopped when core is halted -// 0: The clock of LPTIM1 counter is fed even if the core is halted -// 1: The clock of LPTIM1 counter is stopped when the core is halted -// DBG_RTC_STOP -// RTC stopped when Core is halted -// 0: The RTC counter clock continues even if the core is halted -// 1: The RTC counter clock is stopped when the core is halted -// DBG_WWDG_STOP -// Debug Window Watchdog stopped when Core is halted -// 0: The window watchdog counter clock continues even if the core is halted -// 1: The window watchdog counter clock is stopped when the core is halted -// DBG_IWDG_STOP -// Debug independent watchdog stopped when core is halted -// 0: The independent watchdog counter clock continues even if the core is halted -// 1: The independent watchdog counter clock is stopped when the core is halted -// DBG_I2C1_SMBUS_TIMEOUT -// I2C1 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C2_SMBUS_TIMEOUT -// I2C2 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C3_SMBUS_TIMEOUT -// I2C3 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C4_SMBUS_TIMEOUT -// I2C4 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_CAN1_STOP -// Debug CAN1 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN1 receive registers are frozen -// DBG_CAN2_STOP -// Debug CAN2 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN2 receive registers are frozen -// -DbgMCU_APB1_Fz = 0x00000000; - -// Debug MCU APB2 Configuration -// DBG_TIM1_STOP -// TIM1 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM8_STOP -// TIM8 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM9_STOP -// TIM9 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM10_STOP -// TIM10 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM11_STOP -// TIM11 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// -DbgMCU_APB2_Fz = 0x00000000; - -// TPIU Pin Routing (TRACECLK fixed on Pin PE2) -// TRACED0 -// ETM Trace Data 0 -// <0=> Pin PC1 -// <1=> Pin PE3 -// <2=> Pin PG13 -// TRACED1 -// ETM Trace Data 1 -// <0=> Pin PC8 -// <1=> Pin PE4 -// <2=> Pin PG14 -// TRACED2 -// ETM Trace Data 2 -// <0=> Pin PD2 -// <1=> Pin PE5 -// TRACED3 -// ETM Trace Data 3 -// <0=> Pin PC12 -// <1=> Pin PE6 -ETMTrace_D0 = 1; -ETMTrace_D1 = 1; -ETMTrace_D2 = 1; -ETMTrace_D3 = 1; -// - -// <<< end of configuration section >>> \ No newline at end of file diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-rel_STM32F746NGHx_1.0.0.dbgconf b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-rel_STM32F746NGHx_1.0.0.dbgconf deleted file mode 100644 index c9240198..00000000 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-rel_STM32F746NGHx_1.0.0.dbgconf +++ /dev/null @@ -1,148 +0,0 @@ -// <<< Use Configuration Wizard in Context Menu >>> - -// Debug MCU Configuration -// DBG_SLEEP -// Debug Sleep Mode -// 0: (FCLK=On, HCLK=Off) FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled -// 1: (FCLK=On, HCLK=On) HCLK is fed by the same clock that is provided to FCLK -// DBG_STOP -// Debug Stop Mode -// 0: (FCLK=Off, HCLK=Off) Clock controller disables all clocks -// 1: (FCLK=On, HCLK=On) FCLK and HCLK are provided by the internal RC oscillator which remains active -// DBG_STANDBY -// Debug Standby Mode -// 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered. -// 1: (FCLK=On, HCLK=On) Digital part is powered and FCLK and HCLK are provided by the internal RC oscillator which remains active -// -DbgMCU_CR = 0x00000007; - -// Debug MCU APB1 Configuration -// DBG_TIM2_STOP -// TIM2 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM3_STOP -// TIM3 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM4_STOP -// TIM4 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM5_STOP -// TIM5 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM6_STOP -// TIM6 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM7_STOP -// TIM7 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM12_STOP -// TIM12 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM13_STOP -// TIM13 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM14_STOP -// TIM14 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_LPTIM1_STOP -// LPTMI1 counter stopped when core is halted -// 0: The clock of LPTIM1 counter is fed even if the core is halted -// 1: The clock of LPTIM1 counter is stopped when the core is halted -// DBG_RTC_STOP -// RTC stopped when Core is halted -// 0: The RTC counter clock continues even if the core is halted -// 1: The RTC counter clock is stopped when the core is halted -// DBG_WWDG_STOP -// Debug Window Watchdog stopped when Core is halted -// 0: The window watchdog counter clock continues even if the core is halted -// 1: The window watchdog counter clock is stopped when the core is halted -// DBG_IWDG_STOP -// Debug independent watchdog stopped when core is halted -// 0: The independent watchdog counter clock continues even if the core is halted -// 1: The independent watchdog counter clock is stopped when the core is halted -// DBG_I2C1_SMBUS_TIMEOUT -// I2C1 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C2_SMBUS_TIMEOUT -// I2C2 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C3_SMBUS_TIMEOUT -// I2C3 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C4_SMBUS_TIMEOUT -// I2C4 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_CAN1_STOP -// Debug CAN1 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN1 receive registers are frozen -// DBG_CAN2_STOP -// Debug CAN2 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN2 receive registers are frozen -// -DbgMCU_APB1_Fz = 0x00000000; - -// Debug MCU APB2 Configuration -// DBG_TIM1_STOP -// TIM1 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM8_STOP -// TIM8 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM9_STOP -// TIM9 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM10_STOP -// TIM10 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM11_STOP -// TIM11 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// -DbgMCU_APB2_Fz = 0x00000000; - -// TPIU Pin Routing (TRACECLK fixed on Pin PE2) -// TRACED0 -// ETM Trace Data 0 -// <0=> Pin PC1 -// <1=> Pin PE3 -// <2=> Pin PG13 -// TRACED1 -// ETM Trace Data 1 -// <0=> Pin PC8 -// <1=> Pin PE4 -// <2=> Pin PG14 -// TRACED2 -// ETM Trace Data 2 -// <0=> Pin PD2 -// <1=> Pin PE5 -// TRACED3 -// ETM Trace Data 3 -// <0=> Pin PC12 -// <1=> Pin PE6 -ETMTrace_D0 = 1; -ETMTrace_D1 = 1; -ETMTrace_D2 = 1; -ETMTrace_D3 = 1; -// - -// <<< end of configuration section >>> \ No newline at end of file diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-spy_STM32F746NGHx_1.0.0.dbgconf b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-spy_STM32F746NGHx_1.0.0.dbgconf deleted file mode 100644 index c9240198..00000000 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/DebugConfig/dpp-spy_STM32F746NGHx_1.0.0.dbgconf +++ /dev/null @@ -1,148 +0,0 @@ -// <<< Use Configuration Wizard in Context Menu >>> - -// Debug MCU Configuration -// DBG_SLEEP -// Debug Sleep Mode -// 0: (FCLK=On, HCLK=Off) FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled -// 1: (FCLK=On, HCLK=On) HCLK is fed by the same clock that is provided to FCLK -// DBG_STOP -// Debug Stop Mode -// 0: (FCLK=Off, HCLK=Off) Clock controller disables all clocks -// 1: (FCLK=On, HCLK=On) FCLK and HCLK are provided by the internal RC oscillator which remains active -// DBG_STANDBY -// Debug Standby Mode -// 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered. -// 1: (FCLK=On, HCLK=On) Digital part is powered and FCLK and HCLK are provided by the internal RC oscillator which remains active -// -DbgMCU_CR = 0x00000007; - -// Debug MCU APB1 Configuration -// DBG_TIM2_STOP -// TIM2 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM3_STOP -// TIM3 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM4_STOP -// TIM4 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM5_STOP -// TIM5 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM6_STOP -// TIM6 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM7_STOP -// TIM7 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM12_STOP -// TIM12 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM13_STOP -// TIM13 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM14_STOP -// TIM14 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_LPTIM1_STOP -// LPTMI1 counter stopped when core is halted -// 0: The clock of LPTIM1 counter is fed even if the core is halted -// 1: The clock of LPTIM1 counter is stopped when the core is halted -// DBG_RTC_STOP -// RTC stopped when Core is halted -// 0: The RTC counter clock continues even if the core is halted -// 1: The RTC counter clock is stopped when the core is halted -// DBG_WWDG_STOP -// Debug Window Watchdog stopped when Core is halted -// 0: The window watchdog counter clock continues even if the core is halted -// 1: The window watchdog counter clock is stopped when the core is halted -// DBG_IWDG_STOP -// Debug independent watchdog stopped when core is halted -// 0: The independent watchdog counter clock continues even if the core is halted -// 1: The independent watchdog counter clock is stopped when the core is halted -// DBG_I2C1_SMBUS_TIMEOUT -// I2C1 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C2_SMBUS_TIMEOUT -// I2C2 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C3_SMBUS_TIMEOUT -// I2C3 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_I2C4_SMBUS_TIMEOUT -// I2C4 SMBUS timeout mode stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The SMBUS timeout is frozen -// DBG_CAN1_STOP -// Debug CAN1 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN1 receive registers are frozen -// DBG_CAN2_STOP -// Debug CAN2 stopped when Core is halted -// 0: Same behavior as in normal mode -// 1: The CAN2 receive registers are frozen -// -DbgMCU_APB1_Fz = 0x00000000; - -// Debug MCU APB2 Configuration -// DBG_TIM1_STOP -// TIM1 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM8_STOP -// TIM8 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM9_STOP -// TIM9 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM10_STOP -// TIM10 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// DBG_TIM11_STOP -// TIM11 counter stopped when core is halted -// 0: The clock of the involved Timer Counter is fed even if the core is halted -// 1: The clock of the involved Timer counter is stopped when the core is halted -// -DbgMCU_APB2_Fz = 0x00000000; - -// TPIU Pin Routing (TRACECLK fixed on Pin PE2) -// TRACED0 -// ETM Trace Data 0 -// <0=> Pin PC1 -// <1=> Pin PE3 -// <2=> Pin PG13 -// TRACED1 -// ETM Trace Data 1 -// <0=> Pin PC8 -// <1=> Pin PE4 -// <2=> Pin PG14 -// TRACED2 -// ETM Trace Data 2 -// <0=> Pin PD2 -// <1=> Pin PE5 -// TRACED3 -// ETM Trace Data 3 -// <0=> Pin PC12 -// <1=> Pin PE6 -ETMTrace_D0 = 1; -ETMTrace_D1 = 1; -ETMTrace_D2 = 1; -ETMTrace_D3 = 1; -// - -// <<< end of configuration section >>> \ No newline at end of file diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/dpp-qxk.uvoptx b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/dpp-qxk.uvoptx index 4b9b569a..b05ae9cb 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/dpp-qxk.uvoptx +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/dpp-qxk.uvoptx @@ -924,8 +924,8 @@ 0 0 0 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s - startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s + startup_stm32f746xx.s 0 0 diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/dpp-qxk.uvprojx b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/dpp-qxk.uvprojx index 7cf70aeb..1b32b379 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/dpp-qxk.uvprojx +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/arm/dpp-qxk.uvprojx @@ -423,9 +423,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h @@ -1124,9 +1124,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h @@ -1825,9 +1825,9 @@ stm32f7-discovery - startup_stm32f4xx.s + startup_stm32f746xx.s 2 - ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f4xx.s + ..\..\..\..\..\3rd_party\stm32f7-discovery\arm\startup_stm32f746xx.s stm32f7xx.h diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/bsp.cpp b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/bsp.cpp index ffe9c22c..adf3575c 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/bsp.cpp +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, STM32746G-Discovery board, dual-mode QXK kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -40,11 +40,11 @@ #include "stm32746g_discovery.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/gnu/Makefile b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/gnu/Makefile index 229049f3..beac59ae 100644 --- a/examples/arm-cm/dpp_stm32f746g-discovery/qxk/gnu/Makefile +++ b/examples/arm-cm/dpp_stm32f746g-discovery/qxk/gnu/Makefile @@ -1,7 +1,7 @@ ############################################################################## # Product: Makefile for DPP on STM32F746G-Discovery, QXK kernel, GNU-ARM -# Last Updated for Version: 5.8.2 -# Date of the Last Update: 2017-02-04 +# Last Updated for Version: 5.9.5 +# Date of the Last Update: 2017-07-19 # # Q u a n t u m L e a P s # --------------------------- @@ -96,7 +96,7 @@ ASM_SRCS := # C source files C_SRCS := \ - startup_stm32f4xx.c \ + startup_stm32f746xx.c \ system_stm32f7xx.c \ stm32746g_discovery.c \ stm32f7xx_hal.c \ diff --git a/examples/arm-cm/game_efm32-slstk3401a/qk/bsp.cpp b/examples/arm-cm/game_efm32-slstk3401a/qk/bsp.cpp index 76174737..6300e19d 100644 --- a/examples/arm-cm/game_efm32-slstk3401a/qk/bsp.cpp +++ b/examples/arm-cm/game_efm32-slstk3401a/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: "Fly 'n' Shoot" game example, EFM32-SLSTK3401A board, QK kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include "display_ls013b7dh03.h" // LS013b7DH03 display (SiLabs/QL) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace GAME ************************************************************ namespace GAME { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/game_efm32-slstk3401a/qv/bsp.cpp b/examples/arm-cm/game_efm32-slstk3401a/qv/bsp.cpp index f58c6148..a727da88 100644 --- a/examples/arm-cm/game_efm32-slstk3401a/qv/bsp.cpp +++ b/examples/arm-cm/game_efm32-slstk3401a/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: "Fly 'n' Shoot" game example, EFM32-SLSTK3401A board, QV kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include "display_ls013b7dh03.h" // LS013b7DH03 display (SiLabs/QL) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace GAME ************************************************************ namespace GAME { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/arm-cm/game_efm32-slstk3401a/win32-qv/bsp.cpp b/examples/arm-cm/game_efm32-slstk3401a/win32-qv/bsp.cpp index 7398f584..e6c7dbd4 100644 --- a/examples/arm-cm/game_efm32-slstk3401a/win32-qv/bsp.cpp +++ b/examples/arm-cm/game_efm32-slstk3401a/win32-qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: "Fly 'n' Shoot" game example for Win32-GUI -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -47,6 +47,8 @@ #include // for Windows network facilities #endif +Q_DEFINE_THIS_FILE + ///*************************************************************************** // thread function for running the application main() static DWORD WINAPI appThread(LPVOID par) { @@ -57,8 +59,6 @@ static DWORD WINAPI appThread(LPVOID par) { ///*************************************************************************** namespace GAME { -Q_DEFINE_THIS_FILE - // local variables ----------------------------------------------------------- static HINSTANCE l_hInst; // this application instance static HWND l_hWnd; // main window handle diff --git a/examples/arm-cm/game_efm32-slstk3401a/win32/bsp.cpp b/examples/arm-cm/game_efm32-slstk3401a/win32/bsp.cpp index bac427bf..dc48afb5 100644 --- a/examples/arm-cm/game_efm32-slstk3401a/win32/bsp.cpp +++ b/examples/arm-cm/game_efm32-slstk3401a/win32/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: "Fly 'n' Shoot" game example for Win32-GUI -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -47,6 +47,8 @@ #include // for Windows network facilities #endif +Q_DEFINE_THIS_FILE + ///*************************************************************************** // thread function for running the application main() static DWORD WINAPI appThread(LPVOID par) { @@ -57,8 +59,6 @@ static DWORD WINAPI appThread(LPVOID par) { ///*************************************************************************** namespace GAME { -Q_DEFINE_THIS_FILE - // local variables ----------------------------------------------------------- static HINSTANCE l_hInst; // this application instance static HWND l_hWnd; // main window handle diff --git a/examples/arm-cr/dpp_launchxl2-tms57012/qk/bsp.cpp b/examples/arm-cr/dpp_launchxl2-tms57012/qk/bsp.cpp index 494bdfcd..9959f293 100644 --- a/examples/arm-cr/dpp_launchxl2-tms57012/qk/bsp.cpp +++ b/examples/arm-cr/dpp_launchxl2-tms57012/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, LAUCHXL2-TMS570LS12 board, preemptive QK kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -45,11 +45,11 @@ #include "sci.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- #define LED2_PIN 1 #define LED2_PORT gioPORTB diff --git a/examples/arm-cr/dpp_launchxl2-tms57012/qv/bsp.cpp b/examples/arm-cr/dpp_launchxl2-tms57012/qv/bsp.cpp index 8325d110..39b210b6 100644 --- a/examples/arm-cr/dpp_launchxl2-tms57012/qv/bsp.cpp +++ b/examples/arm-cr/dpp_launchxl2-tms57012/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, LAUCHXL2-TMS570LS12 board, cooperative QV kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -45,11 +45,11 @@ #include "sci.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- #define LED2_PIN 1 #define LED2_PORT gioPORTB diff --git a/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.cpp b/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.cpp index 0d1b8d74..38893bcd 100644 --- a/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.cpp +++ b/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP on AT91SAM7S-EK, preemptive QK kernel, IAR-ARM toolset -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,6 +41,8 @@ #pragma diag_suppress=Ta022 // possible ROM access from __ramfunc #pragma diag_suppress=Ta023 // call to non __ramfunc from __ramfunc +Q_DEFINE_THIS_FILE + // extern "C" functions in C ================================================= extern "C" { //............................................................................ @@ -60,8 +62,6 @@ void BSP_irq(void) { namespace DPP { -Q_DEFINE_THIS_FILE - // Local objects ------------------------------------------------------------- typedef void (*IntVector)(void); // IntVector pointer-to-function diff --git a/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.cpp b/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.cpp index 3d17523e..81e29ebd 100644 --- a/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.cpp +++ b/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP on AT91SAM7S-EK, cooperative QV kernel, IAR-ARM toolset -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,6 +41,8 @@ #pragma diag_suppress=Ta022 // possible ROM access from __ramfunc #pragma diag_suppress=Ta023 // call to non __ramfunc from __ramfunc +Q_DEFINE_THIS_FILE + // extern "C" functions in C ================================================= extern "C" { //............................................................................ @@ -60,8 +62,6 @@ void BSP_irq(void) { namespace DPP { -Q_DEFINE_THIS_FILE - // Local objects ------------------------------------------------------------- typedef void (*IntVector)(void); // IntVector pointer-to-function diff --git a/examples/embos/arm-cm/dpp_stm32f429-discovery/bsp.cpp b/examples/embos/arm-cm/dpp_stm32f429-discovery/bsp.cpp index 6418297b..2fcbf5cf 100644 --- a/examples/embos/arm-cm/dpp_stm32f429-discovery/bsp.cpp +++ b/examples/embos/arm-cm/dpp_stm32f429-discovery/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example, STM32F4-Discovery board, embOS kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include "stm32f4xx_usart.h" // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- #define LED_GPIO_PORT GPIOD #define LED_GPIO_CLK RCC_AHB1Periph_GPIOD diff --git a/examples/msp430/dpp_msp-exp430g2/qk/bsp.cpp b/examples/msp430/dpp_msp-exp430g2/qk/bsp.cpp index 5ca8939b..066f57ab 100644 --- a/examples/msp430/dpp_msp-exp430g2/qk/bsp.cpp +++ b/examples/msp430/dpp_msp-exp430g2/qk/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example on MSP-EXP430G2 board, preemptive QK kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include // MSP430 variant used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- // 8MHz clock setting, see BSP::init() #define BSP_MCK 8000000U diff --git a/examples/msp430/dpp_msp-exp430g2/qv/bsp.cpp b/examples/msp430/dpp_msp-exp430g2/qv/bsp.cpp index 8ebb0acb..e2499cbd 100644 --- a/examples/msp430/dpp_msp-exp430g2/qv/bsp.cpp +++ b/examples/msp430/dpp_msp-exp430g2/qv/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example on MSP-EXP430G2 board, cooperative QV kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include // MSP430 variant used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- // 8MHz clock setting, see BSP::init() #define BSP_MCK 8000000U diff --git a/examples/performance/dpp_efm32-slstk3401a/qk/bsp.cpp b/examples/performance/dpp_efm32-slstk3401a/qk/bsp.cpp index e619c493..146c7c30 100644 --- a/examples/performance/dpp_efm32-slstk3401a/qk/bsp.cpp +++ b/examples/performance/dpp_efm32-slstk3401a/qk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EFM32-SLSTK3401A board, preemptive QK kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "em_usart.h" // USART (SiLabs) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/performance/dpp_efm32-slstk3401a/qv/bsp.cpp b/examples/performance/dpp_efm32-slstk3401a/qv/bsp.cpp index 120bb119..d6264475 100644 --- a/examples/performance/dpp_efm32-slstk3401a/qv/bsp.cpp +++ b/examples/performance/dpp_efm32-slstk3401a/qv/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EFM32-SLSTK3401A board, cooperative QV kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "em_usart.h" // USART (SiLabs) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/performance/dpp_efm32-slstk3401a/qxk/bsp.cpp b/examples/performance/dpp_efm32-slstk3401a/qxk/bsp.cpp index cef1da2c..92788d5e 100644 --- a/examples/performance/dpp_efm32-slstk3401a/qxk/bsp.cpp +++ b/examples/performance/dpp_efm32-slstk3401a/qxk/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EFM32-SLSTK3401A board, preemptive QXK kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include "em_usart.h" // USART (SiLabs) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority(). // DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE! diff --git a/examples/performance/dpp_efm32-slstk3401a/ucos-ii/bsp.cpp b/examples/performance/dpp_efm32-slstk3401a/ucos-ii/bsp.cpp index cac0b816..e6b3be39 100644 --- a/examples/performance/dpp_efm32-slstk3401a/ucos-ii/bsp.cpp +++ b/examples/performance/dpp_efm32-slstk3401a/ucos-ii/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EFM32-SLSTK3401A board, uC/OS-II kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include "em_usart.h" // USART (SiLabs) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- #define LED_PORT gpioPortF #define LED0_PIN 4 diff --git a/examples/posix/dpp/bsp.cpp b/examples/posix/dpp/bsp.cpp index b62c2226..7be50a9f 100644 --- a/examples/posix/dpp/bsp.cpp +++ b/examples/posix/dpp/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example, POSIX -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -42,11 +42,11 @@ #include #include +Q_DEFINE_THIS_FILE + //**************************************************************************** namespace DPP { -Q_DEFINE_THIS_FILE - // Local objects ------------------------------------------------------------- static uint32_t l_rnd; // random seed diff --git a/examples/qutest/dpp/bsp.cpp b/examples/qutest/dpp/bsp.cpp index 3d72791d..da486bf1 100644 --- a/examples/qutest/dpp/bsp.cpp +++ b/examples/qutest/dpp/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example, QUTEST -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-10 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -35,11 +35,11 @@ #include "dpp.h" #include "bsp.h" +Q_DEFINE_THIS_MODULE("bsp") + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_MODULE("bsp") - static uint32_t l_rnd; // random seed // BSP functions ============================================================= diff --git a/examples/ti-rtos/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp b/examples/ti-rtos/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp index 3fc7cdc9..23010aaf 100644 --- a/examples/ti-rtos/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp +++ b/examples/ti-rtos/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EK-TM4C123GXL board, TI-RTOS kernel (SYS/BIOS) -// Last updated for version 5.7.3 -// Last updated on 2016-10-06 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -40,6 +40,8 @@ #include "ti/drivers/GPIO.h" // GPIO driver (TI) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // TI-RTOS callback functions ================================================ extern "C" { @@ -100,8 +102,6 @@ void myIdleFunc() { // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- static uint32_t l_rnd; // random seed diff --git a/examples/ucos-ii/arm-cm/dpp_efm32-slstk3401a/bsp.cpp b/examples/ucos-ii/arm-cm/dpp_efm32-slstk3401a/bsp.cpp index b902d05b..4c5b5bfa 100644 --- a/examples/ucos-ii/arm-cm/dpp_efm32-slstk3401a/bsp.cpp +++ b/examples/ucos-ii/arm-cm/dpp_efm32-slstk3401a/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EFM32-SLSTK3401A board, uC/OS-II kernel -// Last Updated for Version: 5.9.0 -// Date of the Last Update: 2017-05-09 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "em_usart.h" // USART (SiLabs) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- #define LED_PORT gpioPortF #define LED0_PIN 4 diff --git a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp index b713b09b..8700685b 100644 --- a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp +++ b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.cpp @@ -1,7 +1,7 @@ ///*************************************************************************** // Product: DPP example, EK-TM4C123GXL board, uC/OS-II kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -41,11 +41,11 @@ #include "gpio.h" // GPIO driver (TI) // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- #define LED_RED (1U << 1) #define LED_GREEN (1U << 3) diff --git a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.cpp b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.cpp index 99831807..88ca821d 100644 --- a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.cpp +++ b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example, STM32 NUCLEO-L152RE board, uC/OS-II kernel -// Last updated for version 5.9.0 -// Last updated on 2017-05-09 +// Last updated for version 5.9.5 +// Last updated on 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -38,11 +38,11 @@ #include "stm32l1xx.h" // CMSIS-compliant header file for the MCU used // add other drivers if necessary... +Q_DEFINE_THIS_FILE + // namespace DPP ************************************************************* namespace DPP { -Q_DEFINE_THIS_FILE - // Local-scope objects ------------------------------------------------------- // LED pins available on the board (just one LED) #define LED_LD2 (1U << 5) diff --git a/examples/win32-qv/dpp/bsp.cpp b/examples/win32-qv/dpp/bsp.cpp index bd4e16a6..0628d6e6 100644 --- a/examples/win32-qv/dpp/bsp.cpp +++ b/examples/win32-qv/dpp/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example (console) -// Last Updated for Version: 5.8.0 -// Date of the Last Update: 2016-11-30 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -46,12 +46,11 @@ #include "qspy.h" // QSPY interface #endif +Q_DEFINE_THIS_FILE //**************************************************************************** namespace DPP { -Q_DEFINE_THIS_FILE - // local variables ----------------------------------------------------------- static uint32_t l_rnd; // random seed diff --git a/examples/win32/dpp/bsp.cpp b/examples/win32/dpp/bsp.cpp index bd4e16a6..0628d6e6 100644 --- a/examples/win32/dpp/bsp.cpp +++ b/examples/win32/dpp/bsp.cpp @@ -1,7 +1,7 @@ //**************************************************************************** // Product: DPP example (console) -// Last Updated for Version: 5.8.0 -// Date of the Last Update: 2016-11-30 +// Last Updated for Version: 5.9.5 +// Date of the Last Update: 2017-07-20 // // Q u a n t u m L e a P s // --------------------------- @@ -46,12 +46,11 @@ #include "qspy.h" // QSPY interface #endif +Q_DEFINE_THIS_FILE //**************************************************************************** namespace DPP { -Q_DEFINE_THIS_FILE - // local variables ----------------------------------------------------------- static uint32_t l_rnd; // random seed diff --git a/include/qassert.h b/include/qassert.h index 6f34121d..e3ce6c3c 100644 --- a/include/qassert.h +++ b/include/qassert.h @@ -3,8 +3,8 @@ * @brief Customizable and memory-efficient assertions for embedded systems * @cond ****************************************************************************** -* Last updated for version 5.6.0 -* Last updated on 2015-12-18 +* Last updated for version 5.9.5 +* Last updated on 2017-07-19 * * Q u a n t u m L e a P s * --------------------------- @@ -59,6 +59,12 @@ #define Q_ALLEGE_ID(id_, test_) ((void)(test_)) #define Q_ERROR() ((void)0) #define Q_ERROR_ID(id_) ((void)0) + #define Q_REQUIRE(test_) ((void)0) + #define Q_REQUIRE_ID(id_, test_) ((void)0) + #define Q_ENSURE(test_) ((void)0) + #define Q_ENSURE_ID(id_, test_) ((void)0) + #define Q_INVARIANT(test_) ((void)0) + #define Q_INVARIANT_ID(id_, test_) ((void)0) #else /* Q_NASSERT not defined--assertion checking enabled */ diff --git a/include/qep.h b/include/qep.h index b95fa7d4..f8aca07e 100644 --- a/include/qep.h +++ b/include/qep.h @@ -3,8 +3,8 @@ /// @ingroup qep /// @cond ///*************************************************************************** -/// Last updated for version 5.9.4 -/// Last updated on 2017-07-05 +/// Last updated for version 5.9.5 +/// Last updated on 2017-07-19 /// /// Q u a n t u m L e a P s /// --------------------------- @@ -43,15 +43,15 @@ //! The current QP version as a decimal constant XYZ, where X is a 1-digit // major version number, Y is a 1-digit minor version number, and Z is // a 1-digit release number. -#define QP_VERSION 594 +#define QP_VERSION 595 //! The current QP version number string of the form X.Y.Z, where X is // a 1-digit major version number, Y is a 1-digit minor version number, // and Z is a 1-digit release number. -#define QP_VERSION_STR "5.9.4" +#define QP_VERSION_STR "5.9.5" -//! Tamperproof current QP release (5.9.4) and date (2017-07-07) -#define QP_RELEASE 0x9A402B7DU +//! Tamperproof current QP release (5.9.5) and date (2017-07-20) +#define QP_RELEASE 0x9A3E2FACU //**************************************************************************** #ifndef Q_SIGNAL_SIZE diff --git a/include/qpcpp.lnt b/include/qpcpp.lnt index 83dbf73c..a664d10d 100644 --- a/include/qpcpp.lnt +++ b/include/qpcpp.lnt @@ -1,7 +1,7 @@ ////////////////////////////////////////////////////////////////////////////// // Product: PC-Lint 9.x option file for linting QP/C++ applications -// Last updated for version 5.9.4 -// Last updated on 2017-07-05 +// Last updated for version 5.9.5 +// Last updated on 2017-07-19 // // Q u a n t u m L e a P s // --------------------------- @@ -75,7 +75,8 @@ // Assertions -esym(1960, // Rule 7-3-1, Global declaration of symbol Q_onAssert, - Q_onTestAssert) + Q_onTestAssert, + Q_this_module_) -emacro(944, // 0-1-1/2/9 operator ? always evaluates to True Q_ASSERT_COMPILE) -emacro(948, // 0-1-9 Operator '==' always evaluates to True diff --git a/src/qxk/qxk.cpp b/src/qxk/qxk.cpp index 0f9b9d14..1d84e42e 100644 --- a/src/qxk/qxk.cpp +++ b/src/qxk/qxk.cpp @@ -4,8 +4,8 @@ /// @ingroup qxk /// @cond ///*************************************************************************** -/// Last updated for version 5.9.4 -/// Last updated on 2017-07-06 +/// Last updated for version 5.9.5 +/// Last updated on 2017-07-19 /// /// Q u a n t u m L e a P s /// --------------------------- @@ -52,6 +52,8 @@ #error "Source file included in a project NOT based on the QXK kernel" #endif // qxk_h +Q_DEFINE_THIS_MODULE("qxk") + // Public-scope objects ****************************************************** extern "C" { QXK_Attr QXK_attr_; // global attributes of the QXK kernel @@ -59,8 +61,6 @@ extern "C" { namespace QP { -Q_DEFINE_THIS_MODULE("qxk") - // Local-scope objects ******************************************************* class QXKIdleThread : public QActive { public: @@ -443,6 +443,9 @@ QP::QActive *QXK_current(void) { curr = QXK_attr_.curr; QF_CRIT_EXIT_(); + //! @post the current thread must be valid + Q_ENSURE_ID(900, curr != static_cast(0)); + return curr; } diff --git a/version-5.9.4 b/version-5.9.4 deleted file mode 100644 index 97483082..00000000 --- a/version-5.9.4 +++ /dev/null @@ -1,2 +0,0 @@ -QP/C++ 5.9.4 -2017-07-07 diff --git a/version-5.9.5 b/version-5.9.5 new file mode 100644 index 00000000..dbf30bdb --- /dev/null +++ b/version-5.9.5 @@ -0,0 +1,2 @@ +QP/C++ 5.9.5 +2017-07-20