summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-08 21:33:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-08 21:33:57 +0000
commit0bc978aa032d7bd2a60c577cc261ccdcb8dfd628 (patch)
tree4a16b4b9277f9ddb00b016918c819e991aab8e70 /nuttx/include
parentf0656284a031663c77d59bd4a7fa3b2857767676 (diff)
downloadpx4-nuttx-0bc978aa032d7bd2a60c577cc261ccdcb8dfd628.tar.gz
px4-nuttx-0bc978aa032d7bd2a60c577cc261ccdcb8dfd628.tar.bz2
px4-nuttx-0bc978aa032d7bd2a60c577cc261ccdcb8dfd628.zip
Replace logic STM32 IDLE loop with standard power management interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4284 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/pm.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/pm.h b/nuttx/include/nuttx/pm.h
index 520348ca6..308960fdb 100644
--- a/nuttx/include/nuttx/pm.h
+++ b/nuttx/include/nuttx/pm.h
@@ -2,8 +2,8 @@
* include/nuttx/pm.h
* NuttX Power Management Interfaces
*
- * Copyright (C) 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -78,6 +78,11 @@
* Pre-Processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
+/* CONFIG_IDLE_CUSTOM. Some architectures support this definition. This,
+ * if defined, will allow you replace the default IDLE loop with your
+ * own, custom idle loop to support board-specific IDLE time power managment
+ */
+
/* Time slices. The power management module collects activity counts in
* time slices. At the end of the time slice, the count accumulated during
* that interval is applied to an averaging algorithm to determine the