sama5/sam_dmac: add define for DMACH_FLAG_PERIPHISMEMORY
This commit is contained in:
parent
5239d01dba
commit
0f5cea7322
@ -315,6 +315,7 @@
|
||||
# define DMACH_FLAG_PERIPHPID_MAX DMACH_FLAG_PERIPHPID_MASK
|
||||
# define DMACH_FLAG_PERIPHH2SEL (0) /* No HW handshaking */
|
||||
# define DMACH_FLAG_PERIPHISPERIPH (1 << 7) /* Bit 7: 0=memory; 1=peripheral */
|
||||
# define DMACH_FLAG_PERIPHISMEMORY (0 << 7) /* Bit 7: 0 = Memory */
|
||||
# define DMACH_FLAG_PERIPHAHB_MASK (1 << 8) /* Bit 8: Peripheral ABH layer 1 */
|
||||
# define DMACH_FLAG_PERIPHAHB_AHB_IF0 (0)
|
||||
# define DMACH_FLAG_PERIPHAHB_AHB_IF1 DMACH_FLAG_PERIPHAHB_MASK
|
||||
|
Loading…
Reference in New Issue
Block a user