Kinetis SDK v.1.3 API Reference Manual
Rev. 0
Freescale Semiconductor, Inc.
|
This section describes the programming interface of the MMAU Peripheral driver. The MMAU driver requests, configures, and uses the MMAU hardware.
To initialize the MMAU driver, call the MMAU_DRV_Init() function and pass a pointer to the mmau_user_config_t structure.
To use the MMAU driver, follow these steps:
This example shows how to initialize and configure a memory-to-memory transfer:
Functions | |
mmau_status_t | MMAU_DRV_Init (mmau_user_config_t *userConfigPtr) |
Initializes the MMAU module. More... | |
mmau_status_t | MMAU_DRV_Deinit (void) |
Deinitializes the MMAU module. More... | |
void | MMAU_DRV_IRQHandler (void) |
Driver-defined ISR in the MMAU module. More... | |
Variables | |
const uint32_t | g_mmauBaseAddr [] |
Table of base addresses for MMAU instances. More... | |
const IRQn_Type | g_mmauIrqId [] |
Table to save MMAU IRQ enumeration numbers defined in the CMSIS header file. More... | |
mmau_status_t MMAU_DRV_Init | ( | mmau_user_config_t * | userConfigPtr | ) |
This function initializes the MMAU module according to the userConfig structure.
userConfigPtr | Pointer to structure of "mmau_config_t". |
mmau_status_t MMAU_DRV_Deinit | ( | void | ) |
This function deinitializes the MMAU module.
void MMAU_DRV_IRQHandler | ( | void | ) |
This function is the driver-defined ISR in the MMAU module. It includes the process for interrupt mode defined by the driver. Currently, it is called inside the system-defined ISR.
const uint32_t g_mmauBaseAddr[] |
const IRQn_Type g_mmauIrqId[] |