Macros
QSPI Exported Constants
Peripheral Driver » APP DRIVER » QSPI » Defines
Collaboration diagram for QSPI Exported Constants:

## Macros
#define | APP_QSPI_PIN_ENABLE 1
| APP_QSPI_PIN Qspi pin defines. More...
#define | APP_QSPI_PIN_DISABLE 0
| QSPI pin disable. More...
#define | QSPI_SMART_CS_ENABLE 1
| QSPI_SMART_CS_ENABLE smart cs enable defines. More...
#define | QSPI_SMART_CS_LOW(id)
| QSPI_SMART_CS_LOW Pull down QSPI CS. More...
#define | QSPI_SMART_CS_HIGH(id)
| QSPI_SMART_CS_HIGH Pull up QSPI CS. More...

## Detailed Description

## Macro Definition Documentation

## ◆ APP_QSPI_PIN_DISABLE

#define APP_QSPI_PIN_DISABLE 0

QSPI pin disable.

Definition at line 88 of file app_qspi.h.

## ◆ APP_QSPI_PIN_ENABLE

#define APP_QSPI_PIN_ENABLE 1

APP_QSPI_PIN Qspi pin defines.

QSPI pin enable

Definition at line 87 of file app_qspi.h.

## ◆ QSPI_SMART_CS_ENABLE

#define QSPI_SMART_CS_ENABLE 1

QSPI_SMART_CS_ENABLE smart cs enable defines.

NOTE: If QSPI_DATA_MODE_SPI, enable smart cs CS pin is controlled by software

Definition at line 105 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, \
APP_IO_PIN_SET); \
} \
} while(0)

QSPI_SMART_CS_HIGH Pull up QSPI CS.

Definition at line 128 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, \
APP_IO_PIN_RESET); \
} \
} while(0)

QSPI_SMART_CS_LOW Pull down QSPI CS.

Definition at line 115 of file app_qspi.h.

APP_IO_PIN_RESET
@ APP_IO_PIN_RESET
IO pin low level.
Definition: app_io.h:139
APP_IO_PIN_SET
@ APP_IO_PIN_SET
IO pin high level.
Definition: app_io.h:140
APP_QSPI_PIN_ENABLE
#define APP_QSPI_PIN_ENABLE
APP_QSPI_PIN Qspi pin defines.
Definition: app_qspi.h:87