diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 4dc78a6a0a..7567e4f65d 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -5752,7 +5752,7 @@ enum pm_state_e pm_checkstate(void);
Function Prototype:
#include <nuttx/power/pm.h> - int pm_changestate(enum pm_state_e newstate); + int pm_changestate(int domain, enum pm_state_e newstate);
Description: This function is used by platform-specific power management logic. @@ -5760,6 +5760,8 @@ enum pm_state_e pm_checkstate(void);
Input Parameters:
domain
+ newstate
prepare()
Function Prototype:
-int (*prepare)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate); +int (*prepare)(FAR struct pm_callback_s *cb, int domain, enum pm_state_e pmstate);
Description: Request the driver to prepare for a new power state. @@ -5799,6 +5801,8 @@ int (*prepare)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate);
cb
domain
+ pmstate
Function Prototype:
#include <nuttx/power/pm.h> -void (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate); +void (*notify)(FAR struct pm_callback_s *cb, int domain, enum pm_state_e pmstate);
Description: Notify the driver of new power state. @@ -5826,6 +5830,8 @@ void (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate);
cb
domain
+ pmstate