MKMxxZxxACxx5 Bare Metal Software Drivers  R4.1.6
Reference Manual
DMA Transfer Channel Descriptor (TCD) Access Attributes

Overview

List of access control attributes. They're needed to reference the channel's transfer channel descriptor (TCDn). When a read or write access occurs to any fields in the TCDn, if the system mode has sufficient privileges as defined by DMA_CHACR,the access completes. Otherwise, the access aborts and terminates in an error.

Warning
The CHACR field can be changed only during operation in privileged secure mode. In any other mode, attempted changes to this field are not performed, and the access terminates with an error.

Macros

#define DMA_CHACR_RW_RW_RW
 User nonsecure=Read/Write, User secure=Read/Write, Privileged secure=Read/Write (default)
 
#define DMA_CHACR_NO_RW_RW
 User nonsecure=None, User secure=Read/Write, Privileged secure=Read/Write.
 
#define DMA_CHACR_NO_NO_RW
 User nonsecure=None, User secure=None, Privileged secure=Read/Write.