From 3d2ac1dd78fbec255823415ef5498d35056b7361 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 22 Jan 2012 16:42:49 +0000 Subject: Create directory structures to support power-related devices git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4321 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/Documentation/NuttxPortingGuide.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'nuttx/Documentation') diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 7ef4e522a..62f5d1d11 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -3331,18 +3331,18 @@ extern void up_ledoff(int led); SLEEP (some MCUs may even require going through reset).

- These various states are represented with type enum pm_state_e in include/nuttx/pm.h. + These various states are represented with type enum pm_state_e in include/nuttx/power/pm.h.

6.4.2 Interfaces

- All PM interfaces are declared in the file include/nuttx/pm.h. + All PM interfaces are declared in the file include/nuttx/power/pm.h.

6.4.2.1 pm_initialize()

Function Prototype:

Description: @@ -3359,7 +3359,7 @@ None

6.4.2.2 pm_register()

Function Prototype:

Description: @@ -3379,7 +3379,7 @@ Zero (OK) on success; otherwise a negater errno value

6.4.2.3 pm_activity()

Function Prototype:

Description: @@ -3406,7 +3406,7 @@ void pm_activity(int priority);

6.4.2.4 pm_checkstate()

Function Prototype:

Description: @@ -3433,7 +3433,7 @@ enum pm_state_e pm_checkstate(void);

6.4.2.5 pm_changestate()

Function Prototype:

Description: @@ -3461,7 +3461,7 @@ enum pm_state_e pm_checkstate(void);

6.4.3 Callbacks

The struct pm_callback_s includes the pointers to the driver callback functions. - This structure is defined include/nuttx/pm.h. + This structure is defined include/nuttx/power/pm.h. These callback functions can be used to provide power management information to the driver.

@@ -3496,7 +3496,7 @@ int (*prepare)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate);

6.4.3.1 notify()

Function Prototype:

Description: -- cgit v1.2.3