This function specifies the key to wake up on standby.

Syntax

unsigned char SetWakeupKey(
  unsigned char mode
);

Parameters

mode
[in] Specify the key to return to standby.
ValueDescription
WAKEUP_ANYKEY It will return with any keys.
WAKEUP_POWERKEY It recovers only with the power key. (Default)

Return value

Returns the setting value before this function is called.

Remarks

This function is for compatibility with older OS,
but it is not recommended as it may cause malfunction.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/07