Skip to content

Commit 03ba282

Browse files
bors[bot]korken89
andauthored
Merge #491
491: Fixed ch17 and ch18 in ADC COMMON for STM32L4x5 r=adamgreig a=korken89 I noticed when extending the STM32L4xx HAL that this MCU had some bits with different names compared to the rest of the series. This PR fixes this. Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2 parents 5694a78 + c4dbe12 commit 03ba282

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

devices/stm32l4x5.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ _modify:
66
ADC123_Common:
77
name: ADC_Common
88

9+
ADC_Common:
10+
CCR:
11+
_modify:
12+
TSEN:
13+
name: CH18SEL
14+
description: CH18 selection (Vbat)
15+
VBATEN:
16+
name: CH17SEL
17+
description: CH17 selection (temperature)
18+
919
# Merge the thousands of individal bit fields into a single field for each
1020
# CAN filter register. This is not only much easier to use but also saves
1121
# a huge amount of filespace and compilation time etc -- as much as 30% of all

0 commit comments

Comments
 (0)