Macros
smart cs enable defines. NOTE: If QSPI_DATA_MODE_SPI, enable smart cs
Peripheral Driver » APP DRIVER » QSPI » Defines » QSPI Exported Constants
Collaboration diagram for smart cs enable defines. NOTE: If QSPI_DATA_MODE_SPI, enable smart cs:

## Macros
#define | QSPI_SMART_CS_ENABLE 1
| CS pin is controlled by software. More...
#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, \
APP_IO_PIN_SET); \
} \
} 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, \
APP_IO_PIN_RESET); \
} \
} while(0)

Definition at line 114 of file app_qspi.h.

APP_QSPI_PIN_ENABLE
#define APP_QSPI_PIN_ENABLE
QSPI pin enable
Definition: app_qspi.h:87
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