![]() |
RZT Flexible Software Package Documentation
Release v3.0.0
|
|
Interface for external bus communication.
The External bus interface provides APIs and definitions for external bus communication.
Data Structures | |
| struct | external_bus_cfg_t |
| struct | external_bus_api_t |
Typedefs | |
| typedef void | external_bus_ctrl_t |
Enumerations | |
| enum | external_bus_chip_select_t |
| enum | external_bus_data_bus_width_t |
| enum | external_bus_external_wait_t |
| struct external_bus_cfg_t |
External bus configuration
| Data Fields | ||
|---|---|---|
| external_bus_chip_select_t | chip_select | Select which device to use. |
| external_bus_data_bus_width_t | data_width | Select data bus width. |
| external_bus_external_wait_t | external_wait_en | External wait function setting. |
| void const * | p_extend | External bus hardware dependent configuration. |
| struct external_bus_api_t |
External bus implementations follow this API.
Data Fields | |
| fsp_err_t(* | open )(external_bus_ctrl_t *p_ctrl, external_bus_cfg_t const *const p_cfg) |
| fsp_err_t(* | close )(external_bus_ctrl_t *p_ctrl) |
| fsp_err_t(* external_bus_api_t::open) (external_bus_ctrl_t *p_ctrl, external_bus_cfg_t const *const p_cfg) |
Open the External bus driver module.
| [in] | p_ctrl | Pointer to a driver handle |
| [in] | p_cfg | Pointer to a configuration structure |
| fsp_err_t(* external_bus_api_t::close) (external_bus_ctrl_t *p_ctrl) |
Close the External bus driver module.
| [in] | p_ctrl | Pointer to a driver handle |
| typedef void external_bus_ctrl_t |
External bus control block. Allocate an instance specific control block to pass into the External bus API calls.
External bus chip select.