Skip to content

Commit 8ffe093

Browse files
authored
DMA: Missing AUTOEN bits (#1)
1 parent 119240d commit 8ffe093

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

data/registers/dma.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ fieldset/CTL:
114114
description: DMA enable.
115115
bit_offset: 1
116116
bit_size: 1
117+
- name: AUTOEN
118+
description: 'Automatic DMA channel enable on SA, DA, SZ register write. If channel is configured as SW trigger (TCTL=0), the AUTOEN will set the EN and REQ. If channel is configured as HW trigger (CTL!=0), the AUTOEN will only set the EN. Note: This feature is not present in all devices. Consult the device specific datasheet.'
119+
bit_offset: 2
120+
bit_size: 2
121+
enum: AUTOEN
117122
- name: PREIRQ
118123
description: 'Enable an early IRQ event. This can help software to react quicker to and DMA done event or allows some additional configuration before the channel is complete. Note: This register is only available in a FULL-channel configuration. Please consult the datasheet of the specific device to map which channel number has FULL or BASIC capability. In a BASIC configuration this register is a read only value and always reads as 0x0.'
119124
bit_offset: 4
@@ -566,3 +571,18 @@ enum/WDTH:
566571
- name: LONG
567572
description: Destination data width is LONG-WORD (64-bit).
568573
value: 3
574+
enum/AUTOEN:
575+
bit_size: 2
576+
variants:
577+
- name: NONE
578+
description: No automatic DMA enable
579+
value: 0
580+
- name: SA
581+
description: Automatic DMA channel enable on SA register write.
582+
value: 1
583+
- name: DA
584+
description: Automatic DMA channel enable on DA register write.
585+
value: 2
586+
- name: SZ
587+
description: Automatic DMA channel enable on SZ register write.
588+
value: 3

0 commit comments

Comments
 (0)