![]() |
MKMxxZxxACxx5 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This section describes functions and macros of the driver's API.
Macros | |
#define | XBAR_Path(inp, outmask) |
Sets XBAR output channels. More... | |
#define | XBAR_EnableDMA() |
Enables DMA for XBAR_DMA output. More... | |
#define | XBAR_Init(cfg, ip, callback) |
XBAR initialization. More... | |
#define XBAR_Path | ( | inp, | |
outmask | |||
) |
This macro routes one of the following input channels XBAR Input Channels to one or more the following XBAR Output Channels.
inp | Select one of the XBAR Input Channels. |
outmask | Select one or more OR'ed XBAR Output Channels. |
#define XBAR_EnableDMA | ( | ) |
This macro enables the DMA function for XBAR_DMAX output. Macros sets DEN0 (DMA enable bit) and clears IEN0 (interrupt enable bit).
#define XBAR_Init | ( | cfg, | |
ip, | |||
callback | |||
) |
This function initializes Inter-Peripheral Crossbar Switch (XBAR) block. It also installs callback function for interrupt vector 47.
cfg | Select one of the XBAR Configuration Structures. |
ip | Select one of the ARM Cortex-M0+ Interrupt Priority Levels. |
callback | Pointer to the XBAR Callback Function. |