Functions | |
__STATIC_INLINE void | ll_qspi_transmit_data8 (qspi_regs_t *QSPIx, uint8_t tx_data) |
Write 8-Bits in the data register. More... | |
__STATIC_INLINE void | ll_qspi_transmit_data16 (qspi_regs_t *QSPIx, uint16_t tx_data) |
Write 16-Bits in the data register. More... | |
__STATIC_INLINE void | ll_qspi_transmit_data32 (qspi_regs_t *QSPIx, uint32_t tx_data) |
Write 32-Bits in the data register. More... | |
__STATIC_INLINE uint8_t | ll_qspi_receive_data8 (qspi_regs_t *QSPIx) |
Read 8-Bits in the data register. More... | |
__STATIC_INLINE uint16_t | ll_qspi_receive_data16 (qspi_regs_t *QSPIx) |
Read 16-Bits in the data register. More... | |
__STATIC_INLINE uint32_t | ll_qspi_receive_data32 (qspi_regs_t *QSPIx) |
Read 32-Bits in the data register. More... | |
__STATIC_INLINE void | ll_qspi_set_rx_sample_edge (qspi_regs_t *QSPIx, uint32_t edge) |
Set the RX sample edge. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_rx_sample_edge (qspi_regs_t *QSPIx) |
Get the RX sample edge. More... | |
__STATIC_INLINE void | ll_qspi_set_rx_sample_delay (qspi_regs_t *QSPIx, uint32_t delay) |
Set Rx sample delay. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_rx_sample_delay (qspi_regs_t *QSPIx) |
Get Rx sample delay. More... | |
__STATIC_INLINE void | ll_qspi_enable_clk_stretch (qspi_regs_t *QSPIx) |
Enable the clock stretch feature for Enhanced SPI. More... | |
__STATIC_INLINE void | ll_qspi_disable_clk_stretch (qspi_regs_t *QSPIx) |
Disable the clock stretch feature for Enhanced SPI. More... | |
__STATIC_INLINE uint32_t | ll_qspi_is_enabled_clk_stretch (qspi_regs_t *QSPIx) |
Check if the clock stretch feature is enabled or not for Enhanced SPI. More... | |
__STATIC_INLINE void | ll_qspi_set_wait_cycles (qspi_regs_t *QSPIx, uint32_t wait_cycles) |
Set number of wait cycles in Dual/Quad SPI mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_wait_cycles (qspi_regs_t *QSPIx) |
Get number of wait cycles in Dual/Quad SPI mode. More... | |
__STATIC_INLINE void | ll_qspi_set_instruction_size (qspi_regs_t *QSPIx, uint32_t size) |
Set Dual/Quad SPI mode instruction length in bits. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_instruction_size (qspi_regs_t *QSPIx) |
Get Dual/Quad SPI mode instruction length in bits. More... | |
__STATIC_INLINE void | ll_qspi_set_address_size (qspi_regs_t *QSPIx, uint32_t size) |
Set Dual/Quad SPI mode address length in bits. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_address_size (qspi_regs_t *QSPIx) |
Get Dual/Quad SPI mode address length in bits. More... | |
__STATIC_INLINE void | ll_qspi_set_add_inst_transfer_format (qspi_regs_t *QSPIx, uint32_t format) |
Set Dual/Quad SPI mode address and instruction transfer format. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_addr_inst_transfer_format (qspi_regs_t *QSPIx) |
Get Dual/Quad SPI mode address and instruction transfer format. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_enable_xip_mode_bits (qspi_regs_t *QSPIx) |
Enable the mode bits phase for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_disable_xip_mode_bits (qspi_regs_t *QSPIx) |
Disable the mode bits phase for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_is_enabled_xip_mode_bits (qspi_regs_t *QSPIx) |
Check if the mode bits phase is enabled or not for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_mode_bits_length (qspi_regs_t *QSPIx, uint32_t mbl) |
Set the length of mode bits phase for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_mode_bits_length (qspi_regs_t *QSPIx) |
Get the length of mode bits phase for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_mode_bits_data (qspi_regs_t *QSPIx, uint32_t mode) |
set the mode phase (sent after address phase) value in xip mode More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_mode_bits_data (qspi_regs_t *QSPIx) |
get the mode phase (sent after address phase) value in xip mode More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_incr_inst (qspi_regs_t *QSPIx, uint32_t inst) |
set the ahb-incr transfer instruction in xip mode More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_incr_inst (qspi_regs_t *QSPIx) |
get the ahb-incr transfer instruction in xip mode More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wrap_inst (qspi_regs_t *QSPIx, uint32_t inst) |
set the ahb-wrap transfer instruction in xip mode More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wrap_inst (qspi_regs_t *QSPIx) |
get the ahb-wrap transfer instruction in xip mode More... | |
__STATIC_INLINE void | ll_qspi_concurrent_enable_xip_ss (qspi_regs_t *QSPIx, uint32_t ss) |
Enable the slave in xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_disable_xip_ss (qspi_regs_t *QSPIx, uint32_t ss) |
Disable the slave in xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_is_enabled_xip_ss (qspi_regs_t *QSPIx, uint32_t ss) |
Check if the slave is enabled or not for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_toc (qspi_regs_t *QSPIx, uint32_t xtoc) |
Set time out count for continuous transfer for xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_toc (qspi_regs_t *QSPIx) |
Get time out count for continuous transfer for xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_enable_xip_prefetch (qspi_regs_t *QSPIx) |
Enable the pre-fetch feature for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_disable_xip_prefetch (qspi_regs_t *QSPIx) |
Disable the pre-fetch feature for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_is_enabled_xip_prefetch (qspi_regs_t *QSPIx) |
check if the pre-fetch feature is enabled or not for concurrent xip mode More... | |
__STATIC_INLINE void | ll_qspi_concurrent_enable_xip_continuous_xfer (qspi_regs_t *QSPIx) |
Enable the continuous transfer feature for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_disable_xip_continuous_xfer (qspi_regs_t *QSPIx) |
Disable the continuous transfer feature for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_is_enabled_xip_continuous_xfer (qspi_regs_t *QSPIx) |
Check if the continuous transfer feature is enabled or not for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_enable_xip_instruction (qspi_regs_t *QSPIx) |
Enable the instruction phase for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_disable_xip_instruction (qspi_regs_t *QSPIx) |
Disable the instruction phase for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_is_enabled_xip_instruction (qspi_regs_t *QSPIx) |
Check if the instruction phase is enabled or not for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_instruction_size (qspi_regs_t *QSPIx, uint32_t inst_size) |
Set the instruction size for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_instruction_size (qspi_regs_t *QSPIx) |
Get the instruction size for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_enable_xip_dfs_hardcode (qspi_regs_t *QSPIx) |
Enable the hardcoded DFS feature for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_disable_xip_dfs_hardcode (qspi_regs_t *QSPIx) |
Disable the hardcoded DFS feature for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_is_enabled_xip_dfs_hardcode (qspi_regs_t *QSPIx) |
Check if the hardcoded DFS feature is enabled or not for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wait_cycles (qspi_regs_t *QSPIx, uint32_t wait_cycles) |
Set the wait(also called dummy) cycles for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wait_cycles (qspi_regs_t *QSPIx) |
Get the wait(also called dummy) cycles for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_address_size (qspi_regs_t *QSPIx, uint32_t addr_size) |
Set the address size for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_address_size (qspi_regs_t *QSPIx) |
Get the address size for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_inst_addr_transfer_format (qspi_regs_t *QSPIx, uint32_t format) |
Set the transfer format of inst & address for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_addr_inst_transfer_format (qspi_regs_t *QSPIx) |
Get the transfer format of inst & address for concurrent xip mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_frame_format (qspi_regs_t *QSPIx, uint32_t format) |
Set the QSPI frame format for concurrent xip mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_frame_format (qspi_regs_t *QSPIx) |
Get the QSPI frame format for concurrent xip mode. More... | |
void | ll_qspi_enable_xip (qspi_regs_t *QSPIx) |
Enable qspi xip mode. More... | |
void | ll_qspi_disable_xip (qspi_regs_t *QSPIx) |
Disable qspi xip mode. More... | |
uint32_t | ll_qspi_is_enabled_xip (qspi_regs_t *QSPIx) |
Check if qspi xip mode is enabled. More... | |
__STATIC_INLINE void | ll_qspi_set_xip_endian_mode (qspi_regs_t *QSPIx, uint32_t mode) |
Set xip's endian mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_xip_endian_mode (qspi_regs_t *QSPIx) |
Get xip's endian mode. More... | |
__STATIC_INLINE void | ll_qspi_enable_dws (qspi_regs_t *QSPIx) |
Enable dynamic of wait states for QSPI peripheral. More... | |
__STATIC_INLINE void | ll_qspi_disable_dws (qspi_regs_t *QSPIx) |
Disable dynamic of wait states for QSPI peripheral. More... | |
__STATIC_INLINE uint32_t | ll_qspi_is_enabled_dws (qspi_regs_t *QSPIx) |
Check if dynamic of wait states for QSPI peripheral is enabled. More... | |
__STATIC_INLINE void | ll_qspi_clear_flag_spite (qspi_regs_t *QSPIx) |
Clear QSPI Transmit Error interrupt. More... | |
__STATIC_INLINE void | ll_qspi_set_max_wait_cycles (qspi_regs_t *QSPIx, uint32_t max_ws) |
set the max wait cycles per transaction for dynamic wait state More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_max_wait_cycles (qspi_regs_t *QSPIx) |
get the max wait cycles per transaction for dynamic wait state More... | |
__STATIC_INLINE void | ll_qspi_set_dynamic_wait_state (qspi_regs_t *QSPIx, uint32_t dyn_ws) |
set the value for dynamic wait state More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_dynamic_wait_state (qspi_regs_t *QSPIx, uint32_t dyn_ws) |
get the value for dynamic wait state More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wr_incr_inst (qspi_regs_t *QSPIx, uint32_t inst) |
set the ahb-incr transfer instruction for write in xip mode More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wr_incr_inst (qspi_regs_t *QSPIx) |
get the ahb-incr transfer instruction for write in xip mode More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wr_wrap_inst (qspi_regs_t *QSPIx, uint32_t inst) |
set the ahb-wrap transfer instruction for write in xip mode More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wr_wrap_inst (qspi_regs_t *QSPIx) |
get the ahb-wrap transfer instruction for write in xip mode More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wr_wait_cycles (qspi_regs_t *QSPIx, uint32_t wait_cycles) |
Set the wait(also called dummy) cycles for concurrent xip write mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wr_wait_cycles (qspi_regs_t *QSPIx) |
Get the wait(also called dummy) cycles for concurrent xip write mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wr_instruction_size (qspi_regs_t *QSPIx, uint32_t inst_size) |
Set the instruction size for concurrent xip write mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wr_instruction_size (qspi_regs_t *QSPIx) |
Get the instruction size for concurrent xip write mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wr_address_size (qspi_regs_t *QSPIx, uint32_t addr_size) |
Set the address size for concurrent xip write mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wr_address_size (qspi_regs_t *QSPIx) |
Get the address size for concurrent xip write mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wr_inst_addr_transfer_format (qspi_regs_t *QSPIx, uint32_t format) |
Set the transfer format of inst & address for concurrent xip write mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wr_addr_inst_transfer_format (qspi_regs_t *QSPIx) |
Get the transfer format of inst & address for concurrent xip write mode. More... | |
__STATIC_INLINE void | ll_qspi_concurrent_set_xip_wr_frame_format (qspi_regs_t *QSPIx, uint32_t format) |
Set the QSPI frame format for concurrent xip write mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_concurrent_get_xip_wr_frame_format (qspi_regs_t *QSPIx) |
Get the QSPI frame format for concurrent xip write mode. More... | |
__STATIC_INLINE void | ll_qspi_enable_hresp_err_debug_mode (void) |
Enable the AHB Response Error Debug for all QSPI Modules. if violation, hardfault happens. More... | |
__STATIC_INLINE void | ll_qspi_disable_hresp_err_debug_mode (void) |
Disable the AHB Response Error Debug for all QSPI Modules. if violation, hardfault happens. More... | |
__STATIC_INLINE uint32_t | ll_qspi_is_hresp_err_debug_mode_enabled (void) |
Check if the AHB Response Error Debug is enabled for all QSPI Modules. More... | |
__STATIC_INLINE void | ll_qspi_set_cs_setup_delay (qspi_regs_t *QSPIx, uint32_t delay) |
Set CS Setup Delay for QSPI. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_cs_setup_delay (qspi_regs_t *QSPIx) |
Get CS Setup Delay for QSPI. More... | |
__STATIC_INLINE void | ll_qspi_set_cs_release_delay (qspi_regs_t *QSPIx, uint32_t delay) |
Set CS Release Delay for QSPI. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_cs_release_delay (qspi_regs_t *QSPIx) |
Get CS Release Delay for QSPI. More... | |
__STATIC_INLINE void | ll_qspi_enable_xip_dynamic_le (qspi_regs_t *QSPIx) |
Enable qspi xip dynamic little-endian mode. More... | |
__STATIC_INLINE void | ll_qspi_disable_xip_dynamic_le (qspi_regs_t *QSPIx) |
Disable qspi xip dynamic little-endian mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_is_enabled_xip_dynamic_le (qspi_regs_t *QSPIx) |
Check if qspi xip dynamic little-endian mode is enabled. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_reg_mode_rx_fifo_depth (qspi_regs_t *QSPIx) |
Get Receive FIFO Depth Of Register Mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_reg_mode_tx_fifo_depth (qspi_regs_t *QSPIx) |
Get Transmit FIFO Depth Of Register Mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_xip_mode_rx_fifo_depth (qspi_regs_t *QSPIx) |
Get Receive FIFO Depth Of XIP Mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_xip_mode_tx_fifo_depth (qspi_regs_t *QSPIx) |
Get Transmit FIFO Depth Of XIP Mode. More... | |
__STATIC_INLINE uint32_t | ll_qspi_get_xip_base_address (qspi_regs_t *QSPIx) |
Get Transmit FIFO Depth Of XIP Mode. More... | |
__STATIC_INLINE void ll_qspi_clear_flag_spite | ( | qspi_regs_t * | QSPIx | ) |
Clear QSPI Transmit Error interrupt.
Register|BitsName --------|-------- SPI_TEIC | SPI_TEIC
QSPIx | QSPI instance |
None |
Definition at line 3435 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_disable_xip_continuous_xfer | ( | qspi_regs_t * | QSPIx | ) |
Disable the continuous transfer feature for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | CONT_XFER_EN
QSPIx | - QSPI instance |
none |
Definition at line 2951 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_disable_xip_dfs_hardcode | ( | qspi_regs_t * | QSPIx | ) |
Disable the hardcoded DFS feature for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | DFS_HC
QSPIx | - QSPI instance |
none |
Definition at line 3087 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_disable_xip_instruction | ( | qspi_regs_t * | QSPIx | ) |
Disable the instruction phase for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | INST_EN
QSPIx | - QSPI instance |
none |
Definition at line 2999 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_disable_xip_mode_bits | ( | qspi_regs_t * | QSPIx | ) |
Disable the mode bits phase for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | MD_BITS_EN
QSPIx | - QSPI instance |
none |
Definition at line 2633 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_disable_xip_prefetch | ( | qspi_regs_t * | QSPIx | ) |
Disable the pre-fetch feature for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | XIP_PREFETCH_EN
QSPIx | - QSPI instance |
none |
Definition at line 2903 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_disable_xip_ss | ( | qspi_regs_t * | QSPIx, |
uint32_t | ss | ||
) |
Disable the slave in xip mode.
Register|BitsName --------|-------- XIP_SER | SER
QSPIx | - QSPI instance |
ss | - LL_QSPI_CONCURRENT_XIP_SLAVE0 |
None |
Definition at line 2821 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_enable_xip_continuous_xfer | ( | qspi_regs_t * | QSPIx | ) |
Enable the continuous transfer feature for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | CONT_XFER_EN
QSPIx | - QSPI instance |
none |
Definition at line 2935 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_enable_xip_dfs_hardcode | ( | qspi_regs_t * | QSPIx | ) |
Enable the hardcoded DFS feature for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | DFS_HC
QSPIx | - QSPI instance |
none |
Definition at line 3071 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_enable_xip_instruction | ( | qspi_regs_t * | QSPIx | ) |
Enable the instruction phase for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | INST_EN
QSPIx | - QSPI instance |
none |
Definition at line 2983 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_enable_xip_mode_bits | ( | qspi_regs_t * | QSPIx | ) |
Enable the mode bits phase for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | MD_BITS_EN
QSPIx | - QSPI instance |
none |
Definition at line 2617 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_enable_xip_prefetch | ( | qspi_regs_t * | QSPIx | ) |
Enable the pre-fetch feature for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | XIP_PREFETCH_EN
QSPIx | - QSPI instance |
none |
Definition at line 2887 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_enable_xip_ss | ( | qspi_regs_t * | QSPIx, |
uint32_t | ss | ||
) |
Enable the slave in xip mode.
Register|BitsName --------|-------- XIP_SER | SER
QSPIx | - QSPI instance |
ss | - LL_QSPI_CONCURRENT_XIP_SLAVE0 |
None |
Definition at line 2804 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_addr_inst_transfer_format | ( | qspi_regs_t * | QSPIx | ) |
Get the transfer format of inst & address for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | TRANS_TYPE
QSPIx | - QSPI instance |
format | - LL_QSPI_CONCURRENT_XIP_INST_ADDR_ALL_IN_SPI LL_QSPI_CONCURRENT_XIP_INST_IN_SPI_ADDR_IN_SPIFRF LL_QSPI_CONCURRENT_XIP_INST_ADDR_ALL_IN_SPIFRF |
Definition at line 3238 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_address_size | ( | qspi_regs_t * | QSPIx | ) |
Get the address size for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | ADDR_L
QSPIx | - QSPI instance |
Definition at line 3200 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_frame_format | ( | qspi_regs_t * | QSPIx | ) |
Get the QSPI frame format for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | FRF
QSPIx | - QSPI instance |
format | - LL_QSPI_CONCURRENT_XIP_FRF_RSVD LL_QSPI_CONCURRENT_XIP_FRF_DUAL_SPI LL_QSPI_CONCURRENT_XIP_FRF_QUAD_SPI LL_QSPI_CONCURRENT_XIP_FRF_OCTAL_SPI |
Definition at line 3279 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_incr_inst | ( | qspi_regs_t * | QSPIx | ) |
get the ahb-incr transfer instruction in xip mode
Register|BitsName --------|-------- XIP_INCR_INST | INCR_INST
QSPIx | - QSPI instance |
inst | - instruction op-code, [0 ~ 0xFFFF] |
Definition at line 2754 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_instruction_size | ( | qspi_regs_t * | QSPIx | ) |
Get the instruction size for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | INST_L
QSPIx | - QSPI instance |
inst_size | - LL_QSPI_CONCURRENT_XIP_INSTSIZE_0BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_4BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_8BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_16BIT |
Definition at line 3054 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_mode_bits_data | ( | qspi_regs_t * | QSPIx | ) |
get the mode phase (sent after address phase) value in xip mode
Register|BitsName --------|-------- XIP_MODE_BITS | XIP_MD_BITS
QSPIx | - QSPI instance |
mode | value, [0 ~ 0xFFFF] |
Definition at line 2721 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_mode_bits_length | ( | qspi_regs_t * | QSPIx | ) |
Get the length of mode bits phase for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | XIP_MBL
QSPIx | - QSPI instance |
mbl | - LL_QSPI_CONCURRENT_XIP_MBL_2 LL_QSPI_CONCURRENT_XIP_MBL_4 LL_QSPI_CONCURRENT_XIP_MBL_8 LL_QSPI_CONCURRENT_XIP_MBL_16 |
Definition at line 2688 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_toc | ( | qspi_regs_t * | QSPIx | ) |
Get time out count for continuous transfer for xip mode.
Register|BitsName --------|-------- XIP_CNT_TIME_OUT | XTOC
QSPIx | - QSPI instance |
xtoc | - time out counter value in terms of hclk [0 ~ 0xFF] |
Definition at line 2871 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wait_cycles | ( | qspi_regs_t * | QSPIx | ) |
Get the wait(also called dummy) cycles for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | WAIT_CYCLES
QSPIx | - QSPI instance |
wait_cycles | - 0 ~ 31 |
Definition at line 3136 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wr_addr_inst_transfer_format | ( | qspi_regs_t * | QSPIx | ) |
Get the transfer format of inst & address for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | TRANS_TYPE
QSPIx | - QSPI instance |
format | - LL_QSPI_CONCURRENT_XIP_INST_ADDR_ALL_IN_SPI LL_QSPI_CONCURRENT_XIP_INST_IN_SPI_ADDR_IN_SPIFRF LL_QSPI_CONCURRENT_XIP_INST_ADDR_ALL_IN_SPIFRF |
Definition at line 3733 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wr_address_size | ( | qspi_regs_t * | QSPIx | ) |
Get the address size for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | ADDRL
QSPIx | - QSPI instance |
Definition at line 3695 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wr_frame_format | ( | qspi_regs_t * | QSPIx | ) |
Get the QSPI frame format for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | FRF
QSPIx | - QSPI instance |
format | - LL_QSPI_CONCURRENT_XIP_FRF_RSVD LL_QSPI_CONCURRENT_XIP_FRF_DUAL_SPI LL_QSPI_CONCURRENT_XIP_FRF_QUAD_SPI LL_QSPI_CONCURRENT_XIP_FRF_OCTAL_SPI |
Definition at line 3774 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wr_incr_inst | ( | qspi_regs_t * | QSPIx | ) |
get the ahb-incr transfer instruction for write in xip mode
Register|BitsName --------|-------- XIP_WR_INCR_INST | WR_INCR_INST
QSPIx | - QSPI instance |
inst | - instruction op-code, [0 ~ 0xFFFF] |
Definition at line 3537 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wr_instruction_size | ( | qspi_regs_t * | QSPIx | ) |
Get the instruction size for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | INSTL
QSPIx | - QSPI instance |
inst_size | - LL_QSPI_CONCURRENT_XIP_INSTSIZE_0BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_4BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_8BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_16BIT |
Definition at line 3644 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wr_wait_cycles | ( | qspi_regs_t * | QSPIx | ) |
Get the wait(also called dummy) cycles for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | WAITCYCLES
QSPIx | - QSPI instance |
wait_cycles | - 0 ~ 31 |
Definition at line 3604 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wr_wrap_inst | ( | qspi_regs_t * | QSPIx | ) |
get the ahb-wrap transfer instruction for write in xip mode
Register|BitsName --------|-------- XIP_WR_WRAP_INST | WR_WRAP_INST
QSPIx | - QSPI instance |
inst | - instruction op-code, [0 ~ 0xFFFF] |
Definition at line 3570 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_get_xip_wrap_inst | ( | qspi_regs_t * | QSPIx | ) |
get the ahb-wrap transfer instruction in xip mode
Register|BitsName --------|-------- XIP_WRAP_INST | WRAP_INST
QSPIx | - QSPI instance |
inst | - instruction op-code, [0 ~ 0xFFFF] |
Definition at line 2787 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_is_enabled_xip_continuous_xfer | ( | qspi_regs_t * | QSPIx | ) |
Check if the continuous transfer feature is enabled or not for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | CONT_XFER_EN
QSPIx | - QSPI instance |
TRUE/FALSE |
Definition at line 2967 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_is_enabled_xip_dfs_hardcode | ( | qspi_regs_t * | QSPIx | ) |
Check if the hardcoded DFS feature is enabled or not for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | DFS_HC
QSPIx | - QSPI instance |
TRUE/FALSE |
Definition at line 3103 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_is_enabled_xip_instruction | ( | qspi_regs_t * | QSPIx | ) |
Check if the instruction phase is enabled or not for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | INST_EN
QSPIx | - QSPI instance |
TRUE/FALSE |
Definition at line 3015 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_is_enabled_xip_mode_bits | ( | qspi_regs_t * | QSPIx | ) |
Check if the mode bits phase is enabled or not for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | MD_BITS_EN
QSPIx | - QSPI instance |
TRUE/FALSE |
Definition at line 2649 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_is_enabled_xip_prefetch | ( | qspi_regs_t * | QSPIx | ) |
check if the pre-fetch feature is enabled or not for concurrent xip mode
Register|BitsName --------|-------- XIP_CTRL | XIP_PREFETCH_EN
QSPIx | - QSPI instance |
TRUE/FALSE |
Definition at line 2919 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_concurrent_is_enabled_xip_ss | ( | qspi_regs_t * | QSPIx, |
uint32_t | ss | ||
) |
Check if the slave is enabled or not for concurrent xip mode.
Register|BitsName --------|-------- XIP_SER | SER
QSPIx | - QSPI instance |
ss | - LL_QSPI_CONCURRENT_XIP_SLAVE0 |
None |
Definition at line 2838 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_address_size | ( | qspi_regs_t * | QSPIx, |
uint32_t | addr_size | ||
) |
Set the address size for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | ADDR_L
none |
Definition at line 3169 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_frame_format | ( | qspi_regs_t * | QSPIx, |
uint32_t | format | ||
) |
Set the QSPI frame format for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | FRF
QSPIx | - QSPI instance |
format | - LL_QSPI_CONCURRENT_XIP_FRF_RSVD LL_QSPI_CONCURRENT_XIP_FRF_DUAL_SPI LL_QSPI_CONCURRENT_XIP_FRF_QUAD_SPI LL_QSPI_CONCURRENT_XIP_FRF_OCTAL_SPI |
none |
Definition at line 3259 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_incr_inst | ( | qspi_regs_t * | QSPIx, |
uint32_t | inst | ||
) |
set the ahb-incr transfer instruction in xip mode
Register|BitsName --------|-------- XIP_INCR_INST | INCR_INST
QSPIx | - QSPI instance |
inst | - instruction op-code, [0 ~ 0xFFFF] |
None |
Definition at line 2738 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_inst_addr_transfer_format | ( | qspi_regs_t * | QSPIx, |
uint32_t | format | ||
) |
Set the transfer format of inst & address for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | TRANS_TYPE
QSPIx | - QSPI instance |
format | - LL_QSPI_CONCURRENT_XIP_INST_ADDR_ALL_IN_SPI LL_QSPI_CONCURRENT_XIP_INST_IN_SPI_ADDR_IN_SPIFRF LL_QSPI_CONCURRENT_XIP_INST_ADDR_ALL_IN_SPIFRF |
none |
Definition at line 3220 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_instruction_size | ( | qspi_regs_t * | QSPIx, |
uint32_t | inst_size | ||
) |
Set the instruction size for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | INST_L
QSPIx | - QSPI instance |
inst_size | - LL_QSPI_CONCURRENT_XIP_INSTSIZE_0BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_4BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_8BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_16BIT |
none |
Definition at line 3035 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_mode_bits_data | ( | qspi_regs_t * | QSPIx, |
uint32_t | mode | ||
) |
set the mode phase (sent after address phase) value in xip mode
Register|BitsName --------|-------- XIP_MODE_BITS | XIP_MD_BITS
QSPIx | - QSPI instance |
mode | - mode value, [0 ~ 0xFFFF] |
None |
Definition at line 2705 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_mode_bits_length | ( | qspi_regs_t * | QSPIx, |
uint32_t | mbl | ||
) |
Set the length of mode bits phase for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | XIP_MBL
QSPIx | - QSPI instance |
mbl | - LL_QSPI_CONCURRENT_XIP_MBL_2 LL_QSPI_CONCURRENT_XIP_MBL_4 LL_QSPI_CONCURRENT_XIP_MBL_8 LL_QSPI_CONCURRENT_XIP_MBL_16 |
none |
Definition at line 2669 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_toc | ( | qspi_regs_t * | QSPIx, |
uint32_t | xtoc | ||
) |
Set time out count for continuous transfer for xip mode.
Register|BitsName --------|-------- XIP_CNT_TIME_OUT | XTOC
QSPIx | - QSPI instance |
xtoc | - time out counter value in terms of hclk [0 ~ 0xFF] |
None |
Definition at line 2855 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wait_cycles | ( | qspi_regs_t * | QSPIx, |
uint32_t | wait_cycles | ||
) |
Set the wait(also called dummy) cycles for concurrent xip mode.
Register|BitsName --------|-------- XIP_CTRL | WAIT_CYCLES
QSPIx | - QSPI instance |
wait_cycles | - 0 ~ 31 |
none |
Definition at line 3120 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wr_address_size | ( | qspi_regs_t * | QSPIx, |
uint32_t | addr_size | ||
) |
Set the address size for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | ADDRL
none |
Definition at line 3671 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wr_frame_format | ( | qspi_regs_t * | QSPIx, |
uint32_t | format | ||
) |
Set the QSPI frame format for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | FRF
QSPIx | - QSPI instance |
format | - LL_QSPI_CONCURRENT_XIP_FRF_RSVD LL_QSPI_CONCURRENT_XIP_FRF_DUAL_SPI LL_QSPI_CONCURRENT_XIP_FRF_QUAD_SPI LL_QSPI_CONCURRENT_XIP_FRF_OCTAL_SPI |
none |
Definition at line 3754 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wr_incr_inst | ( | qspi_regs_t * | QSPIx, |
uint32_t | inst | ||
) |
set the ahb-incr transfer instruction for write in xip mode
Register|BitsName --------|-------- XIP_WR_INCR_INST | WR_INCR_INST
QSPIx | - QSPI instance |
inst | - instruction op-code, [0 ~ 0xFFFF] |
None |
Definition at line 3521 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wr_inst_addr_transfer_format | ( | qspi_regs_t * | QSPIx, |
uint32_t | format | ||
) |
Set the transfer format of inst & address for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | TRANS_TYPE
QSPIx | - QSPI instance |
format | - LL_QSPI_CONCURRENT_XIP_INST_ADDR_ALL_IN_SPI LL_QSPI_CONCURRENT_XIP_INST_IN_SPI_ADDR_IN_SPIFRF LL_QSPI_CONCURRENT_XIP_INST_ADDR_ALL_IN_SPIFRF |
none |
Definition at line 3715 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wr_instruction_size | ( | qspi_regs_t * | QSPIx, |
uint32_t | inst_size | ||
) |
Set the instruction size for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | INSTL
QSPIx | - QSPI instance |
inst_size | - LL_QSPI_CONCURRENT_XIP_INSTSIZE_0BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_4BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_8BIT LL_QSPI_CONCURRENT_XIP_INSTSIZE_16BIT |
none |
Definition at line 3625 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wr_wait_cycles | ( | qspi_regs_t * | QSPIx, |
uint32_t | wait_cycles | ||
) |
Set the wait(also called dummy) cycles for concurrent xip write mode.
Register|BitsName --------|-------- XIP_WR_CTRL | WAITCYCLES
QSPIx | - QSPI instance |
wait_cycles | - 0 ~ 31 |
none |
Definition at line 3588 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wr_wrap_inst | ( | qspi_regs_t * | QSPIx, |
uint32_t | inst | ||
) |
set the ahb-wrap transfer instruction for write in xip mode
Register|BitsName --------|-------- XIP_WR_WRAP_INST | WR_WRAP_INST
QSPIx | - QSPI instance |
inst | - wrap instruction op-code, [0 ~ 0xFFFF] |
None |
Definition at line 3554 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_concurrent_set_xip_wrap_inst | ( | qspi_regs_t * | QSPIx, |
uint32_t | inst | ||
) |
set the ahb-wrap transfer instruction in xip mode
Register|BitsName --------|-------- XIP_WRAP_INST | WRAP_INST
QSPIx | - QSPI instance |
inst | - wrap instruction op-code, [0 ~ 0xFFFF] |
None |
Definition at line 2771 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_disable_clk_stretch | ( | qspi_regs_t * | QSPIx | ) |
Disable the clock stretch feature for Enhanced SPI.
Register|BitsName --------|-------- SCTRL0 | CLK_STRETCH_EN
QSPIx | QSPI instance |
None |
Definition at line 2405 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_disable_dws | ( | qspi_regs_t * | QSPIx | ) |
Disable dynamic of wait states for QSPI peripheral.
Register|BitsName --------|-------- CTRL0 | DWS_EN
QSPIx | QSPI instance |
None |
Definition at line 3404 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_disable_hresp_err_debug_mode | ( | void | ) |
Disable the AHB Response Error Debug for all QSPI Modules. if violation, hardfault happens.
Register|BitsName --------|-------- QSPI_M_HRESP_DBG : QSPI_M_HRESP_ERR_MASK
none |
Definition at line 3810 of file gr55xx_ll_qspi.h.
void ll_qspi_disable_xip | ( | qspi_regs_t * | QSPIx | ) |
Disable qspi xip mode.
Register|BitsName --------|-------- QSPI_M_XIP : M0_XIP_EN | M1_XIP_EN
QSPIx | QSPI instance |
None |
__STATIC_INLINE void ll_qspi_disable_xip_dynamic_le | ( | qspi_regs_t * | QSPIx | ) |
Disable qspi xip dynamic little-endian mode.
Register|BitsName --------|-------- QSPI_M_XIP : MCU_SUB_QSPI_M_XIP_M0_DYNAMIC_LE_EN | MCU_SUB_QSPI_M_XIP_M1_DYNAMIC_LE_EN | MCU_SUB_QSPI_M_XIP_M2_DYNAMIC_LE_EN
QSPIx | QSPI instance |
None |
Definition at line 3956 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_enable_clk_stretch | ( | qspi_regs_t * | QSPIx | ) |
Enable the clock stretch feature for Enhanced SPI.
Register|BitsName --------|-------- SCTRL0 | CLK_STRETCH_EN
QSPIx | QSPI instance |
None |
Definition at line 2389 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_enable_dws | ( | qspi_regs_t * | QSPIx | ) |
Enable dynamic of wait states for QSPI peripheral.
Register|BitsName --------|-------- CTRL0 | DWS_EN
QSPIx | QSPI instance |
None |
Definition at line 3388 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_enable_hresp_err_debug_mode | ( | void | ) |
Enable the AHB Response Error Debug for all QSPI Modules. if violation, hardfault happens.
Register|BitsName --------|-------- QSPI_M_HRESP_DBG : QSPI_M_HRESP_ERR_MASK
none |
Definition at line 3793 of file gr55xx_ll_qspi.h.
void ll_qspi_enable_xip | ( | qspi_regs_t * | QSPIx | ) |
Enable qspi xip mode.
Register|BitsName --------|-------- QSPI_M_XIP : M0_XIP_EN | M1_XIP_EN
QSPIx | QSPI instance |
None |
__STATIC_INLINE void ll_qspi_enable_xip_dynamic_le | ( | qspi_regs_t * | QSPIx | ) |
Enable qspi xip dynamic little-endian mode.
Register|BitsName --------|-------- QSPI_M_XIP : MCU_SUB_QSPI_M_XIP_M0_DYNAMIC_LE_EN | MCU_SUB_QSPI_M_XIP_M1_DYNAMIC_LE_EN | MCU_SUB_QSPI_M_XIP_M2_DYNAMIC_LE_EN
QSPIx | QSPI instance |
None |
Definition at line 3938 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_addr_inst_transfer_format | ( | qspi_regs_t * | QSPIx | ) |
Get Dual/Quad SPI mode address and instruction transfer format.
Register|BitsName --------|-------- SCTRL0 | TRANSTYPE
QSPIx | QSPI instance |
Returned | value can be one of the following values: |
Definition at line 2599 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_address_size | ( | qspi_regs_t * | QSPIx | ) |
Get Dual/Quad SPI mode address length in bits.
Register|BitsName --------|-------- SCTRL0 | ADDRL
QSPIx | QSPI instance |
Definition at line 2560 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_cs_release_delay | ( | qspi_regs_t * | QSPIx | ) |
Get CS Release Delay for QSPI.
Register|BitsName --------|-------- QSPI_M_CS_RELEASE_DLY : MCU_SUB_QSPI_M0_CS_RELEASE_DLY | MCU_SUB_QSPI_M1_CS_RELEASE_DLY | MCU_SUB_QSPI_M2_CS_RELEASE_DLY
QSPIx | QSPI instance |
the | SLCK count to delay |
Definition at line 3914 of file gr55xx_ll_qspi.h.
References ll_qspi_get_baud_rate_prescaler().
__STATIC_INLINE uint32_t ll_qspi_get_cs_setup_delay | ( | qspi_regs_t * | QSPIx | ) |
Get CS Setup Delay for QSPI.
Register|BitsName --------|-------- QSPI_M_CS_SETUP_DLY : MCU_SUB_QSPI_M0_CS_SETUP_DLY | MCU_SUB_QSPI_M1_CS_SETUP_DLY | MCU_SUB_QSPI_M2_CS_SETUP_DLY
QSPIx | QSPI instance |
the | SLCK count to delay |
Definition at line 3867 of file gr55xx_ll_qspi.h.
References ll_qspi_get_baud_rate_prescaler().
__STATIC_INLINE uint32_t ll_qspi_get_dynamic_wait_state | ( | qspi_regs_t * | QSPIx, |
uint32_t | dyn_ws | ||
) |
get the value for dynamic wait state
Register|BitsName --------|-------- SPI_CTRL1 | QSPI_SCTRL1_DYN_WS
QSPIx | - QSPI instance |
dyn_ws | - dynamic wait state [0 ~ 7] |
dynamic | wait state [0 ~ 7] |
Definition at line 3504 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_instruction_size | ( | qspi_regs_t * | QSPIx | ) |
Get Dual/Quad SPI mode instruction length in bits.
Register|BitsName --------|-------- SCTRL0 | INSTL
QSPIx | QSPI instance |
Returned | value can be one of the following values: |
Definition at line 2495 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_max_wait_cycles | ( | qspi_regs_t * | QSPIx | ) |
get the max wait cycles per transaction for dynamic wait state
Register|BitsName --------|-------- SPI_CTRL1 | QSPI_SCTRL1_MAX_WS
QSPIx | - QSPI instance |
max | wait cycles per transaction [0 ~ 15] |
Definition at line 3470 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_reg_mode_rx_fifo_depth | ( | qspi_regs_t * | QSPIx | ) |
Get Receive FIFO Depth Of Register Mode.
QSPIx | QSPI instance |
Receive | FIFO Depth corresponded to QSPI instance |
Definition at line 3986 of file gr55xx_ll_qspi.h.
References LL_QSPI0_REG_RX_FIFO_DEPTH, LL_QSPI1_REG_RX_FIFO_DEPTH, and LL_QSPI2_REG_RX_FIFO_DEPTH.
__STATIC_INLINE uint32_t ll_qspi_get_reg_mode_tx_fifo_depth | ( | qspi_regs_t * | QSPIx | ) |
Get Transmit FIFO Depth Of Register Mode.
QSPIx | QSPI instance |
Transmit | FIFO Depth corresponded to QSPI instance |
Definition at line 4003 of file gr55xx_ll_qspi.h.
References LL_QSPI0_REG_TX_FIFO_DEPTH, LL_QSPI1_REG_TX_FIFO_DEPTH, and LL_QSPI2_REG_TX_FIFO_DEPTH.
__STATIC_INLINE uint32_t ll_qspi_get_rx_sample_delay | ( | qspi_regs_t * | QSPIx | ) |
Get Rx sample delay.
Register|BitsName --------|-------- RX_SAMPLEDLY | RX_SAMPLEDLY
QSPIx | QSPI instance |
Returned | value can be one of the following values: 0 ~ 256 |
Definition at line 2373 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_rx_sample_edge | ( | qspi_regs_t * | QSPIx | ) |
Get the RX sample edge.
Register|BitsName --------|-------- RX_SAMPLE_DELAY | SE
QSPIx | QSPI instance |
edge | - @ ref LL_QSPI_RX_SAMPLE_POSITIVE_EDGE @ ref LL_QSPI_RX_SAMPLE_NEGATIVE_EDGE |
Definition at line 2340 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_wait_cycles | ( | qspi_regs_t * | QSPIx | ) |
Get number of wait cycles in Dual/Quad SPI mode.
Register|BitsName --------|-------- SCTRL0 | WAITCYCLES
QSPIx | QSPI instance |
Returned | value can be one of the following values: 0 ~ 31 |
Definition at line 2454 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_xip_base_address | ( | qspi_regs_t * | QSPIx | ) |
Get Transmit FIFO Depth Of XIP Mode.
QSPIx | QSPI instance |
Transmit | FIFO Depth corresponded to QSPI instance |
Definition at line 4054 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_xip_endian_mode | ( | qspi_regs_t * | QSPIx | ) |
Get xip's endian mode.
Register|BitsName --------|-------- QSPI_M_XIP : QSPI_M_XIP_M0_ENDIAN | QSPI_M_XIP_M1_ENDIAN | QSPI_M_XIP_M2_ENDIAN
QSPIx | QSPI instance |
Returned | value can be one of the following values: |
Definition at line 3368 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_get_xip_mode_rx_fifo_depth | ( | qspi_regs_t * | QSPIx | ) |
Get Receive FIFO Depth Of XIP Mode.
QSPIx | QSPI instance |
Receive | FIFO Depth corresponded to QSPI instance |
Definition at line 4020 of file gr55xx_ll_qspi.h.
References LL_QSPI0_XIP_RX_FIFO_DEPTH, LL_QSPI1_XIP_RX_FIFO_DEPTH, and LL_QSPI2_XIP_RX_FIFO_DEPTH.
__STATIC_INLINE uint32_t ll_qspi_get_xip_mode_tx_fifo_depth | ( | qspi_regs_t * | QSPIx | ) |
Get Transmit FIFO Depth Of XIP Mode.
QSPIx | QSPI instance |
Transmit | FIFO Depth corresponded to QSPI instance |
Definition at line 4037 of file gr55xx_ll_qspi.h.
References LL_QSPI0_XIP_TX_FIFO_DEPTH, LL_QSPI1_XIP_TX_FIFO_DEPTH, and LL_QSPI2_XIP_TX_FIFO_DEPTH.
__STATIC_INLINE uint32_t ll_qspi_is_enabled_clk_stretch | ( | qspi_regs_t * | QSPIx | ) |
Check if the clock stretch feature is enabled or not for Enhanced SPI.
Register|BitsName --------|-------- SCTRL0 | CLK_STRETCH_EN
QSPIx | QSPI instance |
None |
Definition at line 2421 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_is_enabled_dws | ( | qspi_regs_t * | QSPIx | ) |
Check if dynamic of wait states for QSPI peripheral is enabled.
Register|BitsName --------|-------- CTRL0 | DWS_EN
QSPIx | QSPI instance |
State | of bit (1 or 0). |
Definition at line 3419 of file gr55xx_ll_qspi.h.
uint32_t ll_qspi_is_enabled_xip | ( | qspi_regs_t * | QSPIx | ) |
Check if qspi xip mode is enabled.
Register|BitsName --------|-------- QSPI_M_XIP : M0_XIP_EN | M1_XIP_EN
QSPIx | QSPI instance |
None |
__STATIC_INLINE uint32_t ll_qspi_is_enabled_xip_dynamic_le | ( | qspi_regs_t * | QSPIx | ) |
Check if qspi xip dynamic little-endian mode is enabled.
Register|BitsName --------|-------- QSPI_M_XIP : MCU_SUB_QSPI_M_XIP_M0_DYNAMIC_LE_EN | MCU_SUB_QSPI_M_XIP_M1_DYNAMIC_LE_EN | MCU_SUB_QSPI_M_XIP_M2_DYNAMIC_LE_EN
QSPIx | QSPI instance |
None |
Definition at line 3974 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_is_hresp_err_debug_mode_enabled | ( | void | ) |
Check if the AHB Response Error Debug is enabled for all QSPI Modules.
Register|BitsName --------|-------- QSPI_M_HRESP_DBG : QSPI_M_HRESP_ERR_MASK
none |
Definition at line 3827 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint16_t ll_qspi_receive_data16 | ( | qspi_regs_t * | QSPIx | ) |
Read 16-Bits in the data register.
Register|BitsName --------|-------- DATA | DATA
QSPIx | QSPI instance |
Returned | Value between Min_Data=0x0000 and Max_Data=0xFFFF |
Definition at line 2292 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint32_t ll_qspi_receive_data32 | ( | qspi_regs_t * | QSPIx | ) |
Read 32-Bits in the data register.
Register|BitsName --------|-------- DATA | DATA
QSPIx | QSPI instance |
Returned | Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF |
Definition at line 2307 of file gr55xx_ll_qspi.h.
__STATIC_INLINE uint8_t ll_qspi_receive_data8 | ( | qspi_regs_t * | QSPIx | ) |
Read 8-Bits in the data register.
Register|BitsName --------|-------- DATA | DATA
QSPIx | QSPI instance |
Rerturned | Value between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 2277 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_add_inst_transfer_format | ( | qspi_regs_t * | QSPIx, |
uint32_t | format | ||
) |
Set Dual/Quad SPI mode address and instruction transfer format.
Register|BitsName --------|-------- SCTRL0 | TRANSTYPE
QSPIx | QSPI instance |
format | This parameter can be one of the following values: |
None |
Definition at line 2580 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_address_size | ( | qspi_regs_t * | QSPIx, |
uint32_t | size | ||
) |
Set Dual/Quad SPI mode address length in bits.
Register|BitsName --------|-------- SCTRL0 | ADDRL
QSPIx | QSPI instance |
size | This parameter can be one of the following values:
|
None |
Definition at line 2528 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_cs_release_delay | ( | qspi_regs_t * | QSPIx, |
uint32_t | delay | ||
) |
Set CS Release Delay for QSPI.
Register|BitsName --------|-------- QSPI_M_CS_RELEASE_DLY : MCU_SUB_QSPI_M0_CS_RELEASE_DLY | MCU_SUB_QSPI_M1_CS_RELEASE_DLY | MCU_SUB_QSPI_M2_CS_RELEASE_DLY
QSPIx | QSPI instance |
delay | - the SLCK count to delay |
None |
Definition at line 3893 of file gr55xx_ll_qspi.h.
References ll_qspi_get_baud_rate_prescaler().
__STATIC_INLINE void ll_qspi_set_cs_setup_delay | ( | qspi_regs_t * | QSPIx, |
uint32_t | delay | ||
) |
Set CS Setup Delay for QSPI.
Register|BitsName --------|-------- QSPI_M_CS_SETUP_DLY : MCU_SUB_QSPI_M0_CS_SETUP_DLY | MCU_SUB_QSPI_M1_CS_SETUP_DLY | MCU_SUB_QSPI_M2_CS_SETUP_DLY
QSPIx | QSPI instance |
delay | - the SLCK count to delay |
None |
Definition at line 3846 of file gr55xx_ll_qspi.h.
References ll_qspi_get_baud_rate_prescaler().
__STATIC_INLINE void ll_qspi_set_dynamic_wait_state | ( | qspi_regs_t * | QSPIx, |
uint32_t | dyn_ws | ||
) |
set the value for dynamic wait state
Register|BitsName --------|-------- SPI_CTRL1 | QSPI_SCTRL1_DYN_WS
QSPIx | - QSPI instance |
dyn_ws | - dynamic wait state [0 ~ 7] |
None |
Definition at line 3487 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_instruction_size | ( | qspi_regs_t * | QSPIx, |
uint32_t | size | ||
) |
Set Dual/Quad SPI mode instruction length in bits.
Register|BitsName --------|-------- SCTRL0 | INSTL
QSPIx | QSPI instance |
size | This parameter can be one of the following values: |
None |
Definition at line 2475 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_max_wait_cycles | ( | qspi_regs_t * | QSPIx, |
uint32_t | max_ws | ||
) |
set the max wait cycles per transaction for dynamic wait state
Register|BitsName --------|-------- SPI_CTRL1 | QSPI_SCTRL1_MAX_WS
QSPIx | - QSPI instance |
max_ws | - max wait cycles per transaction [0 ~ 15] |
None |
Definition at line 3454 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_rx_sample_delay | ( | qspi_regs_t * | QSPIx, |
uint32_t | delay | ||
) |
Set Rx sample delay.
Register|BitsName --------|-------- RX_SAMPLEDLY | RX_SAMPLEDLY
QSPIx | QSPI instance |
delay | This parameter can be one of the following values: 0 ~ 256 |
None |
Definition at line 2357 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_rx_sample_edge | ( | qspi_regs_t * | QSPIx, |
uint32_t | edge | ||
) |
Set the RX sample edge.
Register|BitsName --------|-------- RX_SAMPLE_DELAY | SE
QSPIx | QSPI instance |
edge | - @ ref LL_QSPI_RX_SAMPLE_POSITIVE_EDGE @ ref LL_QSPI_RX_SAMPLE_NEGATIVE_EDGE |
none |
Definition at line 2324 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_wait_cycles | ( | qspi_regs_t * | QSPIx, |
uint32_t | wait_cycles | ||
) |
Set number of wait cycles in Dual/Quad SPI mode.
Register|BitsName --------|-------- SCTRL0 | WAITCYCLES
QSPIx | QSPI instance |
wait_cycles | This parameter can be one of the following values: 0 ~ 31 |
None |
Definition at line 2438 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_set_xip_endian_mode | ( | qspi_regs_t * | QSPIx, |
uint32_t | mode | ||
) |
Set xip's endian mode.
Register|BitsName --------|-------- QSPI_M_XIP : QSPI_M_XIP_M0_ENDIAN | QSPI_M_XIP_M1_ENDIAN | QSPI_M_XIP_M2_ENDIAN
QSPIx | QSPI instance |
mode | - This parameter can be one of the following values: |
None |
Definition at line 3344 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_transmit_data16 | ( | qspi_regs_t * | QSPIx, |
uint16_t | tx_data | ||
) |
Write 16-Bits in the data register.
Register|BitsName --------|-------- DATA | DATA
QSPIx | QSPI instance |
tx_data | Value between Min_Data=0x0000 and Max_Data=0xFFFF |
None |
Definition at line 2246 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_transmit_data32 | ( | qspi_regs_t * | QSPIx, |
uint32_t | tx_data | ||
) |
Write 32-Bits in the data register.
Register|BitsName --------|-------- DATA | DATA
QSPIx | QSPI instance |
tx_data | Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF |
None |
Definition at line 2262 of file gr55xx_ll_qspi.h.
__STATIC_INLINE void ll_qspi_transmit_data8 | ( | qspi_regs_t * | QSPIx, |
uint8_t | tx_data | ||
) |
Write 8-Bits in the data register.
Register|BitsName --------|-------- DATA | DATA
QSPIx | QSPI instance |
tx_data | Value between Min_Data=0x00 and Max_Data=0xFF |
None |
Definition at line 2230 of file gr55xx_ll_qspi.h.