Macros
The DC configuration
Graphics » HAL DC » GDC MIPI » Defines
Collaboration diagram for The DC configuration:

## Macros
#define | MIPICFG_DBI_EN (1U<<31U)
| Enables MIPI DBI/SPI interface. More...
#define | MIPICFG_FRC_CSX_0 (1U<<30U)
| Enables CSX force value. More...
#define | MIPICFG_FRC_CSX_1 ((1U<<30U)|(1U<<29U))
| Force CSX to 1. More...
#define | MIPICFG_SPI_CSX_V (1U<<29U)
| CSX active high/low. More...
#define | MIPICFG_DIS_TE (1U<<28U)
| Disables Input Tearing Signal. More...
#define | MIPICFG_SPIDC_DQSPI (1U<<27U)
| Enables the usage of SPI_DC wire as SPI_SD1. More...
#define | MIPICFG_RSTN_DBI_SPI (1U<<26U)
| DBI/SPI interfaces clear. More...
#define | MIPICFG_RESX (1U<<25U)
| Controls MIPI DBI Type-B RESX output signal. More...
#define | MIPICFG_DMA (1U<<24U)
| (unused) Enables pixel data from DMA More...
#define | MIPICFG_SPI3 (1U<<23U)
| Enables SPI 3-wire interface. More...
#define | MIPICFG_SPI4 (1U<<22U)
| Enables SPI 4-wire interface. More...
#define | MIPICFG_GPI ((1U<<23U)|(1U<<22U))
| Enables Generic Packet Interface. More...
#define | MIPICFG_EN_STALL (1U<<21U)
| Enables back-pressure from dbi_stall_i signal. More...
#define | MIPICFG_SPI_CPHA (1U<<20U)
| Sets SPI Clock Phase. More...
#define | MIPICFG_SPI_CPOL (1U<<19U)
| Sets SPI Clock Polarity. More...
#define | MIPICFG_SPI_JDI (1U<<18U)
| – reserved – More...
#define | MIPICFG_EN_DVALID (1U<<18U)
| Enables read using external data valid signal. More...
#define | MIPICFG_SPI_HOLD (1U<<17U)
| Binds scanline address with pixel data. More...
#define | MIPICFG_INV_ADDR (1U<<16U)
| Inverts scanline address. More...
#define | MIPICFG_SCAN_ADDR (1U<<15U)
| Scan address used as header of each line. More...
#define | MIPICFG_PIXCLK_OUT_EN (1U<<14U)
| Redirects pixel generation clock to the output. More...
#define | MIPICFG_EXT_CTRL (1U<<13U)
| Enables external control signals. More...
#define | MIPICFG_BLANKING_EN (1U<<12U)
| Enables horizontal blanking. More...
#define | MIPICFG_DSPI_SPIX (1U<<11U)
| Enables DSPI sub-pixel transaction. More...
#define | MIPICFG_QSPI (1U<<10U)
| Enables QSPI. More...
#define | MIPICFG_QSPI_DDR ((1U<<10U)|(1U<<9U))
| Enables QSPI DDR. More...
#define | MIPICFG_DSPI (1U<< 9U)
| Enables DSPI. More...
#define | MIPICFG_SPI (0U<< 9U)
| Enables SPI. More...
#define | MIPICFG_NULL (0x00U)
| MIPI CFG NULL. More...

## Detailed Description

## Macro Definition Documentation

## ◆ MIPICFG_BLANKING_EN

#define MIPICFG_BLANKING_EN (1U<<12U)

Enables horizontal blanking.

Definition at line 87 of file hal_gdc_mipi.h.

## ◆ MIPICFG_DBI_EN

#define MIPICFG_DBI_EN (1U<<31U)

Enables MIPI DBI/SPI interface.

Definition at line 65 of file hal_gdc_mipi.h.

## ◆ MIPICFG_DIS_TE

#define MIPICFG_DIS_TE (1U<<28U)

Disables Input Tearing Signal.

Definition at line 69 of file hal_gdc_mipi.h.

## ◆ MIPICFG_DMA

#define MIPICFG_DMA (1U<<24U)

(unused) Enables pixel data from DMA

Definition at line 73 of file hal_gdc_mipi.h.

## ◆ MIPICFG_DSPI

#define MIPICFG_DSPI (1U<< 9U)

Enables DSPI.

Definition at line 91 of file hal_gdc_mipi.h.

## ◆ MIPICFG_DSPI_SPIX

