/* USER CODE BEGIN Header *//** ****************************************************************************** * @file app_threadx.h * @author MCD Application Team * @brief ThreadX applicative header file ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... *//* USER CODE END Header *//* Define to prevent recursive inclusion -------------------------------------*/#ifndef__APP_THREADX_H__#define__APP_THREADX_H__#ifdef__cplusplusextern"C"{#endif/* Includes ------------------------------------------------------------------*/#include"tx_api.h"Includes/* Private includes ----------------------------------------------------------*//* USER CODE BEGIN Includes */#include"main.h"/* USER CODE END Includes */Private includes/* Exported types ------------------------------------------------------------*//* USER CODE BEGIN ET *//* USER CODE END ET */Exported types/* Exported constants --------------------------------------------------------*//* USER CODE BEGIN EC *//* USER CODE END EC */Exported constants/* Exported macro ------------------------------------------------------------*//* USER CODE BEGIN EM *//* USER CODE END EM */Exported macro/* Exported functions prototypes ---------------------------------------------*/UINTApp_ThreadX_Init(VOID*memory_ptr);voidMX_ThreadX_Init(void);/* USER CODE BEGIN EFP *//* USER CODE END EFP */Exported functions prototypes/* Private defines -----------------------------------------------------------*//* USER CODE BEGIN PD */#defineAPP_STACK_SIZE512#defineAPP_BYTE_POOL_SIZE(12*1024)#defineTHREAD_ONE_PRIO10#defineTHREAD_ONE_PREEMPTION_THRESHOLDTHREAD_ONE_PRIO#defineTHREAD_TWO_PRIO10#defineTHREAD_TWO_PREEMPTION_THRESHOLD9#defineMAIN_THREAD_PRIO5#defineMAIN_THREAD_PREEMPTION_THRESHOLDMAIN_THREAD_PRIO#defineNEW_THREAD_TWO_PRIO8#defineNEW_THREAD_TWO_PREEMPTION_THRESHOLD8#defineTHREAD_ONE_EVT0x01#defineTHREAD_TWO_EVT0x0212 defines/* USER CODE END PD *//* USER CODE BEGIN 1 *//* USER CODE END 1 */#ifdef__cplusplus}extern "C" { ... }#endif/* ... */#endif/* __APP_THREADX_H__ */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.