Collaboration diagram for Defines:Macros | |
| #define | HAL_NEVER_TIMEOUT (0xFFFFFFFFU) |
| HAL never timeout definition. More... | |
| #define | HAL_MAX_DELAY (20000U) |
| HAL max delay definition. More... | |
| #define | HAL_IS_BIT_SET(REG, BIT) (((REG) & (BIT)) != RESET) |
| Check whether the bits of register are set. More... | |
| #define | HAL_IS_BIT_CLR(REG, BIT) (((REG) & (BIT)) == RESET) |
| Check whether the bits of register are clear. More... | |
| #define | __HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD_, __DMA_HANDLE_) |
| Link DMA handle and peripheral handle. More... | |
| #define | __HAL_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = 0U) |
| Reset the Handle's State field. More... | |
| #define | __HAL_LOCK(__HANDLE__) |
| Lock peripheral handle. More... | |
| #define | __HAL_UNLOCK(__HANDLE__) |
| Unlock peripheral handle. More... | |
| #define | __ALIGN_END |
| ALIGN END. More... | |
| #define __ALIGN_END |
ALIGN END.
Definition at line 201 of file gr55xx_hal_def.h.
| #define __HAL_LINKDMA | ( | __HANDLE__, | |
| __PPP_DMA_FIELD_, | |||
| __DMA_HANDLE_ | |||
| ) |
Link DMA handle and peripheral handle.
| <strong>HANDLE</strong> | specifies the peripheral handle. |
| __PPP_DMA_FIELD_ | specifies the DMA pointer in struction of peripheral handle. |
| __DMA_HANDLE_ | specifies the DMA handle. |
| None |
Definition at line 126 of file gr55xx_hal_def.h.
| #define __HAL_LOCK | ( | __HANDLE__ | ) |
Lock peripheral handle.
| <strong>HANDLE</strong> | specifies the peripheral handle. |
| HAL_BUSY | If handle is locked. |
Definition at line 157 of file gr55xx_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 147 of file gr55xx_hal_def.h.
| #define __HAL_UNLOCK | ( | __HANDLE__ | ) |
Unlock peripheral handle.
| <strong>HANDLE</strong> | specifies the peripheral handle. |
| None |
Definition at line 174 of file gr55xx_hal_def.h.
| #define HAL_IS_BIT_CLR | ( | REG, | |
| BIT | |||
| ) | (((REG) & (BIT)) == RESET) |
Check whether the bits of register are clear.
| REG | specifies the register. |
| BIT | specifies the bits will be checked. |
| SET | (BIT is clear) or RESET (BIT is not clear) |
Definition at line 117 of file gr55xx_hal_def.h.
| #define HAL_IS_BIT_SET | ( | REG, | |
| BIT | |||
| ) | (((REG) & (BIT)) != RESET) |
Check whether the bits of register are set.
| REG | specifies the register. |
| BIT | specifies the bits will be checked. |
| SET | (BIT is set) or RESET (BIT is not set) |
Definition at line 110 of file gr55xx_hal_def.h.
| #define HAL_MAX_DELAY (20000U) |
HAL max delay definition.
Unit is millisecond. 20000ms is the max delay time in 96MHz system clock.
Definition at line 102 of file gr55xx_hal_def.h.
| #define HAL_NEVER_TIMEOUT (0xFFFFFFFFU) |
HAL never timeout definition.
Definition at line 96 of file gr55xx_hal_def.h.