MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
The MCUXpresso SDK provides a peripheral driver for the Inter-Peripheral Crossbar Switch (XBARB) block of MCUXpresso SDK devices.
The XBARB peripheral driver configures the XBARB (Inter-Peripheral Crossbar Switch) and handles initialization and configuration of the XBARB module.
XBARB driver has two parts:
To initialize the XBARB driver, a state structure has to be passed into the initialization function. This block of memory keeps pointers to user's callback functions and parameters to these functions. The XBARB module is initialized by calling the XBARB_Init() function.
XBARB functional Operation. | |
void | XBARB_Init (XBARB_Type *base) |
Initializes the XBARB module. More... | |
void | XBARB_Deinit (XBARB_Type *base) |
Shuts down the XBARB module. More... | |
void | XBARB_SetSignalsConnection (XBARB_Type *base, xbar_input_signal_t input, xbar_output_signal_t output) |
Configures a connection between the selected XBARB_IN[*] input and the XBARB_OUT[*] output signal. More... | |
void XBARB_Init | ( | XBARB_Type * | base | ) |
This function un-gates the XBARB clock.
base | XBARB peripheral address. |
void XBARB_Deinit | ( | XBARB_Type * | base | ) |
This function disables XBARB clock.
base | XBARB peripheral address. |
void XBARB_SetSignalsConnection | ( | XBARB_Type * | base, |
xbar_input_signal_t | input, | ||
xbar_output_signal_t | output | ||
) |
This function configures which XBARB input is connected to the selected XBARB output. If more than one XBARB module is available, only the inputs and outputs from the same module can be connected.
base | XBARB peripheral address. |
input | XBARB input signal. |
output | XBARB output signal. |