This file contains HAL common defines, enumeration, macros and structures definitions. More...
Go to the source code of this file.
Macros | |
#define | __ALIGN_END |
#define | __HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__) |
#define | __HAL_LOCK(__HANDLE__) |
#define | __HAL_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = 0U) |
Reset the Handle's State field. More... | |
#define | __HAL_UNLOCK(__HANDLE__) |
#define | HAL_IS_BIT_CLR(REG, BIT) (((REG) & (BIT)) == 0U) |
#define | HAL_IS_BIT_SET(REG, BIT) (((REG) & (BIT)) == (BIT)) |
#define | HAL_MAX_DELAY 0xFFFFFFFFU |
#define | UNUSED(X) (void)X /* To avoid gcc/g++ warnings */ |
Enumerations | |
enum | HAL_LockTypeDef { HAL_UNLOCKED = 0x00U, HAL_LOCKED = 0x01U, HAL_UNLOCKED = 0x00U, HAL_LOCKED = 0x01U, HAL_UNLOCKED = 0x00U, HAL_LOCKED = 0x01U, HAL_UNLOCKED = 0x00U, HAL_LOCKED = 0x01U, HAL_UNLOCKED = 0x00, HAL_LOCKED = 0x01, HAL_UNLOCKED = 0x00, HAL_LOCKED = 0x01 } |
HAL Lock structures definition More... | |
enum | HAL_StatusTypeDef { HAL_OK = 0x00U, HAL_ERROR = 0x01U, HAL_BUSY = 0x02U, HAL_TIMEOUT = 0x03U, HAL_OK = 0x00U, HAL_ERROR = 0x01U, HAL_BUSY = 0x02U, HAL_TIMEOUT = 0x03U, HAL_OK = 0x00U, HAL_ERROR = 0x01U, HAL_BUSY = 0x02U, HAL_TIMEOUT = 0x03U, HAL_OK = 0x00U, HAL_ERROR = 0x01U, HAL_BUSY = 0x02U, HAL_TIMEOUT = 0x03U, HAL_OK = 0x00, HAL_ERROR = 0x01, HAL_BUSY = 0x02, HAL_TIMEOUT = 0x03, HAL_OK = 0x00, HAL_ERROR = 0x01, HAL_BUSY = 0x02, HAL_TIMEOUT = 0x03 } |
HAL Status structures definition More... | |
This file contains HAL common defines, enumeration, macros and structures definitions.
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
Definition in file stm32f7xx_hal_def.h.
#define __ALIGN_END |
Definition at line 130 of file stm32f7xx_hal_def.h.
#define __HAL_LINKDMA | ( | __HANDLE__, | |
__PPP_DMA_FIELD__, | |||
__DMA_HANDLE__ | |||
) |
Definition at line 65 of file stm32f7xx_hal_def.h.
#define __HAL_LOCK | ( | __HANDLE__ | ) |
Definition at line 92 of file stm32f7xx_hal_def.h.
#define __HAL_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = 0U) |
Reset the Handle's State field.
<strong>HANDLE</strong> | specifies the Peripheral Handle. |
None |
Definition at line 86 of file stm32f7xx_hal_def.h.
#define __HAL_UNLOCK | ( | __HANDLE__ | ) |
Definition at line 104 of file stm32f7xx_hal_def.h.
#define HAL_IS_BIT_CLR | ( | REG, | |
BIT | |||
) | (((REG) & (BIT)) == 0U) |
Definition at line 63 of file stm32f7xx_hal_def.h.
#define HAL_IS_BIT_SET | ( | REG, | |
BIT | |||
) | (((REG) & (BIT)) == (BIT)) |
Definition at line 62 of file stm32f7xx_hal_def.h.
#define HAL_MAX_DELAY 0xFFFFFFFFU |
Definition at line 60 of file stm32f7xx_hal_def.h.
#define UNUSED | ( | X | ) | (void)X /* To avoid gcc/g++ warnings */ |
Definition at line 58 of file stm32f7xx_hal_def.h.
enum HAL_LockTypeDef |
HAL Lock structures definition
Enumerator | |
---|---|
HAL_UNLOCKED | |
HAL_LOCKED | |
HAL_UNLOCKED | |
HAL_LOCKED | |
HAL_UNLOCKED | |
HAL_LOCKED | |
HAL_UNLOCKED | |
HAL_LOCKED | |
HAL_UNLOCKED | |
HAL_LOCKED | |
HAL_UNLOCKED | |
HAL_LOCKED |
Definition at line 50 of file stm32f7xx_hal_def.h.
enum HAL_StatusTypeDef |
HAL Status structures definition
Definition at line 39 of file stm32f7xx_hal_def.h.