MCUXpresso SDK API Reference Manual  Rev 2.12.1
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Mcm

Overview

Data Structures

union  mcm_buffer_fault_attribute_t
 The union of buffer fault attribute. More...
 
union  mcm_lmem_fault_attribute_t
 The union of LMEM fault attribute. More...
 

Enumerations

enum  {
  kMCM_CacheWriteBuffer = MCM_ISCR_CWBEE_MASK,
  kMCM_ParityError = MCM_ISCR_CPEE_MASK,
  kMCM_FPUInvalidOperation = MCM_ISCR_FIOCE_MASK,
  kMCM_FPUDivideByZero = MCM_ISCR_FDZCE_MASK,
  kMCM_FPUOverflow = MCM_ISCR_FOFCE_MASK,
  kMCM_FPUUnderflow = MCM_ISCR_FUFCE_MASK,
  kMCM_FPUInexact = MCM_ISCR_FIXCE_MASK,
  kMCM_FPUInputDenormalInterrupt = MCM_ISCR_FIDCE_MASK
}
 Enum _mcm_interrupt_flag. More...
 

Functions

static void MCM_EnableCrossbarRoundRobin (MCM_Type *base, bool enable)
 Enables/Disables crossbar round robin. More...
 
static void MCM_EnableInterruptStatus (MCM_Type *base, uint32_t mask)
 Enables the interrupt. More...
 
static void MCM_DisableInterruptStatus (MCM_Type *base, uint32_t mask)
 Disables the interrupt. More...
 
static uint16_t MCM_GetInterruptStatus (MCM_Type *base)
 Gets the Interrupt status . More...
 
static void MCM_ClearCacheWriteBufferErroStatus (MCM_Type *base)
 Clears the Interrupt status . More...
 
static uint32_t MCM_GetBufferFaultAddress (MCM_Type *base)
 Gets buffer fault address. More...
 
static void MCM_GetBufferFaultAttribute (MCM_Type *base, mcm_buffer_fault_attribute_t *bufferfault)
 Gets buffer fault attributes. More...
 
static uint32_t MCM_GetBufferFaultData (MCM_Type *base)
 Gets buffer fault data. More...
 
static void MCM_LimitCodeCachePeripheralWriteBuffering (MCM_Type *base, bool enable)
 Limit code cache peripheral write buffering. More...
 
static void MCM_BypassFixedCodeCacheMap (MCM_Type *base, bool enable)
 Bypass fixed code cache map. More...
 
static void MCM_EnableCodeBusCache (MCM_Type *base, bool enable)
 Enables/Disables code bus cache. More...
 
static void MCM_ForceCodeCacheToNoAllocation (MCM_Type *base, bool enable)
 Force code cache to no allocation. More...
 
static void MCM_EnableCodeCacheWriteBuffer (MCM_Type *base, bool enable)
 Enables/Disables code cache write buffer. More...
 
static void MCM_ClearCodeBusCache (MCM_Type *base)
 Clear code bus cache. More...
 
static void MCM_EnablePcParityFaultReport (MCM_Type *base, bool enable)
 Enables/Disables PC Parity Fault Report. More...
 
static void MCM_EnablePcParity (MCM_Type *base, bool enable)
 Enables/Disables PC Parity. More...
 
static void MCM_LockConfigState (MCM_Type *base)
 Lock the configuration state. More...
 
static void MCM_EnableCacheParityReporting (MCM_Type *base, bool enable)
 Enables/Disables cache parity reporting. More...
 
static uint32_t MCM_GetLmemFaultAddress (MCM_Type *base)
 Gets LMEM fault address. More...
 
static void MCM_GetLmemFaultAttribute (MCM_Type *base, mcm_lmem_fault_attribute_t *lmemFault)
 Get LMEM fault attributes. More...
 
static uint64_t MCM_GetLmemFaultData (MCM_Type *base)
 Gets LMEM fault data. More...
 

Driver version

#define FSL_MCM_DRIVER_VERSION   (MAKE_VERSION(2, 1, 0))
 MCM driver version. More...
 

Data Structure Documentation

union mcm_buffer_fault_attribute_t

Data Fields

uint32_t attribute
 Indicates the faulting attributes, when a properly-enabled cache write buffer error interrupt event is detected. More...
 

Field Documentation

uint32_t mcm_buffer_fault_attribute_t::attribute
union mcm_lmem_fault_attribute_t

Data Fields

uint32_t attribute
 Indicates the attributes of the LMEM fault detected. More...
 

Field Documentation

uint32_t mcm_lmem_fault_attribute_t::attribute

