This module contains APIs to program and use the HyperRAM module on the board . See HyperRam for more details.
|
struct | HyperRam_Attrs |
| HyperRam device attributes, these are filled by SysCfg based on the HyperRam device that is selected. More...
|
|
struct | HyperRam_Config |
| HyperRam driver configuration, these are filled by SysCfg based on the HyperRam device that is selected. More...
|
|
◆ HYPERRAM_Handle
◆ HyperRam_init()
void HyperRam_init |
( |
void |
| ) |
|
This function initializes the HYPERBUS module.
◆ HyperRam_deinit()
void HyperRam_deinit |
( |
void |
| ) |
|
This function de-initializes the HYPERBUS module.
◆ HyperRam_open()
Open HyperRam driver.
Make sure the SOC peripheral driver is opened before calling this API. Drivers_open function generated by SysCfg opens the underlying SOC peripheral driver, e.g HYPERBUS.
Internally this API also reads the device and manufacture ID and checks if it matches the expected value for the HYPERRAM device, if there is mismatch then NULL
is returned.
Global variables HYPERRAM_Config gHyperRamConfig[]
and uint32_t gHyperRamConfigNum
is instantiated by SysCfg to describe the HYPERRAM configuration based on user selection in SysCfg.
- Parameters
-
instanceId | [in] Index within HyperRam_Config gHyperRamConfig[] denoting the HyperRam driver to open |
- Returns
- Handle to HyperRam driver which should be used in subsequent API call
-
NULL in case of failure
◆ HyperRam_close()
Close HyperRam driver.
- Parameters
-