uFCoder 2.58
Loading...
Searching...
No Matches

Functions

UFR_STATUS DL_API UfrEnterSleepMode (void)
 
UFR_STATUS DL_API UfrLeaveSleepMode (void)
 
UFR_STATUS DL_API AutoSleepSet (uint8_t seconds_wait)
 
UFR_STATUS DL_API AutoSleepGet (VAR uint8_t *seconds_wait)
 

Detailed Description

Function Documentation

◆ UfrEnterSleepMode()

UFR_STATUS DL_API UfrEnterSleepMode ( void )

Turn the device into Sleep mode.

Returns
Operation status

◆ UfrLeaveSleepMode()

UFR_STATUS DL_API UfrLeaveSleepMode ( void )

Wake up device from Sleep mode.

Returns
Operation status

◆ AutoSleepSet()

UFR_STATUS DL_API AutoSleepSet ( uint8_t seconds_wait)

Turn the device into Sleep mode after a certain amount of time.

Parameters
seconds_waitvariable holding value of seconds to wait before entering into sleep. If the parameter is 0x00, the AutoSleep feature is turned off (default state).
Returns
Operation status

◆ AutoSleepGet()

UFR_STATUS DL_API AutoSleepGet ( VAR uint8_t * seconds_wait)

Get status of AutoSleep mode.

Parameters
seconds_waitvariable holding value of seconds to wait before entering into sleep. If the parameter is 0x00, the AutoSleep feature is turned off (default state).
Returns
Operation status