diff --git a/data/registers/adc_f3.json b/data/registers/adc_f3.json index 8ff3bb3..8ba8810 100644 --- a/data/registers/adc_f3.json +++ b/data/registers/adc_f3.json @@ -183,7 +183,8 @@ "name": "DMACFG", "description": "Direct memory access configuration", "bit_offset": 1, - "bit_size": 1 + "bit_size": 1, + "enum": "DMACFG" }, { "name": "RES", @@ -898,6 +899,21 @@ } ] }, + "enum/DMACFG": { + "bit_size": 1, + "variants": [ + { + "name": "OneShot", + "description": "DMA One Shot mode selected", + "value": 0 + }, + { + "name": "Circular", + "description": "DMA Circular mode selected", + "value": 1 + } + ] + }, "enum/EXTEN": { "bit_size": 2, "variants": [ diff --git a/data/registers/adc_g0.json b/data/registers/adc_g0.json index 03502f1..a7c1e03 100644 --- a/data/registers/adc_g0.json +++ b/data/registers/adc_g0.json @@ -289,9 +289,10 @@ }, { "name": "DMACFG", - "description": "ADC DMA transfer configuration", + "description": "Direct memory access configuration", "bit_offset": 1, - "bit_size": 1 + "bit_size": 1, + "enum": "DMACFG" }, { "name": "SCANDIR", @@ -932,6 +933,21 @@ } ] }, + "enum/DMACFG": { + "bit_size": 1, + "variants": [ + { + "name": "OneShot", + "description": "DMA One Shot mode selected", + "value": 0 + }, + { + "name": "Circular", + "description": "DMA Circular mode selected", + "value": 1 + } + ] + }, "enum/RES": { "bit_size": 2, "variants": [ diff --git a/data/registers/adc_g4.json b/data/registers/adc_g4.json index 07cab5c..006d0fc 100644 --- a/data/registers/adc_g4.json +++ b/data/registers/adc_g4.json @@ -196,7 +196,7 @@ "fields": [ { "name": "DMACFG", - "description": "direct memory access configuration", + "description": "Direct memory access configuration", "bit_offset": 0, "bit_size": 1, "enum": "DMACFG" @@ -932,12 +932,12 @@ "bit_size": 1, "variants": [ { - "name": "OneShotMode", + "name": "OneShot", "description": "DMA One Shot mode selected", "value": 0 }, { - "name": "CircularMode", + "name": "Circular", "description": "DMA Circular mode selected", "value": 1 } diff --git a/data/registers/adc_l0.json b/data/registers/adc_l0.json index 8b28082..823d308 100644 --- a/data/registers/adc_l0.json +++ b/data/registers/adc_l0.json @@ -123,7 +123,7 @@ }, { "name": "DMACFG", - "description": "Direct memery access configuration", + "description": "Direct memory access configuration", "bit_offset": 1, "bit_size": 1, "enum": "DMACFG" @@ -500,12 +500,12 @@ "variants": [ { "name": "OneShot", - "description": "DMA one shot mode", + "description": "DMA One Shot mode selected", "value": 0 }, { "name": "Circular", - "description": "DMA circular mode", + "description": "DMA Circular mode selected", "value": 1 } ] diff --git a/data/registers/adc_u0.json b/data/registers/adc_u0.json index e22db70..7f7ee40 100644 --- a/data/registers/adc_u0.json +++ b/data/registers/adc_u0.json @@ -225,9 +225,10 @@ }, { "name": "DMACFG", - "description": "ADC DMA transfer configuration", + "description": "Direct memory access configuration", "bit_offset": 1, - "bit_size": 1 + "bit_size": 1, + "enum": "DMACFG" }, { "name": "SCANDIR", @@ -632,6 +633,21 @@ } ] }, + "enum/DMACFG": { + "bit_size": 1, + "variants": [ + { + "name": "OneShot", + "description": "DMA One Shot mode selected", + "value": 0 + }, + { + "name": "Circular", + "description": "DMA Circular mode selected", + "value": 1 + } + ] + }, "enum/RES": { "bit_size": 2, "variants": [ diff --git a/data/registers/adc_v1.json b/data/registers/adc_v1.json index d593974..21f4eb6 100644 --- a/data/registers/adc_v1.json +++ b/data/registers/adc_v1.json @@ -99,7 +99,7 @@ }, { "name": "DMACFG", - "description": "Direct memery access configuration", + "description": "Direct memory access configuration", "bit_offset": 1, "bit_size": 1, "enum": "DMACFG" @@ -429,12 +429,12 @@ "variants": [ { "name": "OneShot", - "description": "DMA one shot mode", + "description": "DMA One Shot mode selected", "value": 0 }, { "name": "Circular", - "description": "DMA circular mode", + "description": "DMA Circular mode selected", "value": 1 } ] diff --git a/data/registers/adc_v3.json b/data/registers/adc_v3.json index 9666f9c..f629055 100644 --- a/data/registers/adc_v3.json +++ b/data/registers/adc_v3.json @@ -186,9 +186,10 @@ }, { "name": "DMACFG", - "description": "DMACFG", + "description": "Direct memory access configuration", "bit_offset": 1, - "bit_size": 1 + "bit_size": 1, + "enum": "DMACFG" }, { "name": "RES", @@ -726,6 +727,21 @@ } ] }, + "enum/DMACFG": { + "bit_size": 1, + "variants": [ + { + "name": "OneShot", + "description": "DMA One Shot mode selected", + "value": 0 + }, + { + "name": "Circular", + "description": "DMA Circular mode selected", + "value": 1 + } + ] + }, "enum/RES": { "bit_size": 2, "variants": [ diff --git a/data/registers/adccommon_f3.json b/data/registers/adccommon_f3.json index 3f1e7e3..7599ef7 100644 --- a/data/registers/adccommon_f3.json +++ b/data/registers/adccommon_f3.json @@ -42,7 +42,7 @@ }, { "name": "DMACFG", - "description": "DMA configuration (for multi-ADC mode)", + "description": "Direct memory access configuration", "bit_offset": 13, "bit_size": 1, "enum": "DMACFG" @@ -245,17 +245,16 @@ ] }, "enum/DMACFG": { - "description": "DMA configuration (for multi-ADC mode)", "bit_size": 1, "variants": [ { "name": "OneShot", - "description": "DMA one shot mode selected", + "description": "DMA One Shot mode selected", "value": 0 }, { "name": "Circulator", - "description": "DMA circular mode selected", + "description": "DMA Circular mode selected", "value": 1 } ] diff --git a/data/registers/adccommon_v3.json b/data/registers/adccommon_v3.json index 50c2372..38789eb 100644 --- a/data/registers/adccommon_v3.json +++ b/data/registers/adccommon_v3.json @@ -41,9 +41,10 @@ }, { "name": "DMACFG", - "description": "DMA configuration (for multi-ADC mode)", + "description": "Direct memory access configuration", "bit_offset": 13, - "bit_size": 1 + "bit_size": 1, + "enum": "DMACFG" }, { "name": "MDMA", @@ -214,5 +215,20 @@ "bit_size": 1 } ] + }, + "enum/DMACFG": { + "bit_size": 1, + "variants": [ + { + "name": "OneShot", + "description": "DMA One Shot mode selected", + "value": 0 + }, + { + "name": "Circular", + "description": "DMA Circular mode selected", + "value": 1 + } + ] } } \ No newline at end of file