Macro Definition Documentation

#define FSL_MCM_DRIVER_VERSION   (MAKE_VERSION(2, 1, 0))

Enumeration Type Documentation

anonymous enum

Interrupt status flag mask.

Enumerator
kMCM_CacheWriteBuffer 

Cache Write Buffer Error Enable.

kMCM_ParityError 

Cache Parity Error Enable.

kMCM_FPUInvalidOperation 

FPU Invalid Operation Interrupt Enable.

kMCM_FPUDivideByZero 

FPU Divide-by-zero Interrupt Enable.

kMCM_FPUOverflow 

FPU Overflow Interrupt Enable.

kMCM_FPUUnderflow 

FPU Underflow Interrupt Enable.

kMCM_FPUInexact 

FPU Inexact Interrupt Enable.

kMCM_FPUInputDenormalInterrupt 

FPU Input Denormal Interrupt Enable.

Function Documentation

static void MCM_EnableCrossbarRoundRobin ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to enable/disable crossbar round robin.
  • true Enable crossbar round robin.
  • false disable crossbar round robin.
static void MCM_EnableInterruptStatus ( MCM_Type *  base,
uint32_t  mask 
)
inlinestatic
Parameters
baseMCM peripheral base address.
maskInterrupt status flags mask(_mcm_interrupt_flag).
static void MCM_DisableInterruptStatus ( MCM_Type *  base,
uint32_t  mask 
)
inlinestatic
Parameters
baseMCM peripheral base address.
maskInterrupt status flags mask(_mcm_interrupt_flag).
static uint16_t MCM_GetInterruptStatus ( MCM_Type *  base)
inlinestatic
Parameters
baseMCM peripheral base address.
static void MCM_ClearCacheWriteBufferErroStatus ( MCM_Type *  base)
inlinestatic
Parameters
baseMCM peripheral base address.
static uint32_t MCM_GetBufferFaultAddress ( MCM_Type *  base)
inlinestatic
Parameters
baseMCM peripheral base address.
static void MCM_GetBufferFaultAttribute ( MCM_Type *  base,
mcm_buffer_fault_attribute_t bufferfault 
)
inlinestatic
Parameters
baseMCM peripheral base address.
static uint32_t MCM_GetBufferFaultData ( MCM_Type *  base)
inlinestatic
Parameters
baseMCM peripheral base address.
static void MCM_LimitCodeCachePeripheralWriteBuffering ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to enable/disable limit code cache peripheral write buffering.
  • true Enable limit code cache peripheral write buffering.
  • false disable limit code cache peripheral write buffering.
static void MCM_BypassFixedCodeCacheMap ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to enable/disable bypass fixed code cache map.
  • true Enable bypass fixed code cache map.
  • false disable bypass fixed code cache map.
static void MCM_EnableCodeBusCache ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to disable/enable code bus cache.
  • true Enable code bus cache.
  • false disable code bus cache.
static void MCM_ForceCodeCacheToNoAllocation ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to force code cache to allocation or no allocation.
  • true Force code cache to no allocation.
  • false Force code cache to allocation.
static void MCM_EnableCodeCacheWriteBuffer ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to enable/disable code cache write buffer.
  • true Enable code cache write buffer.
  • false Disable code cache write buffer.
static void MCM_ClearCodeBusCache ( MCM_Type *  base)
inlinestatic
Parameters
baseMCM peripheral base address.
static void MCM_EnablePcParityFaultReport ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to enable/disable PC Parity Fault Report.
  • true Enable PC Parity Fault Report.
  • false disable PC Parity Fault Report.
static void MCM_EnablePcParity ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to enable/disable PC Parity.
  • true Enable PC Parity.
  • false disable PC Parity.
static void MCM_LockConfigState ( MCM_Type *  base)
inlinestatic
Parameters
baseMCM peripheral base address.
static void MCM_EnableCacheParityReporting ( MCM_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseMCM peripheral base address.
enableUsed to enable/disable cache parity reporting.
  • true Enable cache parity reporting.
  • false disable cache parity reporting.
static uint32_t MCM_GetLmemFaultAddress ( MCM_Type *  base)
inlinestatic
Parameters
baseMCM peripheral base address.
static void MCM_GetLmemFaultAttribute ( MCM_Type *  base,
mcm_lmem_fault_attribute_t lmemFault 
)
inlinestatic
Parameters
baseMCM peripheral base address.
static uint64_t MCM_GetLmemFaultData ( MCM_Type *  base)
inlinestatic
Parameters
baseMCM peripheral base address.