nrfxlib API 3.3.99
Loading...
Searching...
No Matches
QSPI2 HAL

Hardware access layer for managing the QSPI2 peripheral. More...

Data Structures

union  nrf_qspi2_core_ctrlr0_t
 
union  nrf_qspi2_core_spictrlr0_t
 
struct  nrf_qspi2_format_t
 

Macros

#define NRF_QSPI2_CORE_CTRLR0_DEFAULT_CONF
 

Enumerations

enum  nrf_qspi2_task_t { NRF_QSPI2_TASK_START = offsetof( NRF_SP_QSPI_Type , TASKS_START) , NRF_QSPI2_TASK_RESET }
 QSPI tasks. More...
 
enum  nrf_qspi2_event_t { NRF_QSPI2_EVENT_DMA_DONE = offsetof( NRF_SP_QSPI_Type , EVENTS_DMA.DONE) , NRF_QSPI2_EVENT_DMA_DONEJOB = offsetof( NRF_SP_QSPI_Type , EVENTS_DMA.EVENTS_DONE.JOB) , NRF_QSPI2_EVENT_DMA_ABORTED = offsetof( NRF_SP_QSPI_Type , EVENTS_DMA.ABORTED) }
 QSPI events. More...
 

Functions

NRF_STATIC_INLINE void nrf_qspi2_task_trigger (NRF_SP_QSPI_Type *p_reg, nrf_qspi2_task_t task)
 
NRF_STATIC_INLINE void nrf_qspi2_enable (NRF_SP_QSPI_Type *p_reg)
 
NRF_STATIC_INLINE void nrf_qspi2_disable (NRF_SP_QSPI_Type *p_reg)
 
NRF_STATIC_INLINE bool nrf_qspi2_enable_check (NRF_SP_QSPI_Type const *p_reg)
 
NRF_STATIC_INLINE void nrf_qspi2_event_clear (NRF_SP_QSPI_Type *p_reg, nrf_qspi2_event_t event)
 
NRF_STATIC_INLINE bool nrf_qspi2_event_check (NRF_SP_QSPI_Type const *p_reg, nrf_qspi2_event_t event)
 
NRF_STATIC_INLINE uint32_t nrf_qspi2_event_address_get (NRF_SP_QSPI_Type const *p_reg, nrf_qspi2_event_t event)
 
NRF_STATIC_INLINE void nrf_qspi2_core_enable (NRF_SP_QSPI_Type *p_reg)
 
NRF_STATIC_INLINE void nrf_qspi2_core_disable (NRF_SP_QSPI_Type *p_reg)
 
NRF_STATIC_INLINE void nrf_qspi2_core_dr_0 (NRF_SP_QSPI_Type *p_reg, uint32_t val)
 
NRF_STATIC_INLINE void nrf_qspi2_core_dr_x (NRF_SP_QSPI_Type *p_reg, uint32_t val, uint8_t idx)
 
NRF_STATIC_INLINE uint32_t nrf_qspi2_core_dr_x_get (NRF_SP_QSPI_Type *p_reg, uint8_t idx)
 
NRF_STATIC_INLINE void nrf_qspi2_core_baudr (NRF_SP_QSPI_Type *p_reg, uint16_t sckdiv)
 
NRF_STATIC_INLINE void nrf_qspi2_core_ctrlr1_ndf (NRF_SP_QSPI_Type *p_reg, uint16_t ndf)
 
NRF_STATIC_INLINE void nrf_qspi2_core_rx_sample_delay (NRF_SP_QSPI_Type *p_reg, uint8_t sclk)
 
NRF_STATIC_INLINE void nrf_qspi2_int_enable (NRF_SP_QSPI_Type *p_reg, uint32_t mask)
 
NRF_STATIC_INLINE uint32_t nrf_qspi2_int_enable_check (NRF_SP_QSPI_Type const *p_reg, uint32_t mask)
 
NRF_STATIC_INLINE void nrf_qspi2_int_disable (NRF_SP_QSPI_Type *p_reg, uint32_t mask)
 
NRF_STATIC_INLINE void nrf_qspi2_format_bpp (NRF_SP_QSPI_Type *p_reg, uint8_t val)
 
NRF_STATIC_INLINE void nrf_qspi2_format_dfs (NRF_SP_QSPI_Type *p_reg, uint8_t val)
 
NRF_STATIC_INLINE void nrf_qspi2_format_cilen (NRF_SP_QSPI_Type *p_reg, uint8_t val)
 
NRF_STATIC_INLINE void nrf_qspi2_format_bitorder (NRF_SP_QSPI_Type *p_reg, int cmd_val, int data_val)
 
NRF_STATIC_INLINE void nrf_qspi2_format_pixels (NRF_SP_QSPI_Type *p_reg, uint32_t val)
 
NRF_STATIC_INLINE void nrf_qspi2_core_ctrlr0_set (NRF_SP_QSPI_Type *p_reg, nrf_qspi2_core_ctrlr0_t conf)
 
NRF_STATIC_INLINE void nrf_qspi2_core_spictrlr0_set (NRF_SP_QSPI_Type *p_reg, nrf_qspi2_core_spictrlr0_t conf)
 
NRF_STATIC_INLINE void nrf_qspi2_handshake_set (NRF_SP_QSPI_Type *p_reg, uint32_t val, uint8_t idx)
 
NRF_STATIC_INLINE uint32_t nrf_qspi2_handshake_get (NRF_SP_QSPI_Type const *p_reg, uint8_t idx)
 

Detailed Description

Hardware access layer for managing the QSPI2 peripheral.