diff options
author | Karel Gardas <karel@functional.vision> | 2023-07-19 18:04:28 +0200 |
---|---|---|
committer | Karel Gardas <karel@functional.vision> | 2023-07-31 15:15:09 +0200 |
commit | f728eb4dc4e19fce942f4762882f9a2aa06087b9 (patch) | |
tree | d3d85d6d98c286580ffc2795543ffc2848eeff41 /bsps/arm/stm32h7/include/stm32h7xx_hal_dcmi.h | |
parent | bsps/arm: fix nested extern decl. warnings brought by CMSIS files update (diff) | |
download | rtems-f728eb4dc4e19fce942f4762882f9a2aa06087b9.tar.bz2 |
bsps/stm32h7: update STM32 H7 HAL
This patch updates STM32 H7 HAL source files. The files are taken from two
STM projects from their github.com repositories:
(i)
https://github.com/STMicroelectronics/stm32h7xx_hal_driver.git
The project files are still available under BSD-3 license
and the version/commit used is:
d5fc8d05fc16fa2a2a2f948cf6c6ab39e78358e1
which represents post Release v1.11.1 development tree.
(ii)
https://github.com/STMicroelectronics/cmsis_device_h7.git
The project files were re-licensed from previous BSD-3 to Apache 2.0
license. Fortunately the project does not contain NOTICE file so no need
to do anything special when used in RTEMS.
The project version/commit imported is:
6d5ef249bec5177e0e2a0880ed62df2132874d99
which is code-wise Release v1.10.3 exactly.
Diffstat (limited to 'bsps/arm/stm32h7/include/stm32h7xx_hal_dcmi.h')
-rw-r--r-- | bsps/arm/stm32h7/include/stm32h7xx_hal_dcmi.h | 41 |
1 files changed, 12 insertions, 29 deletions
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_hal_dcmi.h b/bsps/arm/stm32h7/include/stm32h7xx_hal_dcmi.h index 1735e540e0..a21afc09d5 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_hal_dcmi.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_hal_dcmi.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - * <h2><center>© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.</center></h2> + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -40,7 +39,6 @@ /* Exported types ------------------------------------------------------------*/ /** @defgroup DCMI_Exported_Types DCMI Exported Types - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ /** @@ -185,12 +183,10 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer /* Exported constants --------------------------------------------------------*/ /** @defgroup DCMI_Exported_Constants DCMI Exported Constants - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ /** @defgroup DCMI_Error_Code DCMI Error Code - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define HAL_DCMI_ERROR_NONE (0x00000000U) /*!< No error */ @@ -206,7 +202,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Capture_Mode DCMI Capture Mode - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_MODE_CONTINUOUS (0x00000000U) /*!< The received data are transferred continuously @@ -218,7 +213,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Synchronization_Mode DCMI Synchronization Mode - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_SYNCHRO_HARDWARE (0x00000000U) /*!< Hardware synchronization data capture (frame/line start/stop) @@ -231,7 +225,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_PIXCK_Polarity DCMI PIXCK Polarity - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_PCKPOLARITY_FALLING (0x00000000U) /*!< Pixel clock active on Falling edge */ @@ -242,7 +235,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_VSYNC_Polarity DCMI VSYNC Polarity - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_VSPOLARITY_LOW (0x00000000U) /*!< Vertical synchronization active Low */ @@ -253,7 +245,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_HSYNC_Polarity DCMI HSYNC Polarity - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_HSPOLARITY_LOW (0x00000000U) /*!< Horizontal synchronization active Low */ @@ -264,7 +255,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_MODE_JPEG DCMI MODE JPEG - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_JPEG_DISABLE (0x00000000U) /*!< Mode JPEG Disabled */ @@ -275,7 +265,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Capture_Rate DCMI Capture Rate - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_CR_ALL_FRAME (0x00000000U) /*!< All frames are captured */ @@ -287,7 +276,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Extended_Data_Mode DCMI Extended Data Mode - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_EXTEND_DATA_8B (0x00000000U) /*!< Interface captures 8-bit data on every pixel clock */ @@ -300,7 +288,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Window_Coordinate DCMI Window Coordinate - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_WINDOW_COORDINATE (0x3FFFU) /*!< Window coordinate */ @@ -310,7 +297,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Window_Height DCMI Window Height - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_WINDOW_HEIGHT (0x1FFFU) /*!< Window Height */ @@ -320,7 +306,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_interrupt_sources DCMI interrupt sources - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_IT_FRAME ((uint32_t)DCMI_IER_FRAME_IE) /*!< Capture complete interrupt */ @@ -333,7 +318,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Flags DCMI Flags - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ @@ -364,7 +348,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Byte_Select_Mode DCMI Byte Select Mode - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_BSM_ALL (0x00000000U) /*!< Interface captures all received data */ @@ -377,7 +360,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Byte_Select_Start DCMI Byte Select Start - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_OEBS_ODD (0x00000000U) /*!< Interface captures first data from the frame/line start, second one being dropped */ @@ -388,7 +370,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Line_Select_Mode DCMI Line Select Mode - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_LSM_ALL (0x00000000U) /*!< Interface captures all received lines */ @@ -399,7 +380,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer */ /** @defgroup DCMI_Line_Select_Start DCMI Line Select Start - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_OELS_ODD (0x00000000U) /*!< Interface captures first line from the frame start, second one being dropped */ @@ -415,7 +395,6 @@ typedef void (*pDCMI_CallbackTypeDef)(DCMI_HandleTypeDef * hdcmi); /*!< pointer /* Exported macro ------------------------------------------------------------*/ /** @defgroup DCMI_Exported_Macros DCMI Exported Macros - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ @@ -601,10 +580,16 @@ uint32_t HAL_DCMI_GetError(DCMI_HandleTypeDef *hdcmi); */ /* Private types -------------------------------------------------------------*/ +/* Private defines -----------------------------------------------------------*/ +/** @defgroup DCMI_Private_Defines DCMI Private Defines + * @{ + */ +/** + * @} + */ /* Private variables ---------------------------------------------------------*/ /* Private constants ---------------------------------------------------------*/ /** @defgroup DCMI_Private_Constants DCMI Private Constants - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define DCMI_MIS_INDEX ((uint32_t)0x1000) /*!< DCMI MIS register index */ @@ -614,7 +599,6 @@ uint32_t HAL_DCMI_GetError(DCMI_HandleTypeDef *hdcmi); */ /* Private macro -------------------------------------------------------------*/ /** @defgroup DCMI_Private_Macros DCMI Private Macros - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define IS_DCMI_CAPTURE_MODE(MODE)(((MODE) == DCMI_MODE_CONTINUOUS) || \ @@ -690,4 +674,3 @@ uint32_t HAL_DCMI_GetError(DCMI_HandleTypeDef *hdcmi); #endif /* STM32H7xx_HAL_DCMI_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |