mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
targets/TARGET_NXP/TARGET_LPC82X/device/cmsis.h@177:619788de047e, 2017-11-07 (annotated)
- Committer:
- maxxir
- Date:
- Tue Nov 07 16:46:29 2017 +0000
- Revision:
- 177:619788de047e
- Parent:
- 149:156823d33999
To fix broken RTC on Nucleo_F103RB / STM32F103 BluePill etc..; Used direct RTC register manipulation for STM32F1xx; rtc_read() && rtc_write() (native rtc_init() - works good); also added stub for non-working on STM32F1xx rtc_read_subseconds().
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 144:ef7eb2e8f9f7 | 1 | /* mbed Microcontroller Library - CMSIS |
<> | 144:ef7eb2e8f9f7 | 2 | * Copyright (C) 2009-2011 ARM Limited. All rights reserved. |
<> | 144:ef7eb2e8f9f7 | 3 | * |
<> | 144:ef7eb2e8f9f7 | 4 | * A generic CMSIS include header, pulling in LPC8xx specifics |
<> | 144:ef7eb2e8f9f7 | 5 | */ |
<> | 144:ef7eb2e8f9f7 | 6 | |
<> | 144:ef7eb2e8f9f7 | 7 | #ifndef MBED_CMSIS_H |
<> | 144:ef7eb2e8f9f7 | 8 | #define MBED_CMSIS_H |
<> | 144:ef7eb2e8f9f7 | 9 | |
<> | 144:ef7eb2e8f9f7 | 10 | #include "LPC82x.h" |
<> | 144:ef7eb2e8f9f7 | 11 | #include "cmsis_nvic.h" |
<> | 144:ef7eb2e8f9f7 | 12 | |
<> | 144:ef7eb2e8f9f7 | 13 | #endif |