diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-27 13:32:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-27 13:32:21 +0000 |
commit | cfe14dccae1e63f5067ea29d27921fda26d735b2 (patch) | |
tree | 344b18e6f8092ab5105661c5a1a0d662cf96471d /nuttx/configs/stm32f4discovery | |
parent | a1f510576ad37d88d0985cf0ede02135c466d3a2 (diff) | |
download | px4-nuttx-cfe14dccae1e63f5067ea29d27921fda26d735b2.tar.gz px4-nuttx-cfe14dccae1e63f5067ea29d27921fda26d735b2.tar.bz2 px4-nuttx-cfe14dccae1e63f5067ea29d27921fda26d735b2.zip |
PM updates (missed last night)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4983 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f4discovery')
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h b/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h index 917ccbd98..5d16f8caf 100644 --- a/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h +++ b/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h @@ -209,6 +209,19 @@ void stm32_disablefsmc(void); void up_ledpminitialize(void); #endif +/**************************************************************************** + * Name: up_pmbuttons + * + * Description: + * Configure the user button of the STM32f4discovery board as EXTI, + * so it is able to wakeup the MCU from the PM_STANDBY mode + * + ****************************************************************************/ + +#if defined(CONFIG_PM) && defined(CONFIG_IDLE_CUSTOM) && defined(CONFIG_PM_BUTTONS) +void up_pmbuttons(void); +#endif + #endif /* __ASSEMBLY__ */ #endif /* __CONFIGS_STM3240G_EVAL_SRC_STM3240G_INTERNAL_H */ |