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_gfxmmu.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_gfxmmu.h')
-rw-r--r-- | bsps/arm/stm32h7/include/stm32h7xx_hal_gfxmmu.h | 44 |
1 files changed, 13 insertions, 31 deletions
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_hal_gfxmmu.h b/bsps/arm/stm32h7/include/stm32h7xx_hal_gfxmmu.h index b41ac36ed1..819f3eadf9 100644 --- a/bsps/arm/stm32h7/include/stm32h7xx_hal_gfxmmu.h +++ b/bsps/arm/stm32h7/include/stm32h7xx_hal_gfxmmu.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 GFXMMU_Exported_Types GFXMMU Exported Types - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ @@ -70,15 +68,15 @@ typedef struct typedef struct { FunctionalState Activation; /*!< Cache and pre-fetch enable/disable. - @note: All following parameters are usefull only if cache and pre-fetch are enabled. */ + @note: All following parameters are useful only if cache and pre-fetch are enabled. */ uint32_t CacheLock; /*!< Locking the cache to a buffer. This parameter can be a value of @ref GFXMMU_CacheLock. */ uint32_t CacheLockBuffer; /*!< Buffer on which the cache is locked. This parameter can be a value of @ref GFXMMU_CacheLockBuffer. - @note: Usefull only when lock of the cache is enabled. */ + @note: Useful only when lock of the cache is enabled. */ uint32_t CacheForce; /*!< Forcing the cache regardless MPU attributes. This parameter can be a value of @ref GFXMMU_CacheForce. - @note: Usefull only when lock of the cache is enabled. */ + @note: Useful only when lock of the cache is enabled. */ uint32_t OutterBufferability; /*!< Bufferability of an access generated by the GFXMMU cache. This parameter can be a value of @ref GFXMMU_OutterBufferability. */ uint32_t OutterCachability; /*!< Cachability of an access generated by the GFXMMU cache. @@ -95,7 +93,7 @@ typedef struct FunctionalState Activation; /*!< Interrupts enable/disable */ uint32_t UsedInterrupts; /*!< Interrupts used. This parameter can be a values combination of @ref GFXMMU_Interrupts. - @note: Usefull only when interrupts are enabled. */ + @note: Useful only when interrupts are enabled. */ }GFXMMU_InterruptsTypeDef; /** @@ -174,12 +172,10 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); /* Exported constants --------------------------------------------------------*/ /** @defgroup GFXMMU_Exported_Constants GFXMMU Exported Constants - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ /** @defgroup GFXMMU_BlocksPerLine GFXMMU blocks per line - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_256BLOCKS 0x00000000U /*!< 256 blocks of 16 bytes per line */ @@ -189,7 +185,6 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); */ /** @defgroup GFXMMU_CacheLock GFXMMU cache lock - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_CACHE_LOCK_DISABLE 0x00000000U /*!< Cache not locked to a buffer */ @@ -199,7 +194,6 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); */ /** @defgroup GFXMMU_CacheLockBuffer GFXMMU cache lock buffer - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_CACHE_LOCK_BUFFER0 0x00000000U /*!< Cache locked to buffer 0 */ @@ -211,7 +205,6 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); */ /** @defgroup GFXMMU_CacheForce GFXMMU cache force - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_CACHE_FORCE_DISABLE 0x00000000U /*!< Caching not forced */ @@ -220,8 +213,7 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); * @} */ -/** @defgroup GFXMMU_OutterBufferability GFXMMU outter bufferability - * @ingroup RTEMSBSPsARMSTM32H7 +/** @defgroup GFXMMU_OutterBufferability GFXMMU outer bufferability * @{ */ #define GFXMMU_OUTTER_BUFFERABILITY_DISABLE 0x00000000U /*!< No bufferable */ @@ -230,18 +222,16 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); * @} */ -/** @defgroup GFXMMU_OutterCachability GFXMMU outter cachability - * @ingroup RTEMSBSPsARMSTM32H7 +/** @defgroup GFXMMU_OutterCachability GFXMMU outer cachability * @{ */ -#define GFXMMU_OUTTER_CACHABILITY_DISABLE 0x00000000U /*!< No cachable */ -#define GFXMMU_OUTTER_CACHABILITY_ENABLE GFXMMU_CR_OC /*!< Cachable */ +#define GFXMMU_OUTTER_CACHABILITY_DISABLE 0x00000000U /*!< No cacheable */ +#define GFXMMU_OUTTER_CACHABILITY_ENABLE GFXMMU_CR_OC /*!< Cacheable */ /** * @} */ /** @defgroup GFXMMU_Prefetch GFXMMU pre-fetch - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_PREFETCH_DISABLE GFXMMU_CR_PD /*!< Pre-fetch disable */ @@ -251,7 +241,6 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); */ /** @defgroup GFXMMU_Interrupts GFXMMU interrupts - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_AHB_MASTER_ERROR_IT GFXMMU_CR_AMEIE /*!< AHB master error interrupt */ @@ -264,7 +253,6 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); */ /** @defgroup GFXMMU_Error_Code GFXMMU Error Code - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_ERROR_NONE 0x00000000U /*!< No error */ @@ -281,7 +269,6 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); */ /** @defgroup GFXMMU_LutLineStatus GFXMMU LUT line status - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_LUT_LINE_DISABLE 0x00000000U /*!< LUT line disabled */ @@ -291,7 +278,6 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); */ /** @defgroup GFXMMU_CacheForceParam GFXMMU cache force parameter - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define GFXMMU_CACHE_FORCE_FLUSH GFXMMU_CCR_FF /*!< Force cache flush */ @@ -307,7 +293,6 @@ typedef void (*pGFXMMU_CallbackTypeDef)(GFXMMU_HandleTypeDef *hgfxmmu); /* Exported macros -----------------------------------------------------------*/ /** @defgroup GFXMMU_Exported_Macros GFXMMU Exported Macros - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ @@ -385,7 +370,6 @@ void HAL_GFXMMU_ErrorCallback(GFXMMU_HandleTypeDef *hgfxmmu); */ /** @defgroup GFXMMU_Exported_Functions_Group3 State functions - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ /* State function *************************************************************/ @@ -403,7 +387,6 @@ uint32_t HAL_GFXMMU_GetError(GFXMMU_HandleTypeDef *hgfxmmu); /* Private macros ------------------------------------------------------------*/ /** @defgroup GFXMMU_Private_Macros GFXMMU Private Macros - * @ingroup RTEMSBSPsARMSTM32H7 * @{ */ #define IS_GFXMMU_BLOCKS_PER_LINE(VALUE) (((VALUE) == GFXMMU_256BLOCKS) || \ @@ -466,4 +449,3 @@ uint32_t HAL_GFXMMU_GetError(GFXMMU_HandleTypeDef *hgfxmmu); #endif /* STM32H7xx_HAL_GFXMMU_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |