Skip to content

Commit

Permalink
Fix USART3RST in STM32L4x1/2. Closes #243.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgreig committed Feb 12, 2020
1 parent cecd08f commit 9912df7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions devices/stm32l4x1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ RCC:
SPI1EN:
name: SPI2EN
description: SPI peripheral 2 clock enable
APB1RSTR1:
_modify:
USART1RST:
name: USART3RST
description: USART3 reset

# Merge the thousands of individal bit fields into a single field for each
# CAN filter register. This is not only much easier to use but also saves
Expand Down
5 changes: 5 additions & 0 deletions devices/stm32l4x2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ RCC:
USBF:
name: USBFSEN
description: USB FS clock enable
APB1RSTR1:
_modify:
USART1RST:
name: USART3RST
description: USART3 reset

# cf. <https://github.com/adamgreig/stm32-rs/issues/37>
# we call the resulting peripheral `USB` instead of `USB-FS`
Expand Down

0 comments on commit 9912df7

Please sign in to comment.