smart cs enable defines. NOTE: If QSPI_DATA_MODE_SPI, enable smart cs

Macros

#define QSPI_SMART_CS_ENABLE   1
 
#define QSPI_SMART_CS_LOW(id)
 
#define QSPI_SMART_CS_HIGH(id)
 

Detailed Description

Macro Definition Documentation

◆ QSPI_SMART_CS_ENABLE

#define QSPI_SMART_CS_ENABLE   1

CS pin is controlled by software

Definition at line 107 of file app_qspi.h.

◆ QSPI_SMART_CS_HIGH

#define QSPI_SMART_CS_HIGH (   id)
Value:
do { \
if(p_qspi_env[id]->p_pin_cfg->cs.enable == APP_QSPI_PIN_ENABLE) \
{ \
app_io_write_pin(p_qspi_env[id]->p_pin_cfg->cs.type, \
p_qspi_env[id]->p_pin_cfg->cs.pin, \
} \
} while(0)

Definition at line 124 of file app_qspi.h.

◆ QSPI_SMART_CS_LOW

#define QSPI_SMART_CS_LOW (   id)
Value:
do { \
if(p_qspi_env[id]->p_pin_cfg->cs.enable == APP_QSPI_PIN_ENABLE) \
{ \
app_io_write_pin(p_qspi_env[id]->p_pin_cfg->cs.type, \
p_qspi_env[id]->p_pin_cfg->cs.pin, \
} \
} while(0)

Definition at line 114 of file app_qspi.h.

APP_QSPI_PIN_ENABLE
#define APP_QSPI_PIN_ENABLE
Definition: app_qspi.h:87
APP_IO_PIN_RESET
@ APP_IO_PIN_RESET
Definition: app_io.h:139
APP_IO_PIN_SET
@ APP_IO_PIN_SET
Definition: app_io.h:140