uFCoder 2.62
Loading...
Searching...
No Matches

Functions

UFR_STATUS DL_API AutoSleepGet (VAR uint8_t *seconds_wait)
 Get status of AutoSleep mode.
 
UFR_STATUS DL_API AutoSleepSet (uint8_t seconds_wait)
 Turn the device into Sleep mode after a certain amount of time.
 
UFR_STATUS DL_API UfrEnterSleepMode (void)
 Turn the device into Sleep mode.
 
UFR_STATUS DL_API UfrLeaveSleepMode (void)
 Wake up device from Sleep mode.
 

Detailed Description

Function Documentation

◆ 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

◆ 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

◆ 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