thomas haine
/
CIS001_v2_v2
cis001v2
check_status.h@8:66caa906d24c, 2021-02-10 (annotated)
- Committer:
- thomashaine
- Date:
- Wed Feb 10 16:38:32 2021 +0000
- Revision:
- 8:66caa906d24c
v2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomashaine | 8:66caa906d24c | 1 | /** |
thomashaine | 8:66caa906d24c | 2 | ****************************************************************************** |
thomashaine | 8:66caa906d24c | 3 | * @file : check_status.h |
thomashaine | 8:66caa906d24c | 4 | * @brief : Header for check_status.cpp file. |
thomashaine | 8:66caa906d24c | 5 | * This file contains the common defines of the application. |
thomashaine | 8:66caa906d24c | 6 | ****************************************************************************** |
thomashaine | 8:66caa906d24c | 7 | ****************************************************************************** |
thomashaine | 8:66caa906d24c | 8 | */ |
thomashaine | 8:66caa906d24c | 9 | |
thomashaine | 8:66caa906d24c | 10 | |
thomashaine | 8:66caa906d24c | 11 | /* Define to prevent recursive inclusion -------------------------------------*/ |
thomashaine | 8:66caa906d24c | 12 | #ifndef __CHECK_STATUS_H__ |
thomashaine | 8:66caa906d24c | 13 | #define __CHECK_STATUS_H__ |
thomashaine | 8:66caa906d24c | 14 | |
thomashaine | 8:66caa906d24c | 15 | /* Includes ------------------------------------------------------------------*/ |
thomashaine | 8:66caa906d24c | 16 | |
thomashaine | 8:66caa906d24c | 17 | /* USER CODE BEGIN Includes */ |
thomashaine | 8:66caa906d24c | 18 | /* USER CODE END Includes */ |
thomashaine | 8:66caa906d24c | 19 | |
thomashaine | 8:66caa906d24c | 20 | /* Private define ------------------------------------------------------------*/ |
thomashaine | 8:66caa906d24c | 21 | |
thomashaine | 8:66caa906d24c | 22 | /* ########################## Assert Selection ############################## */ |
thomashaine | 8:66caa906d24c | 23 | /** |
thomashaine | 8:66caa906d24c | 24 | * @brief Uncomment the line below to expanse the "assert_param" macro in the |
thomashaine | 8:66caa906d24c | 25 | * HAL drivers code |
thomashaine | 8:66caa906d24c | 26 | */ |
thomashaine | 8:66caa906d24c | 27 | |
thomashaine | 8:66caa906d24c | 28 | /* USER CODE BEGIN Private defines */ |
thomashaine | 8:66caa906d24c | 29 | |
thomashaine | 8:66caa906d24c | 30 | //error debug |
thomashaine | 8:66caa906d24c | 31 | void print_HAL_status_code(HAL_StatusTypeDef val); |
thomashaine | 8:66caa906d24c | 32 | void print_DCMI_error_code(uint32_t errorCode); |
thomashaine | 8:66caa906d24c | 33 | void print_DCMI_state_code(HAL_DCMI_StateTypeDef state); |
thomashaine | 8:66caa906d24c | 34 | void print_HAL_DMA_error_code(uint32_t error_code); |
thomashaine | 8:66caa906d24c | 35 | void print_HAL_DMA_status_code(HAL_DMA_StateTypeDef state_code); |
thomashaine | 8:66caa906d24c | 36 | |
thomashaine | 8:66caa906d24c | 37 | /* USER CODE END Private defines */ |
thomashaine | 8:66caa906d24c | 38 | |
thomashaine | 8:66caa906d24c | 39 | |
thomashaine | 8:66caa906d24c | 40 | #endif /* __CHECK_STATUS_H__ */ |
thomashaine | 8:66caa906d24c | 41 | |
thomashaine | 8:66caa906d24c | 42 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |