Skip to content

Commit bbbd869

Browse files
committed
Merge pull request #158 from bcostm/master
[NUCLEO_L152RE/F030_R8] SPI, I2C, Ticker, PWM updates
2 parents f52cd0e + 4ad143a commit bbbd869

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+934
-505
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/misc.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file misc.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the miscellaneous firmware functions (add-on
88
* to CMSIS functions).
99
*******************************************************************************
@@ -237,4 +237,4 @@ void SysTick_CLKSourceConfig(uint32_t SysTick_CLKSource)
237237
* @}
238238
*/
239239

240-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
240+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/misc.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file misc.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the miscellaneous
88
* firmware library functions (add-on to CMSIS functions).
99
*******************************************************************************
@@ -232,4 +232,4 @@ void SysTick_CLKSourceConfig(uint32_t SysTick_CLKSource);
232232
* @}
233233
*/
234234

235-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
235+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_adc.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_adc.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the ADC firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -1319,4 +1319,4 @@ void ADC_ClearITPendingBit(ADC_TypeDef* ADCx, uint16_t ADC_IT)
13191319
* @}
13201320
*/
13211321

1322-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
1322+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_adc.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_adc.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the ADC firmware
88
* library.
99
*******************************************************************************
@@ -495,4 +495,4 @@ void ADC_ClearITPendingBit(ADC_TypeDef* ADCx, uint16_t ADC_IT);
495495
* @}
496496
*/
497497

498-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
498+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_bkp.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_bkp.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the BKP firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -320,4 +320,4 @@ void BKP_ClearITPendingBit(void)
320320
* @}
321321
*/
322322

323-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
323+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_bkp.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_bkp.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the BKP firmware
88
* library.
99
*******************************************************************************
@@ -207,4 +207,4 @@ void BKP_ClearITPendingBit(void);
207207
* @}
208208
*/
209209

210-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
210+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_can.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_can.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the CAN firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -1427,4 +1427,4 @@ static ITStatus CheckITStatus(uint32_t CAN_Reg, uint32_t It_Bit)
14271427
* @}
14281428
*/
14291429

1430-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
1430+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_can.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_can.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the CAN firmware
88
* library.
99
*******************************************************************************
@@ -709,4 +709,4 @@ void CAN_ClearITPendingBit(CAN_TypeDef* CANx, uint32_t CAN_IT);
709709
* @}
710710
*/
711711

712-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
712+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_cec.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_cec.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the CEC firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -445,4 +445,4 @@ void CEC_ClearITPendingBit(uint16_t CEC_IT)
445445
* @}
446446
*/
447447

448-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
448+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_cec.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_cec.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the CEC firmware
88
* library.
99
*******************************************************************************
@@ -222,4 +222,4 @@ void CEC_ClearITPendingBit(uint16_t CEC_IT);
222222
* @}
223223
*/
224224

225-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
225+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_conf.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file Project/STM32F10x_StdPeriph_Template/stm32f10x_conf.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 08-April-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief Library configuration file.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -89,4 +89,4 @@
8989

9090
#endif /* __STM32F10x_CONF_H */
9191

92-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
92+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_crc.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_crc.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the CRC firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -172,4 +172,4 @@ uint8_t CRC_GetIDRegister(void)
172172
* @}
173173
*/
174174

175-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
175+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_crc.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_crc.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the CRC firmware
88
* library.
99
*******************************************************************************
@@ -106,4 +106,4 @@ uint8_t CRC_GetIDRegister(void);
106106
* @}
107107
*/
108108

109-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
109+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_dac.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_dac.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the DAC firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -583,4 +583,4 @@ void DAC_ClearITPendingBit(uint32_t DAC_Channel, uint32_t DAC_IT)
583583
* @}
584584
*/
585585

586-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
586+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_dac.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_dac.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the DAC firmware
88
* library.
99
*******************************************************************************
@@ -329,4 +329,4 @@ void DAC_ClearITPendingBit(uint32_t DAC_Channel, uint32_t DAC_IT);
329329
* @}
330330
*/
331331

332-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
332+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_dbgmcu.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_dbgmcu.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the DBGMCU firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -174,4 +174,4 @@ void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState)
174174
* @}
175175
*/
176176

177-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
177+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_dbgmcu.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_dbgmcu.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the DBGMCU
88
* firmware library.
99
*******************************************************************************
@@ -131,4 +131,4 @@ void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState);
131131
* @}
132132
*/
133133

134-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
134+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_dma.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_dma.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the DMA firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -726,4 +726,4 @@ void DMA_ClearITPendingBit(uint32_t DMAy_IT)
726726
* @}
727727
*/
728728

729-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
729+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_dma.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_dma.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the DMA firmware
88
* library.
99
*******************************************************************************
@@ -451,4 +451,4 @@ void DMA_ClearITPendingBit(uint32_t DMAy_IT);
451451
* @}
452452
*/
453453

454-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
454+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_exti.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_exti.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the EXTI firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -281,4 +281,4 @@ void EXTI_ClearITPendingBit(uint32_t EXTI_Line)
281281
* @}
282282
*/
283283

284-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
284+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_exti.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_exti.h
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file contains all the functions prototypes for the EXTI firmware
88
* library.
99
*******************************************************************************
@@ -97,7 +97,7 @@ typedef struct
9797
This parameter can be a value of @ref EXTIMode_TypeDef */
9898

9999
EXTITrigger_TypeDef EXTI_Trigger; /*!< Specifies the trigger signal active edge for the EXTI lines.
100-
This parameter can be a value of @ref EXTIMode_TypeDef */
100+
This parameter can be a value of @ref EXTITrigger_TypeDef */
101101

102102
FunctionalState EXTI_LineCmd; /*!< Specifies the new state of the selected EXTI lines.
103103
This parameter can be set either to ENABLE or DISABLE */
@@ -196,4 +196,4 @@ void EXTI_ClearITPendingBit(uint32_t EXTI_Line);
196196
* @}
197197
*/
198198

199-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
199+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_flash.c

+3-8
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f10x_flash.c
44
* @author MCD Application Team
5-
* @version V3.5.0
6-
* @date 11-March-2011
5+
* @version V3.6.1
6+
* @date 05-March-2012
77
* @brief This file provides all the FLASH firmware functions.
88
*******************************************************************************
99
* Copyright (c) 2014, STMicroelectronics
@@ -88,11 +88,6 @@
8888
#define WRP3_Mask ((uint32_t)0xFF000000)
8989
#define OB_USER_BFB2 ((uint16_t)0x0008)
9090

91-
/* FLASH Keys */
92-
#define RDP_Key ((uint16_t)0x00A5)
93-
#define FLASH_KEY1 ((uint32_t)0x45670123)
94-
#define FLASH_KEY2 ((uint32_t)0xCDEF89AB)
95-
9691
/* FLASH BANK address */
9792
#define FLASH_BANK1_END_ADDRESS ((uint32_t)0x807FFFF)
9893

@@ -1696,4 +1691,4 @@ FLASH_Status FLASH_WaitForLastBank2Operation(uint32_t Timeout)
16961691
* @}
16971692
*/
16981693

1699-
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
1694+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 commit comments

Comments
 (0)