mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-02 02:10:19 +08:00
feat(newib): Add "usleep" and "sleep" function
This commit is contained in:
@ -97,6 +97,16 @@ extern uint32_t WDEV_INTEREST_EVENT;
|
||||
*/
|
||||
void os_delay_us(uint16_t us);
|
||||
|
||||
/**
|
||||
* @brief CPU do while loop for some time.
|
||||
* In FreeRTOS task, please call FreeRTOS apis.
|
||||
*
|
||||
* @param uint32_t us : Delay time in us.
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void ets_delay_us(uint32_t us);
|
||||
|
||||
/**
|
||||
* @brief Register the print output function.
|
||||
*
|
||||
|
Reference in New Issue
Block a user