Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
common_task.h@0:e7352f4f3dcb, 2020-06-18 (annotated)
- Committer:
- thomashaine
- Date:
- Thu Jun 18 12:36:05 2020 +0000
- Revision:
- 0:e7352f4f3dcb
- Child:
- 3:c9f65f6d2092
rev1
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| thomashaine | 0:e7352f4f3dcb | 1 | |
| thomashaine | 0:e7352f4f3dcb | 2 | |
| thomashaine | 0:e7352f4f3dcb | 3 | /** | 
| thomashaine | 0:e7352f4f3dcb | 4 | ****************************************************************************** | 
| thomashaine | 0:e7352f4f3dcb | 5 | * @file : common_task.h | 
| thomashaine | 0:e7352f4f3dcb | 6 | * @brief : Header for common_task.c file. | 
| thomashaine | 0:e7352f4f3dcb | 7 | * This file contains the common defines of the application. | 
| thomashaine | 0:e7352f4f3dcb | 8 | ****************************************************************************** | 
| thomashaine | 0:e7352f4f3dcb | 9 | ****************************************************************************** | 
| thomashaine | 0:e7352f4f3dcb | 10 | */ | 
| thomashaine | 0:e7352f4f3dcb | 11 | |
| thomashaine | 0:e7352f4f3dcb | 12 | |
| thomashaine | 0:e7352f4f3dcb | 13 | /* Define to prevent recursive inclusion -------------------------------------*/ | 
| thomashaine | 0:e7352f4f3dcb | 14 | #ifndef __COMMON_TASK_H__ | 
| thomashaine | 0:e7352f4f3dcb | 15 | #define __COMMON_TASK_H__ | 
| thomashaine | 0:e7352f4f3dcb | 16 | |
| thomashaine | 0:e7352f4f3dcb | 17 | /* Includes ------------------------------------------------------------------*/ | 
| thomashaine | 0:e7352f4f3dcb | 18 | |
| thomashaine | 0:e7352f4f3dcb | 19 | /* USER CODE BEGIN Includes */ | 
| thomashaine | 0:e7352f4f3dcb | 20 | |
| thomashaine | 0:e7352f4f3dcb | 21 | /* USER CODE END Includes */ | 
| thomashaine | 0:e7352f4f3dcb | 22 | |
| thomashaine | 0:e7352f4f3dcb | 23 | /* Private define ------------------------------------------------------------*/ | 
| thomashaine | 0:e7352f4f3dcb | 24 | |
| thomashaine | 0:e7352f4f3dcb | 25 | /* ########################## Assert Selection ############################## */ | 
| thomashaine | 0:e7352f4f3dcb | 26 | /** | 
| thomashaine | 0:e7352f4f3dcb | 27 | * @brief Uncomment the line below to expanse the "assert_param" macro in the | 
| thomashaine | 0:e7352f4f3dcb | 28 | * HAL drivers code | 
| thomashaine | 0:e7352f4f3dcb | 29 | */ | 
| thomashaine | 0:e7352f4f3dcb | 30 | /* #define USE_FULL_ASSERT 1U */ | 
| thomashaine | 0:e7352f4f3dcb | 31 | |
| thomashaine | 0:e7352f4f3dcb | 32 | /* USER CODE BEGIN Private defines */ | 
| thomashaine | 0:e7352f4f3dcb | 33 | |
| thomashaine | 0:e7352f4f3dcb | 34 | int myprint(const char* mystring); | 
| thomashaine | 0:e7352f4f3dcb | 35 | |
| thomashaine | 0:e7352f4f3dcb | 36 | void usage(void); | 
| thomashaine | 0:e7352f4f3dcb | 37 | |
| thomashaine | 0:e7352f4f3dcb | 38 | void TASK_INIT(); | 
| thomashaine | 0:e7352f4f3dcb | 39 | |
| thomashaine | 0:e7352f4f3dcb | 40 | void TASK_RSTN(); | 
| thomashaine | 0:e7352f4f3dcb | 41 | |
| thomashaine | 0:e7352f4f3dcb | 42 | void TASK_SPI_WRITE(int adr, int data); | 
| thomashaine | 0:e7352f4f3dcb | 43 | |
| thomashaine | 0:e7352f4f3dcb | 44 | int TASK_SPI_READ(int adr); | 
| thomashaine | 0:e7352f4f3dcb | 45 | |
| thomashaine | 0:e7352f4f3dcb | 46 | void TASK_TEST_SPI(); | 
| thomashaine | 0:e7352f4f3dcb | 47 | |
| thomashaine | 0:e7352f4f3dcb | 48 | void TASK_ANALOG_CALIB(); | 
| thomashaine | 0:e7352f4f3dcb | 49 | |
| thomashaine | 0:e7352f4f3dcb | 50 | void TASK_auto_ccal(); | 
| thomashaine | 0:e7352f4f3dcb | 51 | |
| thomashaine | 0:e7352f4f3dcb | 52 | |
| thomashaine | 0:e7352f4f3dcb | 53 | /* USER CODE END Private defines */ | 
| thomashaine | 0:e7352f4f3dcb | 54 | |
| thomashaine | 0:e7352f4f3dcb | 55 | |
| thomashaine | 0:e7352f4f3dcb | 56 | #endif /* __COMMON_TASK_H__ */ | 
| thomashaine | 0:e7352f4f3dcb | 57 | |
| thomashaine | 0:e7352f4f3dcb | 58 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |