Functions | |
uint16_t | app_graphics_ospi_init (app_graphics_ospi_params_t *p_params) |
Initialize the APP OSPI DRIVER according to the specified parameters. More... | |
void | app_graphics_ospi_deinit (void) |
De-Initialize the APP OSPI DRIVER . More... | |
void | app_graphics_ospi_reset (void) |
Reset the OSPI Controller. More... | |
void | app_graphics_ospi_register_psram_reload_func (psram_reload_func_t psram_reload_func) |
Register the OSPI reload function for PSRAM recovery after deep sleep. More... | |
void | app_graphics_ospi_set_sleep_state (app_ospi_work_state_e state) |
Set the OSPI low power state for system sleep. More... | |
app_ospi_work_state_e | app_graphics_ospi_get_sleep_state (void) |
Get the OSPI low power state for system sleep. More... | |
uint32_t | app_graphics_ospi_get_base_address (void) |
Get the OSPI.PSRAM Base Address. More... | |
void | app_graphics_ospi_set_pasr (app_ospi_pasr_e area) |
Set Partial Refresh Array for OSPI PSRAM. More... | |
void | app_graphics_ospi_pasr_update (uint32_t psram_addr) |
Set Partial Refresh Array for OSPI PSRAM with PSRAM used address. More... | |
__STATIC_INLINE bool | app_graphics_is_ospi_address (uint32_t address) |
Check address is located at ospi.psram or not. More... | |
__STATIC_INLINE void | app_graphics_ospi_set_read_prefetch (bool enable) |
Enable/Disable read prefetch of OSPI PSRAM. More... | |
__STATIC_INLINE bool | app_graphics_ospi_get_read_prefetch (void) |
Get read prefetch state of OSPI PSRAM. More... | |
uint32_t | app_graphics_ospi_get_byte_size (void) |
Get the OSPI.PSRAM Size in Bytes. More... | |
void | app_graphics_ospi_set_power_state (app_ospi_work_state_e state) |
Set the OSPI work state. More... | |
__STATIC_INLINE bool app_graphics_is_ospi_address | ( | uint32_t | address | ) |
Check address is located at ospi.psram or not.
Definition at line 317 of file app_graphics_ospi.h.
References OSPI_PSRAM_MAX_XIP_ADDRESS, and OSPI_PSRAM_MIN_XIP_ADDRESS.
void app_graphics_ospi_deinit | ( | void | ) |
De-Initialize the APP OSPI DRIVER .
uint32_t app_graphics_ospi_get_base_address | ( | void | ) |
Get the OSPI.PSRAM Base Address.
uint32_t app_graphics_ospi_get_byte_size | ( | void | ) |
Get the OSPI.PSRAM Size in Bytes.
__STATIC_INLINE bool app_graphics_ospi_get_read_prefetch | ( | void | ) |
Get read prefetch state of OSPI PSRAM.
Definition at line 339 of file app_graphics_ospi.h.
app_ospi_work_state_e app_graphics_ospi_get_sleep_state | ( | void | ) |
Get the OSPI low power state for system sleep.
uint16_t app_graphics_ospi_init | ( | app_graphics_ospi_params_t * | p_params | ) |
Initialize the APP OSPI DRIVER according to the specified parameters.
[in] | p_params | Pointer to app_graphics_ospi_params_t parameter which contains the configuration information for the specified OSPI module. |
void app_graphics_ospi_pasr_update | ( | uint32_t | psram_addr | ) |
Set Partial Refresh Array for OSPI PSRAM with PSRAM used address.
[in] | psram_addr | PSRAM highest used address |
void app_graphics_ospi_register_psram_reload_func | ( | psram_reload_func_t | psram_reload_func | ) |
Register the OSPI reload function for PSRAM recovery after deep sleep.
[in] | psram_reload_func | Reload the resources to PSRAM after PSRAM deep sleep. |
void app_graphics_ospi_reset | ( | void | ) |
Reset the OSPI Controller.
void app_graphics_ospi_set_pasr | ( | app_ospi_pasr_e | area | ) |
Set Partial Refresh Array for OSPI PSRAM.
[in] | area | please refer to app_ospi_pasr_e Enumerations |
void app_graphics_ospi_set_power_state | ( | app_ospi_work_state_e | state | ) |
Set the OSPI work state.
[in] | state | please refer to app_ospi_work_state_e Enumerations |
__STATIC_INLINE void app_graphics_ospi_set_read_prefetch | ( | bool | enable | ) |
Enable/Disable read prefetch of OSPI PSRAM.
Definition at line 328 of file app_graphics_ospi.h.
void app_graphics_ospi_set_sleep_state | ( | app_ospi_work_state_e | state | ) |
Set the OSPI low power state for system sleep.
[in] | state | Ref the app_ospi_work_state_e |