|
InES Hardware Abstraction Layer
|
Interface of module hal_fmc. More...
#include "hal_common.h"Go to the source code of this file.
Data Structures | |
| struct | hal_fmc_sram_init_t |
| Initialization structure for sram bank. More... | |
| struct | hal_fmc_sram_timing_t |
| Initialization structure for timing information of sram bank. More... | |
Enumerations | |
| enum | hal_fmc_bank_t { HAL_FMC_SRAM_BANK1 = 0u, HAL_FMC_SRAM_BANK2 = 1u, HAL_FMC_SRAM_BANK3 = 2u, HAL_FMC_SRAM_BANK4 = 3u } |
| Defines the different memory banks. More... | |
| enum | hal_fmc_memory_type_t { HAL_FMC_TYPE_SRAM = 0u, HAL_FMC_TYPE_PSRAM = 1u } |
| Defines the different memory types. More... | |
| enum | hal_fmc_memory_width_t { HAL_FMC_WIDTH_8B = 0u, HAL_FMC_WIDTH_16B = 1u, HAL_FMC_WIDTH_32B = 2u } |
| Defines the available data bus widths. More... | |
| enum | hal_fmc_access_mode_t { HAL_FMC_ACCESS_MODE_A = 0u, HAL_FMC_ACCESS_MODE_B = 1u, HAL_FMC_ACCESS_MODE_C = 2u, HAL_FMC_ACCESS_MODE_D = 3u } |
| Defines the different available access modes. More... | |
Functions | |
| void | hal_fmc_reset (hal_fmc_bank_t bank) __attribute__((deprecated("Please use FMC_RESET()."))) |
| Resets fmc bank to default values. More... | |
| void | hal_fmc_init_sram (hal_fmc_bank_t bank, hal_fmc_sram_init_t init, hal_fmc_sram_timing_t timing) |
| Initializes a fmc bank as SRAM. More... | |
Interface of module hal_fmc.
The hardware abstraction layer for the memory controller.
| enum hal_fmc_bank_t |
| void hal_fmc_init_sram | ( | hal_fmc_bank_t | bank, |
| hal_fmc_sram_init_t | init, | ||
| hal_fmc_sram_timing_t | timing | ||
| ) |
Initializes a fmc bank as SRAM.
| bank | : Defines bank to initialize. |
| init | : Structure with sram configuration. |
| timing | : Structure with sram timing information. |
| void hal_fmc_reset | ( | hal_fmc_bank_t | bank | ) |
Resets fmc bank to default values.
| bank | : Defines bank to reset. |
1.8.15