This is a RTC additional function. This is only for Nucleo F401RE & F411RE mbed(Added L152RE, F334R8, L476RG & F746xx). If you connected battery backup circuit for internal RTC, you can make a power-off and reset condition. RTC still has proper time and date.
Dependents: Nucleo_rtos_sample PB_Emma_Ethernet
Please refer following NOTE information.
/users/kenjiArai/notebook/nucleo-series-rtc-control-under-power-onoff-and-re/
Diff: SetRTC.h
- Revision:
- 5:1a8e7aed053d
- Parent:
- 2:765470eab2a6
- Child:
- 6:ef7d2c83034d
diff -r 1c1012abfe32 -r 1a8e7aed053d SetRTC.h --- a/SetRTC.h Mon Feb 16 12:43:26 2015 +0000 +++ b/SetRTC.h Wed Feb 18 09:14:28 2015 +0000 @@ -7,7 +7,7 @@ * http://www.page.sannet.ne.jp/kenjia/index.html * http://mbed.org/users/kenjiArai/ * Created: October 24th, 2014 - * Revised: Feburary 16th, 2015 + * Revised: Feburary 18th, 2015 * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE @@ -82,10 +82,10 @@ */ void time_enter_mode(void); -/** Preparation for Deep Sleep (Set I/O port and other peripheral low power condition) +/** Go to Standbay Mode (Set I/O port and other peripheral low power condition) * @param none * @return none */ -void deepsleep_preparation(void); +void goto_standby(void); #endif // SET_RTC_H