Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions devices/common_patches/dma_cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
_cluster:
"CH%s":
description: "Channel cluster: CCR?, CNDTR?, CPAR?, and CMAR? registers"
"CCR?":
name: CR
"CNDTR?":
name: NDTR
"CPAR?":
name: PAR
"CMAR?":
name: MAR

_include:
- isr_array.yaml
21 changes: 21 additions & 0 deletions devices/common_patches/isr_array.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ISR:
_array:
"TEIF*":
description: Channel %s Transfer Error flag
"HTIF*":
description: Channel %s Half Transfer Complete flag
"TCIF*":
description: Channel %s Transfer Complete flag
"GIF*":
description: Channel %s Global interrupt flag

IFCR:
_array:
"CTEIF*":
description: Channel %s Transfer Error clear
"CHTIF*":
description: Channel %s Half Transfer clear
"CTCIF*":
description: Channel %s Transfer Complete clear
"CGIF*":
description: Channel %s Global interrupt clear
4 changes: 4 additions & 0 deletions devices/py32f003.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ _svd: ../svd/py32f003.svd
_include:
- common_patches/usart_dr8.yaml

"DMA, DMA[12]":
_include:
- common_patches/dma_cluster.yaml

_include:
- ../peripherals/flash/flash_f0.yaml
- ../peripherals/pwr/pwr_f0.yaml
Expand Down
4 changes: 4 additions & 0 deletions devices/py32f030.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ _svd: ../svd/py32f030.svd
_include:
- common_patches/usart_dr8.yaml

"DMA, DMA[12]":
_include:
- common_patches/dma_cluster.yaml

_include:
- ../peripherals/flash/flash_f0.yaml
- ../peripherals/pwr/pwr_f0.yaml
Expand Down
Loading