Skip to content

Commit a41d1d6

Browse files
committed
Merge pull request #1449 from dbestm/dev_xxxx_xxx
I2C fixes, timeout for startup ~100/200
2 parents 936c576 + 035f3ec commit a41d1d6

File tree

31 files changed

+117
-26
lines changed

31 files changed

+117
-26
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
*/
118118

119119
/* Select the clock sources (other than HSI) to start with (0=OFF, 1=ON) */
120-
#define USE_PLL_HSE_EXTC (1) /* Use external clock */
120+
#define USE_PLL_HSE_EXTC (0) /* Use external clock */
121121
#define USE_PLL_HSE_XTAL (0) /* Use external xtal */
122122

123123
/**

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
*/
118118

119119
/* Select the clock sources (other than HSI) to start with (0=OFF, 1=ON) */
120-
#define USE_PLL_HSE_EXTC (1) /* Use external clock */
120+
#define USE_PLL_HSE_EXTC (0) /* Use external clock */
121121
#define USE_PLL_HSE_XTAL (0) /* Use external xtal */
122122

123123
/**

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
* Timeout value
9494
*/
9595
#if !defined (HSE_STARTUP_TIMEOUT)
96-
#define HSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for HSE start up, in ms */
96+
#define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
9797
#endif /* HSE_STARTUP_TIMEOUT */
9898

9999
/**
@@ -110,7 +110,7 @@
110110
* Timeout value
111111
*/
112112
#if !defined (HSI_STARTUP_TIMEOUT)
113-
#define HSI_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for HSI start up */
113+
#define HSI_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for HSI start up */
114114
#endif /* HSI_STARTUP_TIMEOUT */
115115

116116
/**
@@ -147,7 +147,7 @@
147147
#endif /* LSE_VALUE */
148148

149149
#if !defined (LSE_STARTUP_TIMEOUT)
150-
#define LSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for LSE start up, in ms */
150+
#define LSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for LSE start up, in ms */
151151
#endif /* HSE_STARTUP_TIMEOUT */
152152

153153

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_conf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
#endif /* HSE_VALUE */
100100

101101
#if !defined (HSE_STARTUP_TIMEOUT)
102-
#define HSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for HSE start up, in ms */
102+
#define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
103103
#endif /* HSE_STARTUP_TIMEOUT */
104104

105105
/**
@@ -121,7 +121,7 @@
121121

122122

123123
#if !defined (LSE_STARTUP_TIMEOUT)
124-
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
124+
#define LSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for LSE start up, in ms */
125125
#endif /* HSE_STARTUP_TIMEOUT */
126126

127127

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@
125125
*/
126126

127127
/* Select the clock sources (other than HSI) to start with (0=OFF, 1=ON) */
128-
#define USE_PLL_HSE_EXTC (1) /* Use external clock */
129-
#define USE_PLL_HSE_XTAL (1) /* Use external xtal */
128+
#define USE_PLL_HSE_EXTC (0) /* Use external clock */
129+
#define USE_PLL_HSE_XTAL (0) /* Use external xtal */
130130

131131
/**
132132
* @}

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_conf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
* Timeout value
101101
*/
102102
#if !defined (HSE_STARTUP_TIMEOUT)
103-
#define HSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for HSE start up, in ms */
103+
#define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
104104
#endif /* HSE_STARTUP_TIMEOUT */
105105

106106
/**
@@ -117,7 +117,7 @@
117117
* Timeout value
118118
*/
119119
#if !defined (HSI_STARTUP_TIMEOUT)
120-
#define HSI_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for HSI start up */
120+
#define HSI_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for HSI start up */
121121
#endif /* HSI_STARTUP_TIMEOUT */
122122

123123
/**

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ typedef struct
164164
* @{
165165
*/
166166
/* LSE state change timeout */
167-
#define LSE_TIMEOUT_VALUE ((uint32_t)5000) /* 5 s */
167+
#define LSE_TIMEOUT_VALUE ((uint32_t)100) /* 5 s */
168168

