File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4040- low-power: update rtc api to allow reconfig
4141- adc: consolidate ringbuffer
4242- feat: Added RTC low-power support for STM32WLEx ([ #4716 ] ( https://github.com/embassy-rs/embassy/pull/4716 ) )
43+ - fix: Correct STM32WBA VREFBUFTRIM values
4344
4445## 0.4.0 - 2025-08-26
4546
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ pub struct VoltageReferenceBuffer<'d, T: Instance> {
1414#[ cfg( rcc_wba) ]
1515fn get_refbuf_trim ( voltage_scale : Vrs ) -> usize {
1616 match voltage_scale {
17- Vrs :: VREF0 => 0x0BFA_07A8usize ,
18- Vrs :: VREF1 => 0x0BFA_07A9usize ,
19- Vrs :: VREF2 => 0x0BFA_07AAusize ,
20- Vrs :: VREF3 => 0x0BFA_07ABusize ,
17+ Vrs :: VREF0 => 0x0BFA_07ABusize ,
18+ Vrs :: VREF1 => 0x0BFA_07AAusize ,
19+ Vrs :: VREF2 => 0x0BFA_07A9usize ,
20+ Vrs :: VREF3 => 0x0BFA_07A8usize ,
2121 _ => panic ! ( "Incorrect Vrs setting!" ) ,
2222 }
2323}
You can’t perform that action at this time.
0 commit comments