Docs

You are here:
DELAY module

Macros

#define DELAY_MS(ms)   HAL_PORT_DELAY_MS((ms))
 
#define DELAY_US(us)   HAL_PORT_DELAY_US((us))
 
#define DELAY_NS(ns)   HAL_PORT_DELAY_NS((ns))
 

Detailed Description

Introduction.

DELAY module provides functionality of delay loops.

Macro Definition Documentation

#define DELAY_MS (   ms)    HAL_PORT_DELAY_MS((ms))

Delays further operation by a specified time (in miliseconds)

Parameters
mstime in miliseconds
#define DELAY_NS (   ns)    HAL_PORT_DELAY_NS((ns))

Delays further operation by a specified time (in nanoseconds)

Parameters
nstime in nanoseconds
#define DELAY_US (   us)    HAL_PORT_DELAY_US((us))

Delays further operation by a specified time (in microseconds)

Parameters
ustime in microseconds
Go to Top