This document consists of sections titled with Driver Overview, Data Structures, Enumerations, Functions, etc., each with an overview list and detailed documentation. It is recommended to read the Driver Overview first for it includes a comprehensive description of the peripheral, driver and driver changes. Other sections give detailed information for APIs, enums, macros, etc., for your further reference.
|
#define | XBARB_SELx(base, output) (((volatile uint16_t *)(&((base)->SEL0)))[(uint8_t)(output) >> 0x01U]) |
| Macro function to extract the XBAR select register address for a given xbar output signal.
|
|
#define | XBARB_SELx_SELn_SHIFT(output) ((output & 0x01U) ? 8U : 0U) |
| Macro function to get SELn field shift in XBARB_SELx register for a given output signal.
|
|
#define | XBARB_SELx_SELn_MASK(output) ((output & 0x01U) ? 0x3F00U : 0x3FU) |
| Macro function to get SELn field mask in XBARB_SELx register for a given output signal.
|
|
#define | XBARB_SELx_SELn(output, input_signal) (((uint16_t)(((uint16_t)(input_signal)) << XBARB_SELx_SELn_SHIFT(output))) & XBARB_SELx_SELn_MASK(output)) |
| Macro function to create SELn field value in XBARB_SELx register for given output signal and input signal value input_signal, see xbar_input_signal_t.
|
|
|
void | XBARB_SetSignalsConnection (XBARB_Type *base, xbar_input_signal_t eInput, xbar_output_signal_t eOutput) |
| brief Configures a connection between the selected XBARB_IN[*] input and the XBARB_OUT[*] output signal. More...
|
|
void XBARB_Init |
( |
XBARB_Type * |
base | ) |
|
Reserved function, enable clock preparation.
- Parameters
-
base | XBARB peripheral address. |
void XBARB_Deinit |
( |
XBARB_Type * |
base | ) |
|
Reserved function, disable clock preparation.
- Parameters
-
base | XBARB peripheral address. |
void XBARB_SetSignalsConnection |
( |
XBARB_Type * |
base, |
|
|
xbar_input_signal_t |
eInput, |
|
|
xbar_output_signal_t |
eOutput |
|
) |
| |
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.
param base XBARB peripheral address. param eInput XBARB input signal. param eOutput XBARB output signal.