cis001v2

Revision:
8:66caa906d24c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/check_status.h	Wed Feb 10 16:38:32 2021 +0000
@@ -0,0 +1,42 @@
+/**
+  ******************************************************************************
+  * @file           : check_status.h
+  * @brief          : Header for check_status.cpp file.
+  *                   This file contains the common defines of the application.
+  ******************************************************************************
+  ******************************************************************************
+  */
+
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __CHECK_STATUS_H__
+#define __CHECK_STATUS_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
+  */
+  
+/* USER CODE BEGIN Private defines */
+
+//error debug
+void print_HAL_status_code(HAL_StatusTypeDef val);
+void print_DCMI_error_code(uint32_t errorCode);
+void print_DCMI_state_code(HAL_DCMI_StateTypeDef state);
+void print_HAL_DMA_error_code(uint32_t error_code);
+void print_HAL_DMA_status_code(HAL_DMA_StateTypeDef state_code);
+
+/* USER CODE END Private defines */
+
+
+#endif /* __CHECK_STATUS_H__ */
+
+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/