Macros | |
#define | HAL_MAX_DELAY (0xFFFFFFFFU) |
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 |
#define __ALIGN_END |
ALIGN END
Definition at line 195 of file gr55xx_hal_def.h.
#define __HAL_LINKDMA | ( | __HANDLE__, | |
__PPP_DMA_FIELD_, | |||
__DMA_HANDLE_ | |||
) |
Link DMA handle and peripheral handle.
__HANDLE__ | 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 120 of file gr55xx_hal_def.h.
#define __HAL_LOCK | ( | __HANDLE__ | ) |
Lock peripheral handle.
__HANDLE__ | specifies the peripheral handle. |
HAL_BUSY | If handle is locked. |
Definition at line 151 of file gr55xx_hal_def.h.
#define __HAL_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->state = 0U) |
Reset the Handle's State field.
__HANDLE__ | specifies the Peripheral Handle. |
None |
Definition at line 141 of file gr55xx_hal_def.h.
#define __HAL_UNLOCK | ( | __HANDLE__ | ) |
Unlock peripheral handle.
__HANDLE__ | specifies the peripheral handle. |
None |
Definition at line 168 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 111 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 104 of file gr55xx_hal_def.h.
#define HAL_MAX_DELAY (0xFFFFFFFFU) |
HAL max delay definition.
Definition at line 96 of file gr55xx_hal_def.h.