MKM34Z256VLx7 Bare Metal Software Drivers  R4.1.6
Reference Manual
MCM Example

The Miscellaneous Control Module (MCM) module configures access attributes for CM0+ and DMA bus masters. Each master's attributes are either forced statically during initialization or inherited from the reference. Configuration access attributes can be locked until next POR. This software example demonstrates specific configuration of the Miscellaneous Control Module (MCM) module in which access attributes for CM0+ and DMA bus masters are inherited from the reference (MKM34Z256VLx7 Platform).

Source code:
/******************************************************************************
* (c) Copyright 2010-2015, Freescale Semiconductor Inc.
* ALL RIGHTS RESERVED.
******************************************************************************
* mcmr_test.c
******************************************************************************/
#include "drivers.h"
void main (void)
{
/* Set bus masters attribute to be controlled internally by the core */
TRUE);
/* Set round-robin arbitration for bus masters */
/* Switch to user mode */
while(1);
}
Toolchain support:
IAR EWARM 7.40.7KEIL uVision 5.15CrossWorks 3.6ATOLLIC TrueStudio 5.3.0Kinetis Design Studio 3.0.0