Macros
Defines
Peripheral Driver » HAL Driver » DELAY

## Macros
#define | DELAY_US_DWT
| dealy us dwt define More...
#define | __STATIC_FORCEINLINE __STATIC_INLINE
| Static inline define. More...
#define | HAL_TIMEOUT_INIT()
| Timeout module init. More...
#define | HAL_TIMEOUT_DEINIT()
| Timeout module deinit. More...

## Detailed Description

## Macro Definition Documentation

## ◆ __STATIC_FORCEINLINE

#define __STATIC_FORCEINLINE __STATIC_INLINE

Static inline define.

Definition at line 79 of file gr55xx_delay.h.

## ◆ DELAY_US_DWT

#define DELAY_US_DWT

dealy us dwt define

Definition at line 62 of file gr55xx_delay.h.

## ◆ HAL_TIMEOUT_DEINIT

#define HAL_TIMEOUT_DEINIT | ( |  | ) |

Value:
do { \
hal_dwt_disable(_demcr_initial, _dwt_ctrl_initial); \
} while(0)

Timeout module deinit.

This macro must be used in conjunction with the HAL_TIMEOUT_INIT macro

Definition at line 137 of file gr55xx_delay.h.

## ◆ HAL_TIMEOUT_INIT

#define HAL_TIMEOUT_INIT | ( |  | ) |

Value:
uint32_t _demcr_initial = CoreDebug->DEMCR; \
uint32_t _dwt_ctrl_initial = DWT->CTRL; \
do { \
hal_dwt_enable(_demcr_initial, _dwt_ctrl_initial); \
} while (0)

Timeout module init.

This macro must be used in conjunction with the HAL_TIMEOUT_DEINIT macro

Definition at line 126 of file gr55xx_delay.h.