|
DIY Logging Volt/Ampmeter
|
This file contains HAL common defines, enumeration, macros and structures definitions. More...
Go to the source code of this file.
Macros | |
| #define | HAL_MAX_DELAY 0xFFFFFFFFU |
| #define | HAL_IS_BIT_SET(REG, BIT) (((REG) & (BIT)) != 0U) |
| #define | HAL_IS_BIT_CLR(REG, BIT) (((REG) & (BIT)) == 0U) |
| #define | __HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__) |
| #define | UNUSED(X) (void)X /* To avoid gcc/g++ warnings */ |
| #define | __HAL_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = 0U) |
| Reset the Handle's State field. More... | |
| #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.
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 stm32f1xx_hal_def.h.
| #define __ALIGN_END |
Definition at line 143 of file stm32f1xx_hal_def.h.
| #define __HAL_LINKDMA | ( | __HANDLE__, | |
| __PPP_DMA_FIELD__, | |||
| __DMA_HANDLE__ | |||
| ) |
Definition at line 62 of file stm32f1xx_hal_def.h.
| #define __HAL_LOCK | ( | __HANDLE__ | ) |
Definition at line 91 of file stm32f1xx_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 85 of file stm32f1xx_hal_def.h.
| #define __HAL_UNLOCK | ( | __HANDLE__ | ) |
Definition at line 103 of file stm32f1xx_hal_def.h.
| #define HAL_IS_BIT_CLR | ( | REG, | |
| BIT | |||
| ) | (((REG) & (BIT)) == 0U) |
Definition at line 60 of file stm32f1xx_hal_def.h.
| #define HAL_IS_BIT_SET | ( | REG, | |
| BIT | |||
| ) | (((REG) & (BIT)) != 0U) |
Definition at line 59 of file stm32f1xx_hal_def.h.
| #define HAL_MAX_DELAY 0xFFFFFFFFU |
Definition at line 57 of file stm32f1xx_hal_def.h.
| #define UNUSED | ( | X | ) | (void)X /* To avoid gcc/g++ warnings */ |
Definition at line 68 of file stm32f1xx_hal_def.h.
| enum HAL_LockTypeDef |
HAL Lock structures definition.
| Enumerator | |
|---|---|
| HAL_UNLOCKED | |
| HAL_LOCKED | |
Definition at line 50 of file stm32f1xx_hal_def.h.
| enum HAL_StatusTypeDef |
HAL Status structures definition.
| Enumerator | |
|---|---|
| HAL_OK | |
| HAL_ERROR | |
| HAL_BUSY | |
| HAL_TIMEOUT | |
Definition at line 39 of file stm32f1xx_hal_def.h.