The section describes the programming interface of the FLEXBUS Peripheral driver. The FLEXBUS driver provides an easy way to initialize and configure the FLEXBUS.
FLEXBUS Overview
The FLEXBUS (external bus interface) is a hardware module that provides memory expansion and a connection to external peripheral with a parallel bus. It can be directly connected to the slave-only devices such as:
- External ROMs
- Flash memories
- Programmable logic devices
- Other simple target (slave) devices
FLEXBUS Initialization
To initialize the FLEXBUS module, call the FLEXBUS_DRV_Init() function and pass in the instance number and the user configuration structure. This function automatically enables the FLEXBUS module and clock.
This example code shows how to initialize and configure the FLEXBUS for MRAM purpose:
FLEXBUS De-initialize
To shut down the FLEXBUS module, call the FLEXBUS_DRV_Deinit() function and pass in the instance number.
|
FB_Type *const | g_fbBase [] |
| Table of base addresses for FlexBus instances. More...
|
|
- Parameters
-
instance | The FlexBus peripheral instance number. |
fb_config | FlexBus input user configuration |
- Returns
- Execution status.
- Parameters
-
instance | The FlexBus peripheral instance number. |
- Returns
- Execution status.
FB_Type* const g_fbBase[] |