169169
/* Disable Backup domain write protection state change timeout */
170170
#define DBP_TIMEOUT_VALUE ((uint32_t)100) /* 100 ms */

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx_hal_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
#endif /* HSE_VALUE */
107107

108108
#if !defined (HSE_STARTUP_TIMEOUT)
109-
#define HSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for HSE start up, in ms */
109+
#define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
110110
#endif /* HSE_STARTUP_TIMEOUT */
111111

112112
/**

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_conf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
#endif /* HSE_VALUE */
9595

9696
#if !defined (HSE_STARTUP_TIMEOUT)
97-
#define HSE_STARTUP_TIMEOUT ((uint32_t)50) /*!< Time out for HSE start up, in ms */
97+
#define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
9898
#endif /* HSE_STARTUP_TIMEOUT */
9999

100100
/**
@@ -123,7 +123,7 @@
123123

124124

125125
#if !defined (LSE_STARTUP_TIMEOUT)
126-
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
126+
#define LSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for LSE start up, in ms */
127127
#endif /* HSE_STARTUP_TIMEOUT */
128128

129129

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx_hal_conf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
#endif /* HSE_VALUE */
9494

9595
#if !defined (HSE_STARTUP_TIMEOUT)
96-
#define HSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for HSE start up, in ms */
96+
#define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
9797
#endif /* HSE_STARTUP_TIMEOUT */
9898

9999
/**
@@ -122,7 +122,7 @@
122122

123123

124124
#if !defined (LSE_STARTUP_TIMEOUT)
125-
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
125+
#define LSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for LSE start up, in ms */
126126
#endif /* HSE_STARTUP_TIMEOUT */
127127

128128

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx_hal_conf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
#endif /* HSE_VALUE */
9494

9595
#if !defined (HSE_STARTUP_TIMEOUT)
96-
#define HSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for HSE start up, in ms */
96+
#define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
9797
#endif /* HSE_STARTUP_TIMEOUT */
9898

9999
/**
@@ -122,7 +122,7 @@
122122

123123

124124
#if !defined (LSE_STARTUP_TIMEOUT)
125-
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
125+
#define LSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for LSE start up, in ms */
126126
#endif /* HSE_STARTUP_TIMEOUT */
127127

128128

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32SC151/stm32l1xx_hal_conf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
#endif /* HSE_VALUE */
9494

9595
#if !defined (HSE_STARTUP_TIMEOUT)
96-
#define HSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for HSE start up, in ms */
96+
#define HSE_STARTUP_TIMEOUT ((uint32_t)200) /*!< Time out for HSE start up, in ms */
9797
#endif /* HSE_STARTUP_TIMEOUT */
9898

9999
/**
@@ -122,7 +122,7 @@
122122

123123

124124
#if !defined (LSE_STARTUP_TIMEOUT)
125-
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
125+
#define LSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for LSE start up, in ms */
126126
#endif /* HSE_STARTUP_TIMEOUT */
127127

128128

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
#endif /* LSE_VALUE */
143143

144144
#if !defined (LSE_STARTUP_TIMEOUT)
145-
#define LSE_STARTUP_TIMEOUT ((uint32_t)500) /*!< Time out for LSE start up, in ms */
145+
#define LSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for LSE start up, in ms */
146146
#endif /* HSE_STARTUP_TIMEOUT */
147147

