#define mainCOM_TEST_TASK_PRIORITY ( tskIDLE_PRIORITY + ( UBaseType_t ) 2 )\r
#define mainCHECK_TASK_PRIORITY ( configMAX_PRIORITIES - ( UBaseType_t ) 1 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 0 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( ( TickType_t ) 0 )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( ( TickType_t ) 5000 )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( ( TickType_t ) ( 200 ) )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The initial priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 0 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The initial priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 0 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
uses the Altera polling UART driver - so *must* run at the idle priority. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( tskIDLE_PRIORITY )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 0 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 0 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainCOM_TEST_LED ( 100 )\r
#define mainBAUD_RATE ( 0 )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 0 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
--- /dev/null
+[{000214A0-0000-0000-C000-000000000046}]\r
+Prop3=19,2\r
+[InternetShortcut]\r
+URL=http://www.freertos.org/EFM32-Giant-Gecko-Pearl-Gecko-tickless-RTOS-demo.html\r
+IDList=\r
* See the comments at the top of main.c, main_full.c and main_low_power.c for\r
* more information.\r
*/\r
-#define configCREATE_LOW_POWER_DEMO 1\r
+#define configCREATE_LOW_POWER_DEMO 0\r
\r
/* Some configuration is dependent on the demo being built. */\r
#if( configCREATE_LOW_POWER_DEMO == 0 )\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
--- /dev/null
+[{000214A0-0000-0000-C000-000000000046}]\r
+Prop3=19,2\r
+[InternetShortcut]\r
+URL=http://www.freertos.org/EFM32-Giant-Gecko-Pearl-Gecko-tickless-RTOS-demo.html\r
+IDList=\r
+++ /dev/null
-/****************************************************************************\r
-* © 2013 Microchip Technology Inc. and its subsidiaries.\r
-* You may use this software and any derivatives exclusively with\r
-* Microchip products.\r
-* THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS".\r
-* NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE,\r
-* INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY,\r
-* AND FITNESS FOR A PARTICULAR PURPOSE, OR ITS INTERACTION WITH MICROCHIP\r
-* PRODUCTS, COMBINATION WITH ANY OTHER PRODUCTS, OR USE IN ANY APPLICATION.\r
-* IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,\r
-* INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND\r
-* WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS\r
-* BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE.\r
-* TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL\r
-* CLAIMS IN ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF\r
-* FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.\r
-* MICROCHIP PROVIDES THIS SOFTWARE CONDITIONALLY UPON YOUR ACCEPTANCE\r
-* OF THESE TERMS.\r
-*/\r
-\r
-/** @defgroup pwm pwm_c_wrapper\r
- * @{\r
- */\r
-/** @file pwm_c_wrapper.cpp\r
- \brief the pwm component C wrapper \r
- This program is designed to allow the other C programs to be able to use this component\r
-\r
- There are entry points for all C wrapper API implementation\r
-\r
-<b>Platform:</b> This is ARC-based component \r
-\r
-<b>Toolset:</b> Metaware IDE(8.5.1)\r
-<b>Reference:</b> smsc_reusable_fw_requirement.doc */\r
-\r
-/*******************************************************************************\r
- * SMSC version control information (Perforce):\r
- *\r
- * FILE: $File: //depot_pcs/FWEng/Release/projects/CEC1302_CLIB/release2/Source/hw_blks/common/include/cfg.h $\r
- * REVISION: $Revision: #1 $\r
- * DATETIME: $DateTime: 2015/12/23 15:37:58 $\r
- * AUTHOR: $Author: akrishnan $\r
- *\r
- * Revision history (latest first):\r
- * #1 Branched from //depotAE/projects/Sensor_Fusion/maincodeline/sf01_evb\r
- * #2 Updated tasks for smbus driver and smbus application\r
- * #3 Added feature, algo and fusion task\r
- * #4 Removed smbapp task\r
- ***********************************************************************************\r
- */\r
-\r
-#ifndef _CFG_H_\r
-#define _CFG_H_\r
-\r
-\r
-/*\r
- * TOOLSET : defines the build tools used\r
- * TOOLKEIL - For KEIL Toolset\r
- * TOOLPC - For PC Toolset, ex: MSVC++ 6.0,Borland C..etc.\r
- *\r
- */\r
-\r
-\r
-#define INTERACTIVE_UART 0\r
-\r
-/*\r
- * TASK_XX : defines the Kernel Task Assignements to Different Application Specific Tasks\r
- * : Always TASK_00 is High Priority\r
- * : Ex1: To Assign timer task to TASK_00\r
- * : #define TASK_00 timer\r
- * : Ex2: To Assign pwm task to TASK_03\r
- * : #define TASK_03 pwm\r
- * : Each Task should have Following Function Definitions\r
- * : (void) Tasxx_Init_task(void);\r
- * : (void) Taskxx_Main_task(enum EVENT_TYPE event);\r
- * : Please refer kernel.h for enum EVENT_TYPE\r
- * : Ex: If Application needs "tach" task should be added to kernel,\r
- * : tach.c should contain following public calls:\r
- * : (void)tach_init_task(void);\r
- * : (void)tach_main_task(enum EVENT_TYPE event);\r
- * :\r
- * : Each Task's event ie. EVENT TASK & EVENT TIMEOUT could be assigned the \r
- * : priority level. if it is assigned HIGH, then Task's event will belong to\r
- * : HIGH priority group.\r
- * : ex: define TASK_04 as pwm and pwm tasks event with following priority list\r
- * : PRIORITY_TASK_04_EVENTTASK LOW - This means, the pwm task (which is TASK_04) Event Task will be assigned to low priority group\r
- * : PRIORITY_TASK_04_EVENTTIMEOUT HIGH - This means, the pwm task Event Timeout will be assigned Hihg priority group\r
- *\r
- */\r
-#define LOW 0\r
-#define HIGH !LOW\r
-\r
-#define INTR_ON 1\r
-#define INTR_OFF 0\r
-\r
-#define TASK_SCHED_LO 1\r
-#define TASK_SCHED_HI 2\r
-\r
-#define MAX_NUM_TASKS 31 // Bits 0 - 30\r
-\r
-// !!!! CRITICAL !!!\r
-// You MUST define the following values correctly\r
-//\r
-#define NUMBER_OF_TASKS 18 /* Total No: of Enabled Tasks */\r
-\r
-#define TASK_00 timer /* TASK_00=timer */\r
-#define PRIORITY_TASK_00_EVENTTASK HIGH /* Timer Event Task HIGH priority */\r
-#define PRIORITY_TASK_00_EVENTTIMEOUT HIGH /* Timer Event Timeout HIGH priority */\r
-#define ENABLE_TASK_00_EVENTINTR 1 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_00_EVENTTASK 0\r
-#define ENABLE_TASK_00_EVENTTIMER 0\r
-\r
-#define TASK_01 spi /* Task_01=spi - for spi */\r
-#define PRIORITY_TASK_01_EVENTTASK LOW /* Event Task HIGH priority */\r
-#define PRIORITY_TASK_01_EVENTTIMEOUT LOW /* Event Timeout LOW priority */\r
-#define ENABLE_TASK_01_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_01_EVENTTASK 0\r
-#define ENABLE_TASK_01_EVENTTIMER 1\r
-\r
-#define TASK_02 smbus /* Task_02=smbus */\r
-#define PRIORITY_TASK_02_EVENTTASK HIGH /* temp Event Task HIGH priority */\r
-#define PRIORITY_TASK_02_EVENTTIMEOUT HIGH /* temp Event Timeout LOW priority */\r
-#define ENABLE_TASK_02_EVENTINTR 1 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_02_EVENTTASK 1\r
-#define ENABLE_TASK_02_EVENTTIMER 1\r
-\r
-#define TASK_03 smbus_app /* TASK_03=smbus_app */\r
-#define PRIORITY_TASK_03_EVENTTASK HIGH /* Event Task HIGH priority */\r
-#define PRIORITY_TASK_03_EVENTTIMEOUT HIGH /* Event Timeout HIGH priority */\r
-#define ENABLE_TASK_03_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_03_EVENTTASK 1\r
-#define ENABLE_TASK_03_EVENTTIMER 1\r
-\r
-#define TASK_04 pwm /* Task_04=pwm */\r
-#define PRIORITY_TASK_04_EVENTTASK LOW /* Event Task LOW priority */\r
-#define PRIORITY_TASK_04_EVENTTIMEOUT LOW /* Event Timeout LOW priority */\r
-#define ENABLE_TASK_04_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_04_EVENTTASK 0\r
-#define ENABLE_TASK_04_EVENTTIMER 1\r
-\r
-#define TASK_05 adc /* TASK_05=adc */\r
-#define PRIORITY_TASK_05_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_05_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_05_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_05_EVENTTASK 0 \r
-#define ENABLE_TASK_05_EVENTTIMER 1 \r
-\r
-#define TASK_06 gpio /* TASK_06=gpio */\r
-#define PRIORITY_TASK_06_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_06_EVENTTIMEOUT HIGH /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_06_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_06_EVENTTASK 0 \r
-#define ENABLE_TASK_06_EVENTTIMER 1 \r
-\r
-#define TASK_07 btimer /* Task_07=btimer */\r
-#define PRIORITY_TASK_07_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_07_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_07_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_07_EVENTTASK 0\r
-#define ENABLE_TASK_07_EVENTTIMER 1\r
-\r
-#define TASK_08 led /* Task_08=led */\r
-#define PRIORITY_TASK_08_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_08_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_08_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_08_EVENTTASK 0\r
-#define ENABLE_TASK_08_EVENTTIMER 1\r
-\r
-#define TASK_09 wdt /* Task_09=wdt */\r
-#define PRIORITY_TASK_09_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_09_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_09_EVENTINTR 1 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_09_EVENTTASK 1\r
-#define ENABLE_TASK_09_EVENTTIMER 1\r
-\r
-#define TASK_10 aes /* Task_10=aes */\r
-#define PRIORITY_TASK_10_EVENTTASK LOW /* phot Event Task LOW priority */\r
-#define PRIORITY_TASK_10_EVENTTIMEOUT LOW /* phot Event Timeout LOW priority */\r
-#define ENABLE_TASK_10_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_10_EVENTTASK 0 \r
-#define ENABLE_TASK_10_EVENTTIMER 1\r
- \r
-#define TASK_11 rnd /* Task_11=rnd */\r
-#define PRIORITY_TASK_11_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_11_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_11_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_11_EVENTTASK 0\r
-#define ENABLE_TASK_11_EVENTTIMER 1\r
- \r
-#define TASK_12 sha /* Task_12=sha */\r
-#define PRIORITY_TASK_12_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_12_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_12_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_12_EVENTTASK 0\r
-#define ENABLE_TASK_12_EVENTTIMER 1\r
- \r
-#define TASK_13 pke /* Task_13=pke */\r
-#define PRIORITY_TASK_13_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_13_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_13_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_13_EVENTTASK 0\r
-#define ENABLE_TASK_13_EVENTTIMER 1\r
-\r
-#define TASK_14 tach /* Task_14=tach */\r
-#define PRIORITY_TASK_14_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_14_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_14_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_14_EVENTTASK 0\r
-#define ENABLE_TASK_14_EVENTTIMER 1\r
-\r
-#define TASK_15 rtc /* Task_15=rtc */\r
-#define PRIORITY_TASK_15_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_15_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_15_EVENTINTR 1 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_15_EVENTTASK 0\r
-#define ENABLE_TASK_15_EVENTTIMER 1\r
-\r
-#define TASK_16 htimer /* TASK_06=htimer */\r
-#define PRIORITY_TASK_16_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_16_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_16_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_16_EVENTTASK 0 \r
-#define ENABLE_TASK_16_EVENTTIMER 1 \r
-\r
-#define TASK_17 uart /* Task_17=uart */\r
-#define PRIORITY_TASK_17_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_17_EVENTTIMEOUT HIGH /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_17_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_17_EVENTTASK 0 \r
-#define ENABLE_TASK_17_EVENTTIMER 1 \r
-\r
-#define TASK_18 dflt /* Task_18=dflt */\r
-#define PRIORITY_TASK_18_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-#define PRIORITY_TASK_18_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-#define ENABLE_TASK_18_EVENTINTR 1 /* Enable EventTypeInterrupt scheduling */\r
-#define ENABLE_TASK_18_EVENTTASK 1\r
-#define ENABLE_TASK_18_EVENTTIMER 1\r
-\r
-//#define TASK_19 dflt /* Task_19=dflt */\r
-//#define PRIORITY_TASK_19_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_19_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_19_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_19_EVENTTASK 0\r
-//#define ENABLE_TASK_19_EVENTTIMER 0\r
-\r
-//#define TASK_20 dflt /* Task_20=dflt */\r
-//#define PRIORITY_TASK_20_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_20_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_20_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_20_EVENTTASK 0\r
-//#define ENABLE_TASK_20_EVENTTIMER 0\r
-\r
-//#define TASK_21 dflt /* Task_21=dflt */\r
-//#define PRIORITY_TASK_21_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_21_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_21_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_21_EVENTTASK 0\r
-//#define ENABLE_TASK_21_EVENTTIMER 0\r
-\r
-//#define TASK_22 dflt /* Task_22=dflt */\r
-//#define PRIORITY_TASK_22_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_22_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_22_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_22_EVENTTASK 0\r
-//#define ENABLE_TASK_22_EVENTTIMER 0\r
-\r
-//#define TASK_23 dflt /* Task_23=dflt */\r
-//#define PRIORITY_TASK_23_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_23_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_23_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_23_EVENTTASK 0\r
-//#define ENABLE_TASK_23_EVENTTIMER 0\r
-\r
-//#define TASK_24 dflt /* Task_24=dflt */\r
-//#define PRIORITY_TASK_24_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_24_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_24_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_24_EVENTTASK 0\r
-//#define ENABLE_TASK_24_EVENTTIMER 0\r
-\r
-//#define TASK_25 dflt /* Task_25=dflt */\r
-//#define PRIORITY_TASK_25_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_25_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_25_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_25_EVENTTASK 0\r
-//#define ENABLE_TASK_25_EVENTTIMER 0\r
-\r
-//#define TASK_26 dflt /* Task_26=dflt */\r
-//#define PRIORITY_TASK_26_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_26_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_26_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_26_EVENTTASK 0\r
-//#define ENABLE_TASK_26_EVENTTIMER 0\r
-\r
-//#define TASK_27 dflt /* Task_27=dflt */\r
-//#define PRIORITY_TASK_27_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_27_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_27_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_27_EVENTTASK 0\r
-//#define ENABLE_TASK_27_EVENTTIMER 0\r
-\r
-//#define TASK_28 dflt /* Task_28=dflt */\r
-//#define PRIORITY_TASK_28_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_28_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_28_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_28_EVENTTASK 0\r
-//#define ENABLE_TASK_28_EVENTTIMER 0\r
-\r
-//#define TASK_29 dflt /* Task_29=dflt */\r
-//#define PRIORITY_TASK_29_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_29_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_29_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_29_EVENTTASK 0\r
-//#define ENABLE_TASK_29_EVENTTIMER 0\r
-\r
-//#define TASK_30 dflt /* Task_30=dflt */\r
-//#define PRIORITY_TASK_30_EVENTTASK LOW /* Dflt Event Task LOW priority */\r
-//#define PRIORITY_TASK_30_EVENTTIMEOUT LOW /* Dflt Event Timeout LOW priority */\r
-//#define ENABLE_TASK_30_EVENTINTR 0 /* Enable EventTypeInterrupt scheduling */\r
-//#define ENABLE_TASK_30_EVENTTASK 0\r
-//#define ENABLE_TASK_30_EVENTTIMER 0\r
-\r
-\r
-#endif /*_CFG_H_*/\r
-\r
-/** @}\r
- */\r
-\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD ( pdMS_TO_TICKS( 3000UL ) )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
#define mainERROR_CHECK_TASK_PERIOD ( pdMS_TO_TICKS( 200UL ) )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
#define mainCHECK_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )\r
#define mainQUEUE_OVERWRITE_PRIORITY ( tskIDLE_PRIORITY )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The initial priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 0 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The initial priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 0 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 7 )\r
\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD ( pdMS_TO_TICKS( 3000UL ) )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
#define mainERROR_CHECK_TASK_PERIOD ( pdMS_TO_TICKS( 200UL ) )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
#define mainCHECK_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )\r
#define mainQUEUE_OVERWRITE_PRIORITY ( tskIDLE_PRIORITY )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
#define mainCHECK_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )\r
#define mainQUEUE_OVERWRITE_PRIORITY ( tskIDLE_PRIORITY )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 3 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The LED used by the check timer. */\r
+/* The LED used by the check task. */\r
#define mainCHECK_LED ( 3 )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the pdMS_TO_TICKS() macro constant. */\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+pdMS_TO_TICKS() macro. */\r
+#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
purpose of ensuring parameters are passed into tasks correctly. */\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
}\r
\r
/* The following line will only execute if the task parameter is found to\r
- be incorrect. The check timer will detect that the regtest loop counter is\r
+ be incorrect. The check task will detect that the regtest loop counter is\r
not being incremented and flag an error. */\r
vTaskDelete( NULL );\r
}\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
/* The priority used by the UART command console task. */\r
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )\r
\r
-/* The period after which the check timer will expire, in ms, provided no errors\r
-have been reported by any of the standard demo tasks. ms are converted to the\r
-equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, provided no errors have been reported by\r
+any of the standard demo tasks. ms are converted to the equivalent in ticks\r
+using the portTICK_PERIOD_MS constant. */\r
#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
-/* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. ms are converted to the equivalent\r
-in ticks using the portTICK_PERIOD_MS constant. */\r
+/* The period of the check task, in ms, if an error has been reported in one of\r
+the standard demo tasks. ms are converted to the equivalent in ticks using the\r
+portTICK_PERIOD_MS constant. */\r
#define mainERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 200UL )\r
\r
/* Parameters that are passed into the register check tasks solely for the\r
{\r
pcStatusMessage = "Error: EventGroup";\r
}\r
- else if( xAreIntegerMathsTaskStillRunning() != pdTRUE )\r
- {\r
+ else if( xAreIntegerMathsTaskStillRunning() != pdTRUE )\r
+ {\r
pcStatusMessage = "Error: IntMath";\r
- }\r
+ }\r
else if( xAreGenericQueueTasksStillRunning() != pdTRUE )\r
{\r
pcStatusMessage = "Error: GenQueue";\r
{\r
pcStatusMessage = "Error: BlockQueue";\r
}\r
- else if( xAreSemaphoreTasksStillRunning() != pdTRUE )\r
- {\r
+ else if( xAreSemaphoreTasksStillRunning() != pdTRUE )\r
+ {\r
pcStatusMessage = "Error: SemTest";\r
- }\r
- else if( xArePollingQueuesStillRunning() != pdTRUE )\r
- {\r
+ }\r
+ else if( xArePollingQueuesStillRunning() != pdTRUE )\r
+ {\r
pcStatusMessage = "Error: PollQueue";\r
- }\r
+ }\r
else if( xAreMathsTaskStillRunning() != pdPASS )\r
{\r
pcStatusMessage = "Error: Flop";\r
}\r
- else if( xAreRecursiveMutexTasksStillRunning() != pdTRUE )\r
- {\r
+ else if( xAreRecursiveMutexTasksStillRunning() != pdTRUE )\r
+ {\r
pcStatusMessage = "Error: RecMutex";\r
}\r
else if( xAreCountingSemaphoreTasksStillRunning() != pdTRUE )\r