Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nm_bsp_sleep

Sleep in units of milliseconds.


This function used by the HIF Layer on several different scenarios.

Functions

void nm_bsp_sleep (uint32 u32TimeMsec)
 Used to put the host to sleep for the specified duration (in milliseconds). Forcing the host to sleep for extended period may lead to host not being able to respond to WINC board events. It is important to be considerate while choosing the sleep period. More...
 

void nm_bsp_sleep ( uint32  u32TimeMsec)

Used to put the host to sleep for the specified duration (in milliseconds). Forcing the host to sleep for extended period may lead to host not being able to respond to WINC board events. It is important to be considerate while choosing the sleep period.

Parameters
[in]u32TimeMsecTime unit in milliseconds.
Precondition
Initialize nm_bsp_init first.
Note
Implementation of this function is host dependent.
Warning
Maximum value must nor exceed 4294967295 milliseconds which is equal to 4294967.295 seconds.
See Also
nm_bsp_init
Returns
None

References delay_ms.

Referenced by app_ble_wifi_provisioning(), app_main(), chip_reset(), chip_wake(), cpu_start(), enable_disable_ap_mode(), enable_rf_blocks(), hif_send(), load_efuse_to_regs(), main(), nm_bsp_reset(), nm_bus_init(), nm_drv_init_hold(), socket_cb(), wait_for_bootrom(), wait_for_firmware_start(), write_to_efuse(), and WriteRootCertificate().