Skip to content

Instantly share code, notes, and snippets.

@TuxSH
Last active August 2, 2017 08:24
Show Gist options
  • Save TuxSH/26ef01c2decb34d49bae750010d7322f to your computer and use it in GitHub Desktop.
Save TuxSH/26ef01c2decb34d49bae750010d7322f to your computer and use it in GitHub Desktop.
dma code found on channel 1
00000000: FLUSHP 0x2
00000002: MOV DAR, #0x00000000
00000008: MOV SAR, #0x10320000
0000000E: MOV DAR, #0x1F219540
00000014: MOV CCR, #0x00BDC2F6
0000001A: LP.0 0x1E
0000001C: WFP 0x2, periph
0000001E: LP.1 0x27
00000020: WMB
00000021: LD
00000022: RMB
00000023: ST
00000024: LPEND.1 00000020
00000026: WMB
00000027: LDPS 0x2
00000029: LDPB 0x2
0000002B: RMB
0000002C: ST
0000002D: LPEND.0 0000001C
0000002F: WMB
00000030: SEV 0x3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment