Macros
Defines
Peripheral Driver » HAL Driver » DELAY

## Macros
#define | DELAY_US_DWT
#define | __STATIC_FORCEINLINE __STATIC_INLINE
#define | HAL_TIMEOUT_INIT()
| Timeout module init. This macro must be used in conjunction with the HAL_TIMEOUT_DEINIT macro. More...
#define | HAL_TIMEOUT_DEINIT()
| Timeout module deinit. This macro must be used in conjunction with the HAL_TIMEOUT_INIT macro. More...

## Detailed Description

## Macro Definition Documentation

## ◆ __STATIC_FORCEINLINE

#define __STATIC_FORCEINLINE __STATIC_INLINE

Static inline define

## ◆ DELAY_US_DWT

#define DELAY_US_DWT

dealy us dwt define

## ◆ 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.

## ◆ 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.