diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-74FE6572-14B9-4B94-8DD0-803DA21D14A3.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-74FE6572-14B9-4B94-8DD0-803DA21D14A3.dita Tue Mar 30 11:56:28 2010 +0100 @@ -0,0 +1,45 @@ + + + + + +Wakeup +FunctionsDescribes the wakeup functions involved in implementing the Symbian +platform GPIO class. +

One important use of GPIO input pins is to signal a wakeup request to the +CPU. Wakeup requests will usually take place when the system is idling and +clocks are switched off. This means that the kind of trigger used to signal +wakeups must be detected asynchronously (not on a clock edge) and hence that +a wakeup trigger should probably be configured for edge detection and not +level detection. Since a wakeup is generic to the whole CPU regardless of +its origin, wakeups are usually combined into a single signal by a logical +OR operation.

+
Implement the +wakeup functions
    +
  • Implement EnableWakeup() with return + value KErrNone.

    + Enable wakeup on the pin.

  • +
  • Implement DisableWakeup() with return + value KErrNone.

    + Disable wakeup on the pin.

  • +
  • Implement IsWakeupEnabled() with +return value KErrNone.

    + Verify that the pin supports wakeup and determine the wakeup + state. If is enabled set aEnable to True +and if it is disabled set aEnable to False. +

  • +
  • Implement these functions with return value KErrNotSupported: +

      +
    • EnableWakeup()

    • +
    • DisableWakeup()

    • +
    • IsWakeupEnabled()

    • +

    Return KErrNotSupported if the pin does +not support wakeups.

  • +
+
\ No newline at end of file