HALFRED  0.4.0
Macros
DELAY module

Detailed Description

Introduction.

DELAY module provides functionality of delay loops.

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))
 

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_US (   us)    HAL_PORT_DELAY_US((us))

Delays further operation by a specified time (in microseconds)

Parameters
ustime in microseconds
#define DELAY_NS (   ns)    HAL_PORT_DELAY_NS((ns))

Delays further operation by a specified time (in nanoseconds)

Parameters
nstime in nanoseconds