Macros
XQSPI Clock Mode
Peripheral Driver » HAL Driver » XQSPI » Defines » XQSPI Exported Constants

## Macros
#define | XQSPI_CLOCK_MODE_0 ((LL_XQSPI_SCPOL_LOW << 1) | LL_XQSPI_SCPHA_1EDGE)
#define | XQSPI_CLOCK_MODE_1 ((LL_XQSPI_SCPOL_LOW << 1) | LL_XQSPI_SCPHA_2EDGE)
#define | XQSPI_CLOCK_MODE_2 ((LL_XQSPI_SCPOL_HIGH << 1) | LL_XQSPI_SCPHA_1EDGE)
#define | XQSPI_CLOCK_MODE_3 ((LL_XQSPI_SCPOL_HIGH << 1) | LL_XQSPI_SCPHA_2EDGE)

## Detailed Description

## Macro Definition Documentation

## ◆ XQSPI_CLOCK_MODE_0

#define XQSPI_CLOCK_MODE_0 ((LL_XQSPI_SCPOL_LOW << 1) | LL_XQSPI_SCPHA_1EDGE)

Inactive state of CLK is low, CLK toggles at the start of first data bit

Definition at line 297 of file gr533x_hal_xqspi.h.

## ◆ XQSPI_CLOCK_MODE_1

#define XQSPI_CLOCK_MODE_1 ((LL_XQSPI_SCPOL_LOW << 1) | LL_XQSPI_SCPHA_2EDGE)

Inactive state of CLK is low, CLK toggles in the middle of first data bit

Definition at line 299 of file gr533x_hal_xqspi.h.

## ◆ XQSPI_CLOCK_MODE_2

#define XQSPI_CLOCK_MODE_2 ((LL_XQSPI_SCPOL_HIGH << 1) | LL_XQSPI_SCPHA_1EDGE)

Inactive state of CLK is high, CLK toggles at the start of first data bit

Definition at line 301 of file gr533x_hal_xqspi.h.

## ◆ XQSPI_CLOCK_MODE_3

#define XQSPI_CLOCK_MODE_3 ((LL_XQSPI_SCPOL_HIGH << 1) | LL_XQSPI_SCPHA_2EDGE)

Inactive state of CLK is high, CLK toggles in the middle of first data bit

Definition at line 303 of file gr533x_hal_xqspi.h.