Macros
The DC RW CMD
Graphics » HAL DC » GDC Intern » Defines
Collaboration diagram for The DC RW CMD:

## Macros
#define | HAL_GDC_MAGIC (0x87452365)
| DC ID. More...
#define | HAL_GDC_DBIB_STALL (1U << 31)
| Specify MIPI DBI. More...
#define | SPI_WRITE (2U)
| Set to SPI Write CMD. More...
#define | SPI_READ (3U)
| Set to SPI Read CMD. More...
#define | SPICMD (1U<<5U)
| Special as SPI CMD. More...
#define | QSPICMD (0U<<5U)
| Special as QSPI CMD. More...
#define | QSPIDATA (1U<<4U)
| Special as QSPI DATA. More...
#define | CMD_OFFSET (8U)
| offset for command More...
#define | CMD1_DATA1 (SPI_WRITE)
| Send cmd in 1-wire and data in 1-wire. More...
#define | CMD1_DATA4 (SPICMD|QSPIDATA|SPI_WRITE)
| Send cmd in 1-wire and data in 4-wire. More...
#define | CMD4_DATA4 (QSPICMD|QSPIDATA|SPI_WRITE)
| Send cmd in 4-wire and data in 4-wire. More...
#define | CMD1_RDAT1 (SPI_READ)
| Read cmd in 1-wire and data in 1-wire. More...

## Detailed Description

## Macro Definition Documentation

## ◆ CMD1_DATA1

#define CMD1_DATA1 (SPI_WRITE)

Send cmd in 1-wire and data in 1-wire.

Definition at line 69 of file hal_gdc_intern.h.

## ◆ CMD1_DATA4

#define CMD1_DATA4 (SPICMD|QSPIDATA|SPI_WRITE)

Send cmd in 1-wire and data in 4-wire.

Definition at line 70 of file hal_gdc_intern.h.

## ◆ CMD1_RDAT1

#define CMD1_RDAT1 (SPI_READ)

Read cmd in 1-wire and data in 1-wire.

Definition at line 72 of file hal_gdc_intern.h.

## ◆ CMD4_DATA4

#define CMD4_DATA4 (QSPICMD|QSPIDATA|SPI_WRITE)

Send cmd in 4-wire and data in 4-wire.

Definition at line 71 of file hal_gdc_intern.h.

## ◆ CMD_OFFSET

#define CMD_OFFSET (8U)

offset for command

Definition at line 68 of file hal_gdc_intern.h.

## ◆ HAL_GDC_DBIB_STALL

#define HAL_GDC_DBIB_STALL (1U << 31)

Specify MIPI DBI.

Definition at line 62 of file hal_gdc_intern.h.

## ◆ HAL_GDC_MAGIC

#define HAL_GDC_MAGIC (0x87452365)

DC ID.

Definition at line 61 of file hal_gdc_intern.h.

## ◆ QSPICMD

#define QSPICMD (0U<<5U)

Special as QSPI CMD.

Definition at line 66 of file hal_gdc_intern.h.

## ◆ QSPIDATA

#define QSPIDATA (1U<<4U)

Special as QSPI DATA.

Definition at line 67 of file hal_gdc_intern.h.

## ◆ SPI_READ

#define SPI_READ (3U)

Set to SPI Read CMD.

Definition at line 64 of file hal_gdc_intern.h.

## ◆ SPI_WRITE

#define SPI_WRITE (2U)

Set to SPI Write CMD.

Definition at line 63 of file hal_gdc_intern.h.

## ◆ SPICMD

#define SPICMD (1U<<5U)

Special as SPI CMD.

Definition at line 65 of file hal_gdc_intern.h.