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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers modify_info_F334.h Source File

modify_info_F334.h

00001 /*
00002  * mbed Application program
00003  *      Library differ part (This is only information document)
00004  *
00005  * Copyright (c) 2015,'16 Kenji Arai / JH1PJL
00006  *  http://www.page.sannet.ne.jp/kenjia/index.html
00007  *  http://mbed.org/users/kenjiArai/
00008  *      Created: January   23rd, 2015
00009  *      Revised: May       28th, 2016
00010  *
00011  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
00012  * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
00013  * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
00014  * DAMAGES OR OTHER  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
00015  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00016  */
00017 //*************************************************************************************************
00018 //  Replace following files in the library
00019 //      rtc_api.c -> rtc_api_F334.c
00020 //*************************************************************************************************
00021 //
00022 // (1) Update mbed-dev library if you want
00023 // (2) File rtc_api_F334.c copy to directry
00024 //     /mbed-dev/targets/hal/TARGET_STM/TARGET_STM32F3/
00025 // (3) Delete rtc_api.c in the same directory
00026 // (4) Edit rtc_api_F334.c
00027 //     Modify 1st line #if 0 --> #if 1
00028 //