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_TOSHIBA/TARGET_TMPM066/device/cmsis.h@177:619788de047e, 2017-11-07 (annotated)
- Committer:
- maxxir
- Date:
- Tue Nov 07 16:46:29 2017 +0000
- Revision:
- 177:619788de047e
- Parent:
- 172:7d866c31b3c5
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 |
---|---|---|---|
AnnaBridge | 172:7d866c31b3c5 | 1 | /* mbed Microcontroller Library - CMSIS for TMPM066 |
AnnaBridge | 172:7d866c31b3c5 | 2 | * Copyright (C) 2011 ARM Limited. All rights reserved. |
AnnaBridge | 172:7d866c31b3c5 | 3 | * |
AnnaBridge | 172:7d866c31b3c5 | 4 | * A generic CMSIS include header, pulling in TMPM066 specifics |
AnnaBridge | 172:7d866c31b3c5 | 5 | */ |
AnnaBridge | 172:7d866c31b3c5 | 6 | #ifndef MBED_CMSIS_H |
AnnaBridge | 172:7d866c31b3c5 | 7 | #define MBED_CMSIS_H |
AnnaBridge | 172:7d866c31b3c5 | 8 | |
AnnaBridge | 172:7d866c31b3c5 | 9 | #include "TMPM066.h" |
AnnaBridge | 172:7d866c31b3c5 | 10 | #include "cmsis_nvic.h" |
AnnaBridge | 172:7d866c31b3c5 | 11 | |
AnnaBridge | 172:7d866c31b3c5 | 12 | #endif |