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
- Committer:
- thomashaine
- Date:
- 2020-06-18
- Revision:
- 3:c9f65f6d2092
- Parent:
- 0:e7352f4f3dcb
- Child:
- 8:66caa906d24c
File content as of revision 3:c9f65f6d2092:
/**
  ******************************************************************************
  * @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);
    
    int 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****/