File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Several definitions can be redefined by the end user by different ways:
17
17
* [ F_CPU] ( #f_cpu )
18
18
* [ Serial Rx/Tx buffer size] ( #serial-rxtx-buffer-size )
19
19
* [ systemclock_config] ( #systemclock_config )
20
+ * [ Enable UCPD dead battery behavior] ( #enable-ucpd-dead-battery-behavior )
20
21
21
22
## Change interrupt priority values
22
23
@@ -261,3 +262,19 @@ extern "C" void SystemClock_Config() {
261
262
// new clock config
262
263
}
263
264
```
265
+
266
+ ## Enable UCPD dead battery behavior
267
+
268
+ > [!NOTE]
269
+ > Available with STM32 core version higher than 2.9.0.
270
+
271
+ By default, UCPD dead battery behavior is disabled after reset.
272
+ After user request to be able to not disable it, user can use this definition to
273
+ not disable it:
274
+
275
+ `SKIP_DISABLING_UCPD_DEAD_BATTERY`
276
+
277
+ It can be defined thanks the `variant.h`, `build_opt.h` or `hal_conf_extra.h`
278
+
279
+ > [!WARNING]
280
+ > Enable it is under user responsability.
You can’t perform that action at this time.
0 commit comments