diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 016d43a9cd7..d282ba31867 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -6814,7 +6814,7 @@ void pm_initialize(void);

Description: This function is called by MCU-specific one-time at power on reset in order to initialize the power management capabilities. -This function must be called very early in the initialization sequence before any other device drivers are initialize (since they may attempt to register with the power management subsystem). +This function must be called very early in the initialization sequence before any other device drivers are initialized (since they may attempt to register with the power management subsystem).

Input Parameters: None @@ -6843,7 +6843,27 @@ int pm_register(FAR struct pm_callback_s *callbacks); Zero (OK) on success; otherwise a negated errno value is returned.

-

6.5.2.3 pm_activity()

+

6.5.2.3 pm_unregister()

+

Function Prototype:

+ +

Description: + This function is called by a device driver in order to unregister previously registered power management event callbacks. + Refer to the PM Callback section for more details. +

+

Input Parameters: +

+
callbacks +
An instance of struct pm_callback_s providing the driver callback functions. +
+

+

Returned Value: +Zero (OK) on success; otherwise a negated errno value is returned. +

+ +

6.5.2.4 pm_activity()

Function Prototype: