Macros
DSPI Private Macros
Peripheral Driver » HAL Driver » DSPI » Defines

## Macros
#define | IS_DSPI_CLOCK_PRESCALER(__PRESCALER__)
| Check if DSPI Clock Prescaler is valid. More...
#define | IS_DSPI_INTERFACE_MODE(__INTERFACEMODE__)
| Check if DSPI Interface Mode is valid. More...
#define | IS_DSPI_INSTRUCTION_SIZE(__INST_SIZE__)
| Check if DSPI Instruction Size is valid. More...

## Detailed Description

## Macro Definition Documentation

## ◆ IS_DSPI_CLOCK_PRESCALER

#define IS_DSPI_CLOCK_PRESCALER | ( |  | __PRESCALER__ | ) |

Value:
(((__PRESCALER__) == DSPI_BAUD_RATE_2P1PCLK) || \
((__PRESCALER__) == DSPI_BAUD_RATE_4P1PCLK) || \
((__PRESCALER__) == DSPI_BAUD_RATE_8P1PCLK) || \
((__PRESCALER__) == DSPI_BAUD_RATE_16P1PCLK) || \
((__PRESCALER__) == DSPI_BAUD_RATE_32P1PCLK) || \
((__PRESCALER__) == DSPI_BAUD_RATE_64P1PCLK) || \
((__PRESCALER__) == DSPI_BAUD_RATE_128P1PCLK) || \
((__PRESCALER__) == DSPI_BAUD_RATE_256P1PCLK))

Check if DSPI Clock Prescaler is valid.

Parameters

  __PRESCALER__ | DSPI Clock Prescaler.

Return values

  SET | (__PRESCALER__ is valid) or RESET (__PRESCALER__ is invalid)

Definition at line 453 of file gr55xx_hal_dspi.h.

## ◆ IS_DSPI_INSTRUCTION_SIZE

#define IS_DSPI_INSTRUCTION_SIZE | ( |  | __INST_SIZE__ | ) |

Value:
(((__INST_SIZE__) == DSPI_INSTSIZE_08_BITS) || \
((__INST_SIZE__) == DSPI_INSTSIZE_16_BITS) || \
((__INST_SIZE__) == DSPI_INSTSIZE_32_BITS))

Check if DSPI Instruction Size is valid.

Parameters

  __INST_SIZE__ | DSPI Instruction Size.

Return values

  SET | (__INST_SIZE__ is valid) or RESET (__INST_SIZE__ is invalid)

Definition at line 474 of file gr55xx_hal_dspi.h.

## ◆ IS_DSPI_INTERFACE_MODE

#define IS_DSPI_INTERFACE_MODE | ( |  | __INTERFACEMODE__ | ) |

Value:
(((__INTERFACEMODE__) == DSPI_PROT_MODE_3W1L) || \
((__INTERFACEMODE__) == DSPI_PROT_MODE_4W1L) || \
((__INTERFACEMODE__) == DSPI_PROT_MODE_4W2L))

Check if DSPI Interface Mode is valid.

Parameters

  __INTERFACEMODE__ | QSPI Interface Mode.

Return values

  SET | (__INTERFACEMODE__ is valid) or RESET (__INTERFACEMODE__ is invalid)

Definition at line 466 of file gr55xx_hal_dspi.h.

DSPI_BAUD_RATE_64P1PCLK
#define DSPI_BAUD_RATE_64P1PCLK
Definition: gr55xx_hal_dspi.h:233
DSPI_PROT_MODE_4W1L
#define DSPI_PROT_MODE_4W1L
Definition: gr55xx_hal_dspi.h:243
DSPI_BAUD_RATE_128P1PCLK
#define DSPI_BAUD_RATE_128P1PCLK
Definition: gr55xx_hal_dspi.h:234
DSPI_BAUD_RATE_32P1PCLK
#define DSPI_BAUD_RATE_32P1PCLK
Definition: gr55xx_hal_dspi.h:232
DSPI_INSTSIZE_16_BITS
#define DSPI_INSTSIZE_16_BITS
Definition: gr55xx_hal_dspi.h:251
DSPI_BAUD_RATE_16P1PCLK
#define DSPI_BAUD_RATE_16P1PCLK
Definition: gr55xx_hal_dspi.h:231
DSPI_BAUD_RATE_2P1PCLK
#define DSPI_BAUD_RATE_2P1PCLK
Definition: gr55xx_hal_dspi.h:228
DSPI_INSTSIZE_32_BITS
#define DSPI_INSTSIZE_32_BITS
Definition: gr55xx_hal_dspi.h:252
DSPI_BAUD_RATE_4P1PCLK
#define DSPI_BAUD_RATE_4P1PCLK
Definition: gr55xx_hal_dspi.h:229
DSPI_PROT_MODE_3W1L
#define DSPI_PROT_MODE_3W1L
Definition: gr55xx_hal_dspi.h:242
DSPI_PROT_MODE_4W2L
#define DSPI_PROT_MODE_4W2L
Definition: gr55xx_hal_dspi.h:244
DSPI_BAUD_RATE_256P1PCLK
#define DSPI_BAUD_RATE_256P1PCLK
Definition: gr55xx_hal_dspi.h:235
DSPI_BAUD_RATE_8P1PCLK
#define DSPI_BAUD_RATE_8P1PCLK
Definition: gr55xx_hal_dspi.h:230
DSPI_INSTSIZE_08_BITS
#define DSPI_INSTSIZE_08_BITS
Definition: gr55xx_hal_dspi.h:250