AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
lib_delay.h File Reference

Header file for delay. More...

Go to the source code of this file.

Functions

uint32_t millis ()
 Get time elapsed in milli seconds since start-up. More...
 
int64_t micros ()
 Get time elapsed in micro seconds since start-up. More...
 
void delay (uint32_t waitTime_u32)
 Delay, wait until given time period. More...
 

Detailed Description

Header file for delay.

Function Documentation

◆ delay()

void delay ( uint32_t  waitTime_u32)

Delay, wait until given time period.

Parameters
[in]waitTime_u32Number of milli-seconds to wait
Returns
none

◆ micros()

int64_t micros ( )

Get time elapsed in micro seconds since start-up.

Parameters
none
Returns
Number of micro seconds

◆ millis()

uint32_t millis ( )

Get time elapsed in milli seconds since start-up.

Parameters
none
Returns
Number of milli seconds