BT_SYS_AllowSystemSleep
C
bool BT_SYS_AllowSystemSleep(uint32_t ulRtcFrequency, uint32_t ulRtcCurrentCnt);
Description
Check if the Bluetooth system allows the system to enter sleep mode.
Parameters
Parameter | Description |
---|---|
[in] ulRtcFrequency | The frequency of the RTC used for timing sleep duration. |
[in] ulRtcCurrentCnt | The current count value of the RTC. |
Return values
Return value | Description |
---|---|
true | The Bluetooth system is sleeping and allows the system to sleep. |
false | The Bluetooth system is not sleeping or disallows the system to sleep. |