mirror of
https://github.com/MikronMIK32/mik32-uploader.git
synced 2026-10-29 18:11:13 +03:00
Reset DMA registers to initial values
This commit is contained in:
1 parent
43ea7057b7
commit
59c98dc725
1 file changed
+1
@@ -264,6 +264,7 @@ class DMA:
|
|||||||
self.current_value = CurrentValue.ENABLE
|
self.current_value = CurrentValue.ENABLE
|
||||||
|
|
||||||
self.write_buffer = 0
|
self.write_buffer = 0
|
||||||
|
self.openocd.write_memory(0x40000, 32, [0] * 16)
|
||||||
self.clear_irq()
|
self.clear_irq()
|
||||||
self.set_current_value(self.current_value)
|
self.set_current_value(self.current_value)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user