thomas haine / Mbed OS CIS001_v2_v2
Revision:
0:e7352f4f3dcb
Child:
3:c9f65f6d2092
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common_task.h	Thu Jun 18 12:36:05 2020 +0000
@@ -0,0 +1,58 @@
+
+
+/**
+  ******************************************************************************
+  * @file           : common_task.h
+  * @brief          : Header for common_task.c file.
+  *                   This file contains the common defines of the application.
+  ******************************************************************************
+  ******************************************************************************
+  */
+
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __COMMON_TASK_H__
+#define __COMMON_TASK_H__
+
+/* Includes ------------------------------------------------------------------*/
+
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* Private define ------------------------------------------------------------*/
+
+/* ########################## Assert Selection ############################## */
+/**
+  * @brief Uncomment the line below to expanse the "assert_param" macro in the 
+  *        HAL drivers code
+  */
+/* #define USE_FULL_ASSERT    1U */
+
+/* USER CODE BEGIN Private defines */
+
+    int myprint(const char* mystring);
+
+    void usage(void);
+    
+    void TASK_INIT();
+    
+    void TASK_RSTN();
+    
+    void TASK_SPI_WRITE(int adr, int data);
+    
+    int TASK_SPI_READ(int adr);
+    
+    void TASK_TEST_SPI();
+    
+    void TASK_ANALOG_CALIB();
+    
+    void TASK_auto_ccal();
+
+
+/* USER CODE END Private defines */
+
+
+#endif /* __COMMON_TASK_H__ */
+
+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/