#define MIPICFG_DSPI_SPIX (1U<<11U)

Enables DSPI sub-pixel transaction.

Definition at line 88 of file hal_gdc_mipi.h.

## ◆ MIPICFG_EN_DVALID

#define MIPICFG_EN_DVALID (1U<<18U)

Enables read using external data valid signal.

Definition at line 81 of file hal_gdc_mipi.h.

## ◆ MIPICFG_EN_STALL

#define MIPICFG_EN_STALL (1U<<21U)

Enables back-pressure from dbi_stall_i signal.

Definition at line 77 of file hal_gdc_mipi.h.

## ◆ MIPICFG_EXT_CTRL

#define MIPICFG_EXT_CTRL (1U<<13U)

Enables external control signals.

Definition at line 86 of file hal_gdc_mipi.h.

## ◆ MIPICFG_FRC_CSX_0

#define MIPICFG_FRC_CSX_0 (1U<<30U)

Enables CSX force value.

Definition at line 66 of file hal_gdc_mipi.h.

## ◆ MIPICFG_FRC_CSX_1

#define MIPICFG_FRC_CSX_1 ((1U<<30U)|(1U<<29U))

Force CSX to 1.

Definition at line 67 of file hal_gdc_mipi.h.

## ◆ MIPICFG_GPI

#define MIPICFG_GPI ((1U<<23U)|(1U<<22U))

Enables Generic Packet Interface.

Definition at line 76 of file hal_gdc_mipi.h.

## ◆ MIPICFG_INV_ADDR

#define MIPICFG_INV_ADDR (1U<<16U)

Inverts scanline address.

Definition at line 83 of file hal_gdc_mipi.h.

## ◆ MIPICFG_NULL

#define MIPICFG_NULL (0x00U)

MIPI CFG NULL.

Definition at line 93 of file hal_gdc_mipi.h.

## ◆ MIPICFG_PIXCLK_OUT_EN

#define MIPICFG_PIXCLK_OUT_EN (1U<<14U)

Redirects pixel generation clock to the output.

Definition at line 85 of file hal_gdc_mipi.h.

## ◆ MIPICFG_QSPI

#define MIPICFG_QSPI (1U<<10U)

Enables QSPI.

Definition at line 89 of file hal_gdc_mipi.h.

## ◆ MIPICFG_QSPI_DDR

#define MIPICFG_QSPI_DDR ((1U<<10U)|(1U<<9U))

Enables QSPI DDR.

Definition at line 90 of file hal_gdc_mipi.h.

## ◆ MIPICFG_RESX

#define MIPICFG_RESX (1U<<25U)

Controls MIPI DBI Type-B RESX output signal.

Definition at line 72 of file hal_gdc_mipi.h.

## ◆ MIPICFG_RSTN_DBI_SPI

#define MIPICFG_RSTN_DBI_SPI (1U<<26U)

DBI/SPI interfaces clear.

Definition at line 71 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SCAN_ADDR

#define MIPICFG_SCAN_ADDR (1U<<15U)

Scan address used as header of each line.

Definition at line 84 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPI

#define MIPICFG_SPI (0U<< 9U)

Enables SPI.

Definition at line 92 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPI3

#define MIPICFG_SPI3 (1U<<23U)

Enables SPI 3-wire interface.

Definition at line 74 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPI4

#define MIPICFG_SPI4 (1U<<22U)

Enables SPI 4-wire interface.

Definition at line 75 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPI_CPHA

#define MIPICFG_SPI_CPHA (1U<<20U)

Sets SPI Clock Phase.

Definition at line 78 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPI_CPOL

#define MIPICFG_SPI_CPOL (1U<<19U)

Sets SPI Clock Polarity.

Definition at line 79 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPI_CSX_V

#define MIPICFG_SPI_CSX_V (1U<<29U)

CSX active high/low.

Definition at line 68 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPI_HOLD

#define MIPICFG_SPI_HOLD (1U<<17U)

Binds scanline address with pixel data.

Definition at line 82 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPI_JDI

#define MIPICFG_SPI_JDI (1U<<18U)

– reserved –

Definition at line 80 of file hal_gdc_mipi.h.

## ◆ MIPICFG_SPIDC_DQSPI

#define MIPICFG_SPIDC_DQSPI (1U<<27U)

Enables the usage of SPI_DC wire as SPI_SD1.

Definition at line 70 of file hal_gdc_mipi.h.