148148
/**

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ typedef struct
159159
* @{
160160
*/
161161
#define RCC_DBP_TIMEOUT_VALUE ((uint32_t)100)
162-
#define RCC_LSE_TIMEOUT_VALUE ((uint32_t)5000)
162+
#define RCC_LSE_TIMEOUT_VALUE ((uint32_t)100)
163163
/**
164164
* @}
165165
*/

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F0/i2c_api.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,14 @@ inline int i2c_start(i2c_t *obj) {
133133
// Clear Acknowledge failure flag
134134
__HAL_I2C_CLEAR_FLAG(&I2cHandle, I2C_FLAG_AF);
135135

136+
// Wait the STOP condition has been previously correctly sent
137+
timeout = FLAG_TIMEOUT;
138+
while ((i2c->CR2 & I2C_CR2_STOP) == I2C_CR2_STOP){
139+
if ((timeout--) == 0) {
140+
return 1;
141+
}
142+
}
143+
136144
// Generate the START condition
137145
i2c->CR2 |= I2C_CR2_START;
138146

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F0/rtc_api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ void rtc_init(void) {
4545
rtc_inited = 1;
4646

4747
RtcHandle.Instance = RTC;
48+
49+
// Check if RTC is already initialized
50+
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return;
4851

4952
// Enable Power clock
5053
__PWR_CLK_ENABLE();

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F1/i2c_api.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,15 @@ inline int i2c_start(i2c_t *obj)
124124
// Clear Acknowledge failure flag
125125
__HAL_I2C_CLEAR_FLAG(&I2cHandle, I2C_FLAG_AF);
126126

127+
// Wait the STOP condition has been previously correctly sent
128+
// This timeout can be avoid in some specific cases by simply clearing the STOP bit
129+
timeout = FLAG_TIMEOUT;
130+
while ((i2c->CR1 & I2C_CR1_STOP) == I2C_CR1_STOP) {
131+
if ((timeout--) == 0) {
132+
return 1;
133+
}
134+
}
135+
127136
// Generate the START condition
128137
i2c->CR1 |= I2C_CR1_START;
129138

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F3/i2c_api.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,14 @@ inline int i2c_start(i2c_t *obj)
195195
// Clear Acknowledge failure flag
196196
__HAL_I2C_CLEAR_FLAG(&I2cHandle, I2C_FLAG_AF);
197197

198+
// Wait the STOP condition has been previously correctly sent
199+
timeout = FLAG_TIMEOUT;
200+
while ((i2c->CR2 & I2C_CR2_STOP) == I2C_CR2_STOP){
201+
if ((timeout--) == 0) {
202+
return 1;
203+
}
204+
}
205+
198206
// Generate the START condition
199207
i2c->CR2 |= I2C_CR2_START;
200208

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F3/rtc_api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ void rtc_init(void)
4646
rtc_inited = 1;
4747

4848
RtcHandle.Instance = RTC;
49+
50+
// Check if RTC is already initialized
51+
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return;
4952

5053
// Enable Power clock
5154
__PWR_CLK_ENABLE();

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/i2c_api.c

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,17 @@ inline int i2c_start(i2c_t *obj)
151151
// Clear Acknowledge failure flag
152152
__HAL_I2C_CLEAR_FLAG(&I2cHandle, I2C_FLAG_AF);
153153

154-
// Generate the START condition and remove an eventual pending STOP bit
155-
i2c->CR1 = ((i2c->CR1 & ~I2C_CR1_STOP) | I2C_CR1_START);
154+
// Wait the STOP condition has been previously correctly sent
155+
// This timeout can be avoid in some specific cases by simply clearing the STOP bit
156+
timeout = FLAG_TIMEOUT;
157+
while ((i2c->CR1 & I2C_CR1_STOP) == I2C_CR1_STOP) {
158+
if ((timeout--) == 0) {
159+
return 1;
160+
}
161+
}
162+
163+
// Generate the START condition
164+
i2c->CR1 |= I2C_CR1_START;
156165

157166
// Wait the START condition has been correctly sent
158167
timeout = FLAG_TIMEOUT;

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/rtc_api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ void rtc_init(void)
4646
rtc_inited = 1;
4747

4848
RtcHandle.Instance = RTC;
49+
50+
// Check if RTC is already initialized
51+
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return;
4952

5053
// Enable Power clock
5154
__PWR_CLK_ENABLE();

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F7/i2c_api.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ inline int i2c_start(i2c_t *obj)
183183
// Clear Acknowledge failure flag
184184
__HAL_I2C_CLEAR_FLAG(&I2cHandle, I2C_FLAG_AF);
185185

186+
// Wait the STOP condition has been previously correctly sent
187+
timeout = FLAG_TIMEOUT;
188+
while ((i2c->CR2 & I2C_CR2_STOP) == I2C_CR2_STOP){
189+
if ((timeout--) == 0) {
190+
return 1;
191+
}
192+
}
193+
186194
// Generate the START condition
187195
i2c->CR2 |= I2C_CR2_START;
188196

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F7/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void rtc_init(void)
4040
RCC_OscInitTypeDef RCC_OscInitStruct;
4141
uint32_t rtc_freq = 0;
4242

43-
if(RTC->ISR == 7) { // RTC initialization and status register (RTC_ISR), cold start (with no backup domain power) RTC reset value
43+
if((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) { // RTC initialization and status register (RTC_ISR), cold start (with no backup domain power) RTC reset value
4444

4545
RtcHandle.Instance = RTC;
4646

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/rtc_api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ void rtc_init(void)
5454
rtc_inited = 1;
5555

5656
RtcHandle.Instance = RTC;
57+
58+
// Check if RTC is already initialized
59+
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return;
5760

5861
// Enable Power clock
5962
__PWR_CLK_ENABLE();

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/rtc_api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ void rtc_init(void)
4646
rtc_inited = 1;
4747

4848
RtcHandle.Instance = RTC;
49+
50+
// Check if RTC is already initialized
51+
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return;
4952

5053
// Enable Power clock
5154
__PWR_CLK_ENABLE();

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/rtc_api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ void rtc_init(void)
4646
rtc_inited = 1;
4747

4848
RtcHandle.Instance = RTC;
49+
50+
// Check if RTC is already initialized
51+
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return;
4952

5053
// Enable Power clock
5154
__PWR_CLK_ENABLE();

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/i2c_api.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,14 @@ inline int i2c_start(i2c_t *obj)
152152
// Clear Acknowledge failure flag
153153
__HAL_I2C_CLEAR_FLAG(&I2cHandle, I2C_FLAG_AF);
154154

155+
// Wait the STOP condition has been previously correctly sent
156+
timeout = FLAG_TIMEOUT;
157+
while ((i2c->CR2 & I2C_CR2_STOP) == I2C_CR2_STOP){
158+
if ((timeout--) == 0) {
159+
return 1;
160+
}
161+
}
162+
155163
// Generate the START condition
156164
i2c->CR2 |= I2C_CR2_START;
157165

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L1/i2c_api.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,15 @@ inline int i2c_start(i2c_t *obj)
124124
// Clear Acknowledge failure flag
125125
__HAL_I2C_CLEAR_FLAG(&I2cHandle, I2C_FLAG_AF);
126126

127+
// Wait the STOP condition has been previously correctly sent
128+
// This timeout can be avoid in some specific cases by simply clearing the STOP bit
129+
timeout = FLAG_TIMEOUT;
130+
while ((i2c->CR1 & I2C_CR1_STOP) == I2C_CR1_STOP) {
131+
if ((timeout--) == 0) {
132+
return 1;
133+
}
134+
}
135+
127136
// Generate the START condition
128137
i2c->CR1 |= I2C_CR1_START;
129138

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L1/rtc_api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ void rtc_init(void)
4646
rtc_inited = 1;
4747

4848
RtcHandle.Instance = RTC;
49+
50+
// Check if RTC is already initialized
51+
if ((RTC->ISR & RTC_ISR_INITS) == RTC_ISR_INITS) return;
4952

5053
// Enable Power clock
5154
__PWR_CLK_ENABLE();

0 commit comments

Comments
 (0)