Functions | |
__STATIC_INLINE void | ll_ospi_x_set_mem_base_address (ospi_x_regs_t *OSPIx, uint32_t base_address) |
Set memory base address --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_mem_base_address (ospi_x_regs_t *OSPIx) |
Get memory base address --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_mem_top_address (ospi_x_regs_t *OSPIx, uint32_t top_address) |
Set memory top address --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_mem_top_address (ospi_x_regs_t *OSPIx) |
Get memory top address --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_trst_count (ospi_x_regs_t *OSPIx, uint32_t trst_cnt) |
Set clock count for tRST --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_trst_count (ospi_x_regs_t *OSPIx) |
Get clock count for tRST --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_enable_global_reset (ospi_x_regs_t *OSPIx) |
Trigger Global Reset Command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_access_type (ospi_x_regs_t *OSPIx, uint32_t access_type) |
Set access type for PSRAM --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_access_type (ospi_x_regs_t *OSPIx) |
Get access type for PSRAM --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_tcem_ignore (ospi_x_regs_t *OSPIx, uint32_t is_ignore) |
Set ignoring the tcem or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_tcem_ignore (ospi_x_regs_t *OSPIx) |
Get whether ignoring the tcem or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_tcem_count (ospi_x_regs_t *OSPIx, uint32_t tcem_cnt) |
Set clock count for the tcem --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_tcem_count (ospi_x_regs_t *OSPIx) |
Get clock count for the tcem --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_trc_count (ospi_x_regs_t *OSPIx, uint32_t trc_cnt) |
Set clock count for the tRC --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_trc_count (ospi_x_regs_t *OSPIx) |
Get clock count for the tRC --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_tcph_count (ospi_x_regs_t *OSPIx, uint32_t tcph_cnt) |
Set clock count for the tCPH --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_tcph_count (ospi_x_regs_t *OSPIx) |
Get clock count for the tCPH --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_mem_page_size (ospi_x_regs_t *OSPIx, uint32_t mem_page_size) |
Set memory page size --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_mem_page_size (ospi_x_regs_t *OSPIx) |
Get memory page size --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_entry_dpd (ospi_x_regs_t *OSPIx) |
Trigger the entry deep power down command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_exit_dpd (ospi_x_regs_t *OSPIx) |
Trigger the exit deep power down command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_txdpd_ignore (ospi_x_regs_t *OSPIx, uint32_t is_ignore) |
Set ignoring the txdpd or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_txdpd_ignore (ospi_x_regs_t *OSPIx) |
Get whether ignoring the txdpd or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_txdpd_count (ospi_x_regs_t *OSPIx, uint32_t txdpd_cnt) |
Set clock count for the tXDPD --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_txdpd_count (ospi_x_regs_t *OSPIx) |
Get clock count for the tXDPD --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_txpdpd_count (ospi_x_regs_t *OSPIx, uint32_t txpdpd_cnt) |
Set clock count for the tXPDPD --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_txpdpd_count (ospi_x_regs_t *OSPIx) |
Get clock count for the tXPDPD --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_entry_half_sleep (ospi_x_regs_t *OSPIx) |
Trigger the entry half sleep command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_exit_half_sleep (ospi_x_regs_t *OSPIx) |
Trigger the exit half sleep command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_txhs_ignore (ospi_x_regs_t *OSPIx, uint32_t is_ignore) |
Set ignoring the tXHS or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_txhs_ignore (ospi_x_regs_t *OSPIx) |
Get whether ignoring the tXHS or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_txhs_count (ospi_x_regs_t *OSPIx, uint32_t txhs_count) |
Set clock count for the tXHS --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_txhs_count (ospi_x_regs_t *OSPIx) |
Get clock count for the tXHS --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_txphs_count (ospi_x_regs_t *OSPIx, uint32_t txphs_count) |
Set clock count for the tXPHS --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_txphs_count (ospi_x_regs_t *OSPIx) |
Get clock count for the tXPHS --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_global_rst_interrupt (ospi_x_regs_t *OSPIx, uint32_t intr) |
Enable the global reset interrupt or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_global_rst_interrupt_enabled (ospi_x_regs_t *OSPIx) |
Check whether the global reset interrupt is enabled or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_half_sleep_entry_interrupt (ospi_x_regs_t *OSPIx, uint32_t intr) |
Enable the half sleep entry interrupt or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_half_sleep_entry_interrupt_enabled (ospi_x_regs_t *OSPIx) |
Check whether the half sleep entry interrupt is enabled or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_half_sleep_exit_interrupt (ospi_x_regs_t *OSPIx, uint32_t intr) |
Enable the half sleep exit interrupt or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_half_sleep_exit_interrupt_enabled (ospi_x_regs_t *OSPIx) |
Check whether the half sleep exit interrupt is enabled or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_dpd_entry_interrupt (ospi_x_regs_t *OSPIx, uint32_t intr) |
Enable the deep power down entry interrupt or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_dpd_entry_interrupt_enabled (ospi_x_regs_t *OSPIx) |
Check whether the deep power down entry interrupt is enabled or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_dpd_exit_interrupt (ospi_x_regs_t *OSPIx, uint32_t intr) |
Enable the deep power down exit interrupt or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_dpd_exit_interrupt_enabled (ospi_x_regs_t *OSPIx) |
Check whether the deep power down exit interrupt is enabled or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_dqs_timeout_interrupt (ospi_x_regs_t *OSPIx, uint32_t intr) |
Enable the dqs timeout interrupt or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_dqs_timeout_interrupt_enabled (ospi_x_regs_t *OSPIx) |
Check whether the dqs timeout interrupt is enabled or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_global_rst_done (ospi_x_regs_t *OSPIx) |
Check whether the global reset is done or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_half_sleep_entry_done (ospi_x_regs_t *OSPIx) |
Check whether the half sleep entry operation is done or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_half_sleep_exit_done (ospi_x_regs_t *OSPIx) |
Check whether the half sleep exit operation is done or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_dpd_entry_done (ospi_x_regs_t *OSPIx) |
Check whether the deep power down entry operation is done or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_dpd_exit_done (ospi_x_regs_t *OSPIx) |
Check whether the deep power down exit operation is done or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_dqs_timeout_err (ospi_x_regs_t *OSPIx) |
Check whether the dqs timeout error happen or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_sync_read_cmd (ospi_x_regs_t *OSPIx, uint32_t cmd) |
Set sync read command --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_sync_read_cmd (ospi_x_regs_t *OSPIx) |
Get sync read command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_sync_write_cmd (ospi_x_regs_t *OSPIx, uint32_t cmd) |
Set sync write command --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_sync_write_cmd (ospi_x_regs_t *OSPIx) |
Get sync write command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_burst_read_cmd (ospi_x_regs_t *OSPIx, uint32_t cmd) |
Set linear burst read command --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_burst_read_cmd (ospi_x_regs_t *OSPIx) |
Get linear burst read command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_burst_write_cmd (ospi_x_regs_t *OSPIx, uint32_t cmd) |
Set linear burst write command --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_burst_write_cmd (ospi_x_regs_t *OSPIx) |
Get linear burst write command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_register_read_cmd (ospi_x_regs_t *OSPIx, uint32_t cmd) |
Set register mode read command --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_register_read_cmd (ospi_x_regs_t *OSPIx) |
Get register mode read command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_register_write_cmd (ospi_x_regs_t *OSPIx, uint32_t cmd) |
Set register mode write command --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_register_write_cmd (ospi_x_regs_t *OSPIx) |
Get register mode write command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_global_rst_cmd (ospi_x_regs_t *OSPIx, uint32_t cmd) |
Set global reset command --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_global_rst_cmd (ospi_x_regs_t *OSPIx) |
Get global reset command --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_dqs_timeout (ospi_x_regs_t *OSPIx, uint32_t timeout_clk) |
Set clock count for DQS timeout --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_dqs_timeout (ospi_x_regs_t *OSPIx) |
Get clock count for DQS timeout --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_read_prefetch (ospi_x_regs_t *OSPIx, uint32_t is_prefetch) |
Enable the read prefetch feature or not --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_is_read_prefetch_enabled (ospi_x_regs_t *OSPIx) |
Check whether the read prefetch feature is enabled or not --------------------------. More... | |
__STATIC_INLINE void | ll_ospi_x_set_phy_delay (ospi_x_regs_t *OSPIx, uint32_t phy_delay) |
Set the Phy Delay TAP --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_phy_delay (ospi_x_regs_t *OSPIx) |
Get the Phy Delay TAP --------------------------. More... | |
__STATIC_INLINE uint32_t | ll_ospi_x_get_xip_base_address (ospi_x_regs_t *OSPIx) |
Get memory starting address in AHB --------------------------. More... | |
error_status_t | ll_ospi_x_init (ospi_x_regs_t *OSPIx, ll_ospi_x_init_t *p_ospi_x_init) |
Configure the ospi_x unit. More... | |
error_status_t | ll_ospi_x_deinit (ospi_x_regs_t *OSPIx) |
Set OSPI registers to their reset values. More... | |
error_status_t ll_ospi_x_deinit | ( | ospi_x_regs_t * | OSPIx | ) |
Set OSPI registers to their reset values.
OSPIx | OSPI instance |
An | ErrorStatus enumeration value:
|
__STATIC_INLINE void ll_ospi_x_enable_global_reset | ( | ospi_x_regs_t * | OSPIx | ) |
Trigger Global Reset Command --------------------------.
OSPIx | OSPI instance |
none |
Definition at line 264 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_entry_dpd | ( | ospi_x_regs_t * | OSPIx | ) |
Trigger the entry deep power down command --------------------------.
OSPIx | OSPI instance |
none |
Definition at line 413 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_entry_half_sleep | ( | ospi_x_regs_t * | OSPIx | ) |
Trigger the entry half sleep command --------------------------.
OSPIx | OSPI instance |
none |
Definition at line 504 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_exit_dpd | ( | ospi_x_regs_t * | OSPIx | ) |
Trigger the exit deep power down command --------------------------.
OSPIx | OSPI instance |
none |
Definition at line 424 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_exit_half_sleep | ( | ospi_x_regs_t * | OSPIx | ) |
Trigger the exit half sleep command --------------------------.
OSPIx | OSPI instance |
none |
Definition at line 515 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_access_type | ( | ospi_x_regs_t * | OSPIx | ) |
Get access type for PSRAM --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_ACCESS_TYPE |
Definition at line 287 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_burst_read_cmd | ( | ospi_x_regs_t * | OSPIx | ) |
Get linear burst read command --------------------------.
OSPIx | OSPI instance |
linear | burst read command |
Definition at line 858 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_burst_write_cmd | ( | ospi_x_regs_t * | OSPIx | ) |
Get linear burst write command --------------------------.
OSPIx | OSPI instance |
linear | burst write command |
Definition at line 881 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_dqs_timeout | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for DQS timeout --------------------------.
OSPIx | OSPI instance |
clock | count for DQS timeout |
Definition at line 974 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_global_rst_cmd | ( | ospi_x_regs_t * | OSPIx | ) |
Get global reset command --------------------------.
OSPIx | OSPI instance |
global | reset command |
Definition at line 950 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_mem_base_address | ( | ospi_x_regs_t * | OSPIx | ) |
Get memory base address --------------------------.
OSPIx | OSPI instance |
base | address |
Definition at line 207 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_mem_page_size | ( | ospi_x_regs_t * | OSPIx | ) |
Get memory page size --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_MEM_PAGE_SIZE |
Definition at line 402 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_mem_top_address | ( | ospi_x_regs_t * | OSPIx | ) |
Get memory top address --------------------------.
OSPIx | OSPI instance |
top | address |
Definition at line 230 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_phy_delay | ( | ospi_x_regs_t * | OSPIx | ) |
Get the Phy Delay TAP --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_READ_PREFETCH |
Definition at line 1020 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_register_read_cmd | ( | ospi_x_regs_t * | OSPIx | ) |
Get register mode read command --------------------------.
OSPIx | OSPI instance |
register | mode read command |
Definition at line 904 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_register_write_cmd | ( | ospi_x_regs_t * | OSPIx | ) |
Get register mode write command --------------------------.
OSPIx | OSPI instance |
register | mode write command |
Definition at line 927 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_sync_read_cmd | ( | ospi_x_regs_t * | OSPIx | ) |
Get sync read command --------------------------.
OSPIx | OSPI instance |
sync | read command |
Definition at line 812 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_sync_write_cmd | ( | ospi_x_regs_t * | OSPIx | ) |
Get sync write command --------------------------.
OSPIx | OSPI instance |
sync | write command |
Definition at line 835 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_tcem_count | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for the tcem --------------------------.
OSPIx | OSPI instance |
clock | count for the tcem |
Definition at line 333 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_tcem_ignore | ( | ospi_x_regs_t * | OSPIx | ) |
Get whether ignoring the tcem or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_TCEM_TIME_IGNORE |
Definition at line 310 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_tcph_count | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for the tCPH --------------------------.
OSPIx | OSPI instance |
clock | count for the tCPH |
Definition at line 379 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_trc_count | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for the tRC --------------------------.
OSPIx | OSPI instance |
clock | count for the tRC |
Definition at line 356 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_trst_count | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for tRST --------------------------.
OSPIx | OSPI instance |
none |
Definition at line 253 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_txdpd_count | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for the tXDPD --------------------------.
OSPIx | OSPI instance |
clock | count for the tXDPD |
Definition at line 470 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_txdpd_ignore | ( | ospi_x_regs_t * | OSPIx | ) |
Get whether ignoring the txdpd or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_TXDPD_TIME_IGNORE |
Definition at line 447 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_txhs_count | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for the tXHS --------------------------.
OSPIx | OSPI instance |
clock | count for the tXHS |
Definition at line 561 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_txhs_ignore | ( | ospi_x_regs_t * | OSPIx | ) |
Get whether ignoring the tXHS or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_TXHS_TIME_IGNORE |
Definition at line 538 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_txpdpd_count | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for the tXPDPD --------------------------.
OSPIx | OSPI instance |
clock | count for the tXPDPD |
Definition at line 493 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_txphs_count | ( | ospi_x_regs_t * | OSPIx | ) |
Get clock count for the tXPHS --------------------------.
OSPIx | OSPI instance |
clock | count for the tXPHS |
Definition at line 584 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_get_xip_base_address | ( | ospi_x_regs_t * | OSPIx | ) |
Get memory starting address in AHB --------------------------.
OSPIx | OSPI instance |
OSPI0_XIP_BASE |
Definition at line 1031 of file gr55xx_ll_ospi_x.h.
error_status_t ll_ospi_x_init | ( | ospi_x_regs_t * | OSPIx, |
ll_ospi_x_init_t * | p_ospi_x_init | ||
) |
Configure the ospi_x unit.
OSPIx | OSPI instance |
p_ospi_x_init | pointer to a ll_ospi_x_init_t structure |
An | ErrorStatus enumeration value:
|
__STATIC_INLINE uint32_t ll_ospi_x_is_dpd_entry_done | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the deep power down entry operation is done or not --------------------------.
OSPIx | OSPI instance |
1 | - done ; 0 - not done |
Definition at line 767 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_dpd_entry_interrupt_enabled | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the deep power down entry interrupt is enabled or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_INTERRUPT |
Definition at line 676 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_dpd_exit_done | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the deep power down exit operation is done or not --------------------------.
OSPIx | OSPI instance |
1 | - done ; 0 - not done |
Definition at line 778 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_dpd_exit_interrupt_enabled | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the deep power down exit interrupt is enabled or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_INTERRUPT |
Definition at line 699 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_dqs_timeout_err | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the dqs timeout error happen or not --------------------------.
OSPIx | OSPI instance |
1 | - happen ; 0 - not happen |
Definition at line 789 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_dqs_timeout_interrupt_enabled | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the dqs timeout interrupt is enabled or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_INTERRUPT |
Definition at line 722 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_global_rst_done | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the global reset is done or not --------------------------.
OSPIx | OSPI instance |
1 | - done ; 0 - not done |
Definition at line 733 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_global_rst_interrupt_enabled | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the global reset interrupt is enabled or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_INTERRUPT |
Definition at line 607 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_half_sleep_entry_done | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the half sleep entry operation is done or not --------------------------.
OSPIx | OSPI instance |
1 | - done ; 0 - not done |
Definition at line 745 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_half_sleep_entry_interrupt_enabled | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the half sleep entry interrupt is enabled or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_INTERRUPT |
Definition at line 630 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_half_sleep_exit_done | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the half sleep exit operation is done or not --------------------------.
OSPIx | OSPI instance |
1 | - done ; 0 - not done |
Definition at line 756 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_half_sleep_exit_interrupt_enabled | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the half sleep exit interrupt is enabled or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_INTERRUPT |
Definition at line 653 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE uint32_t ll_ospi_x_is_read_prefetch_enabled | ( | ospi_x_regs_t * | OSPIx | ) |
Check whether the read prefetch feature is enabled or not --------------------------.
OSPIx | OSPI instance |
LL_OSPI_X_READ_PREFETCH |
Definition at line 997 of file gr55xx_ll_ospi_x.h.
Referenced by app_graphics_ospi_get_read_prefetch().
__STATIC_INLINE void ll_ospi_x_set_access_type | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | access_type | ||
) |
Set access type for PSRAM --------------------------.
OSPIx | OSPI instance |
access_type | - PSRAM access type |
none |
Definition at line 276 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_burst_read_cmd | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | cmd | ||
) |
Set linear burst read command --------------------------.
OSPIx | OSPI instance |
cmd | Linear burst read command |
none |
Definition at line 847 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_burst_write_cmd | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | cmd | ||
) |
Set linear burst write command --------------------------.
OSPIx | OSPI instance |
cmd | Linear burst write command |
none |
Definition at line 870 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_dpd_entry_interrupt | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | intr | ||
) |
Enable the deep power down entry interrupt or not --------------------------.
OSPIx | OSPI instance |
intr | - LL_OSPI_X_INTERRUPT |
none |
Definition at line 665 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_dpd_exit_interrupt | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | intr | ||
) |
Enable the deep power down exit interrupt or not --------------------------.
OSPIx | OSPI instance |
intr | - LL_OSPI_X_INTERRUPT |
none |
Definition at line 688 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_dqs_timeout | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | timeout_clk | ||
) |
Set clock count for DQS timeout --------------------------.
OSPIx | OSPI instance |
timeout_clk | clock count for DQS timeout |
none |
Definition at line 962 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_dqs_timeout_interrupt | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | intr | ||
) |
Enable the dqs timeout interrupt or not --------------------------.
OSPIx | OSPI instance |
intr | - LL_OSPI_X_INTERRUPT |
none |
Definition at line 711 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_global_rst_cmd | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | cmd | ||
) |
Set global reset command --------------------------.
OSPIx | OSPI instance |
cmd | sync read command |
none |
Definition at line 939 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_global_rst_interrupt | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | intr | ||
) |
Enable the global reset interrupt or not --------------------------.
OSPIx | OSPI instance |
intr | - LL_OSPI_X_INTERRUPT |
none |
Definition at line 596 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_half_sleep_entry_interrupt | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | intr | ||
) |
Enable the half sleep entry interrupt or not --------------------------.
OSPIx | OSPI instance |
intr | - LL_OSPI_X_INTERRUPT |
none |
Definition at line 619 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_half_sleep_exit_interrupt | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | intr | ||
) |
Enable the half sleep exit interrupt or not --------------------------.
OSPIx | OSPI instance |
intr | - LL_OSPI_X_INTERRUPT |
none |
Definition at line 642 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_mem_base_address | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | base_address | ||
) |
Set memory base address --------------------------.
OSPIx | OSPI instance |
base_address | - base address |
none |
Definition at line 196 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_mem_page_size | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | mem_page_size | ||
) |
Set memory page size --------------------------.
OSPIx | OSPI instance |
mem_page_size | - LL_OSPI_X_MEM_PAGE_SIZE |
none |
Definition at line 391 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_mem_top_address | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | top_address | ||
) |
Set memory top address --------------------------.
OSPIx | OSPI instance |
top_address | - top address |
none |
Definition at line 219 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_phy_delay | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | phy_delay | ||
) |
Set the Phy Delay TAP --------------------------.
OSPIx | OSPI instance |
phy_delay |
none |
Definition at line 1009 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_read_prefetch | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | is_prefetch | ||
) |
Enable the read prefetch feature or not --------------------------.
OSPIx | OSPI instance |
is_prefetch | - LL_OSPI_X_READ_PREFETCH |
none |
Definition at line 986 of file gr55xx_ll_ospi_x.h.
Referenced by app_graphics_ospi_set_read_prefetch().
__STATIC_INLINE void ll_ospi_x_set_register_read_cmd | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | cmd | ||
) |
Set register mode read command --------------------------.
OSPIx | OSPI instance |
cmd | register mode read |
none |
Definition at line 893 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_register_write_cmd | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | cmd | ||
) |
Set register mode write command --------------------------.
OSPIx | OSPI instance |
cmd | register mode write command |
none |
Definition at line 916 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_sync_read_cmd | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | cmd | ||
) |
Set sync read command --------------------------.
OSPIx | OSPI instance |
cmd | sync read command |
none |
Definition at line 801 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_sync_write_cmd | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | cmd | ||
) |
Set sync write command --------------------------.
OSPIx | OSPI instance |
cmd | sync write command |
none |
Definition at line 824 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_tcem_count | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | tcem_cnt | ||
) |
Set clock count for the tcem --------------------------.
OSPIx | OSPI instance |
tcem_cnt | - clock count for the tcem |
none |
Definition at line 322 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_tcem_ignore | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | is_ignore | ||
) |
Set ignoring the tcem or not --------------------------.
OSPIx | OSPI instance |
is_ignore | - LL_OSPI_X_TCEM_TIME_IGNORE |
none |
Definition at line 299 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_tcph_count | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | tcph_cnt | ||
) |
Set clock count for the tCPH --------------------------.
OSPIx | OSPI instance |
tcph_cnt | - clock count for the tCPH |
none |
Definition at line 368 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_trc_count | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | trc_cnt | ||
) |
Set clock count for the tRC --------------------------.
OSPIx | OSPI instance |
trc_cnt | - clock count for the tRC |
none |
Definition at line 345 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_trst_count | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | trst_cnt | ||
) |
Set clock count for tRST --------------------------.
OSPIx | OSPI instance |
trst_cnt | - clock count for tRST |
none |
Definition at line 242 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_txdpd_count | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | txdpd_cnt | ||
) |
Set clock count for the tXDPD --------------------------.
OSPIx | OSPI instance |
txdpd_cnt | - clock count for the tXDPD |
none |
Definition at line 459 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_txdpd_ignore | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | is_ignore | ||
) |
Set ignoring the txdpd or not --------------------------.
OSPIx | OSPI instance |
is_ignore | - LL_OSPI_X_TXDPD_TIME_IGNORE |
none |
Definition at line 436 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_txhs_count | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | txhs_count | ||
) |
Set clock count for the tXHS --------------------------.
OSPIx | OSPI instance |
txhs_count | - clock count for the tXHS |
none |
Definition at line 550 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_txhs_ignore | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | is_ignore | ||
) |
Set ignoring the tXHS or not --------------------------.
OSPIx | OSPI instance |
is_ignore | - LL_OSPI_X_TXHS_TIME_IGNORE |
none |
Definition at line 527 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_txpdpd_count | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | txpdpd_cnt | ||
) |
Set clock count for the tXPDPD --------------------------.
OSPIx | OSPI instance |
txpdpd_cnt | - clock count for the tXPDPD |
none |
Definition at line 482 of file gr55xx_ll_ospi_x.h.
__STATIC_INLINE void ll_ospi_x_set_txphs_count | ( | ospi_x_regs_t * | OSPIx, |
uint32_t | txphs_count | ||
) |
Set clock count for the tXPHS --------------------------.
OSPIx | OSPI instance |
txphs_count | - clock count for the tXPHS |
none |
Definition at line 573 of file gr55xx_ll_ospi_x.h.