|
STM32F4xx HAL Driver master
STM32CubeF4 HAL / LL Drivers API Reference
|
This file contains HAL common defines, enumeration, macros and structures definitions. More...
#include "stm32f4xx.h"#include "Legacy/stm32_hal_legacy.h"#include <stddef.h>Go to the source code of this file.
Macros | |
| #define | HAL_MAX_DELAY 0xFFFFFFFFU |
| #define | HAL_IS_BIT_SET(REG, BIT) |
| #define | HAL_IS_BIT_CLR(REG, BIT) |
| #define | __HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__) |
| #define | __HAL_RESET_HANDLE_STATE(__HANDLE__) |
| Reset the Handle's State field. | |
| #define | __HAL_LOCK(__HANDLE__) |
| #define | __HAL_UNLOCK(__HANDLE__) |
| #define | __ALIGN_END |
Enumerations | |
| enum | HAL_StatusTypeDef { HAL_OK = 0x00U , HAL_ERROR = 0x01U , HAL_BUSY = 0x02U , HAL_TIMEOUT = 0x03U } |
| HAL Status structures definition. More... | |
| enum | HAL_LockTypeDef { HAL_UNLOCKED = 0x00U , HAL_LOCKED = 0x01U } |
| HAL Lock structures definition. More... | |
This file contains HAL common defines, enumeration, macros and structures definitions.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
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.
Definition in file stm32f4xx_hal_def.h.
| #define __ALIGN_END |
Definition at line 145 of file stm32f4xx_hal_def.h.
| #define __HAL_LINKDMA | ( | __HANDLE__, | |
| __PPP_DMA_FIELD__, | |||
| __DMA_HANDLE__ ) |
Definition at line 66 of file stm32f4xx_hal_def.h.
| #define __HAL_LOCK | ( | __HANDLE__ | ) |
Definition at line 93 of file stm32f4xx_hal_def.h.
| #define __HAL_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset the Handle's State field.
| __HANDLE__ | specifies the Peripheral Handle. |
| None |
Definition at line 87 of file stm32f4xx_hal_def.h.
| #define __HAL_UNLOCK | ( | __HANDLE__ | ) |
Definition at line 105 of file stm32f4xx_hal_def.h.
| #define HAL_IS_BIT_CLR | ( | REG, | |
| BIT ) |
Definition at line 64 of file stm32f4xx_hal_def.h.
| #define HAL_IS_BIT_SET | ( | REG, | |
| BIT ) |
Definition at line 63 of file stm32f4xx_hal_def.h.
| #define HAL_MAX_DELAY 0xFFFFFFFFU |
Definition at line 61 of file stm32f4xx_hal_def.h.
Referenced by HAL_Delay().
| enum HAL_LockTypeDef |
HAL Lock structures definition.
| Enumerator | |
|---|---|
| HAL_UNLOCKED | |
| HAL_LOCKED | |
Definition at line 49 of file stm32f4xx_hal_def.h.
| enum HAL_StatusTypeDef |
HAL Status structures definition.
| Enumerator | |
|---|---|
| HAL_OK | |
| HAL_ERROR | |
| HAL_BUSY | |
| HAL_TIMEOUT | |
Definition at line 38 of file stm32f4xx_hal_def.h.