![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | SPI_1LINE_TX(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= SPI_CR1_BIDIOE) |
Sets the SPI transmit-only mode. More... | |
#define | SPI_1LINE_RX(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= (~SPI_CR1_BIDIOE)) |
Sets the SPI receive-only mode. More... | |
#define | SPI_RESET_CRC(__HANDLE__) |
Resets the CRC calculation of the SPI. More... | |
#define | IS_SPI_MODE(MODE) |
#define | IS_SPI_DIRECTION(MODE) |
#define | IS_SPI_DIRECTION_2LINES(MODE) ((MODE) == SPI_DIRECTION_2LINES) |
#define | IS_SPI_DIRECTION_2LINES_OR_1LINE(MODE) |
#define | IS_SPI_DATASIZE(DATASIZE) |
#define | IS_SPI_CPOL(CPOL) |
#define | IS_SPI_CPHA(CPHA) |
#define | IS_SPI_NSS(NSS) |
#define | IS_SPI_NSSP(NSSP) |
#define | IS_SPI_BAUDRATE_PRESCALER(PRESCALER) |
#define | IS_SPI_FIRST_BIT(BIT) |
#define | IS_SPI_TIMODE(MODE) |
#define | IS_SPI_CRC_CALCULATION(CALCULATION) |
#define | IS_SPI_CRC_LENGTH(LENGTH) |
#define | IS_SPI_CRC_POLYNOMIAL(POLYNOMIAL) (((POLYNOMIAL) >= 0x1) && ((POLYNOMIAL) <= 0xFFFF) && (((POLYNOMIAL)&0x1) != 0)) |
#define IS_SPI_BAUDRATE_PRESCALER | ( | PRESCALER | ) |
Definition at line 590 of file stm32f7xx_hal_spi.h.
#define IS_SPI_CPHA | ( | CPHA | ) |
Definition at line 580 of file stm32f7xx_hal_spi.h.
#define IS_SPI_CPOL | ( | CPOL | ) |
Definition at line 577 of file stm32f7xx_hal_spi.h.
#define IS_SPI_CRC_CALCULATION | ( | CALCULATION | ) |
Definition at line 605 of file stm32f7xx_hal_spi.h.
#define IS_SPI_CRC_LENGTH | ( | LENGTH | ) |
Definition at line 608 of file stm32f7xx_hal_spi.h.
#define IS_SPI_CRC_POLYNOMIAL | ( | POLYNOMIAL | ) | (((POLYNOMIAL) >= 0x1) && ((POLYNOMIAL) <= 0xFFFF) && (((POLYNOMIAL)&0x1) != 0)) |
Definition at line 612 of file stm32f7xx_hal_spi.h.
#define IS_SPI_DATASIZE | ( | DATASIZE | ) |
Definition at line 563 of file stm32f7xx_hal_spi.h.
#define IS_SPI_DIRECTION | ( | MODE | ) |
Definition at line 554 of file stm32f7xx_hal_spi.h.
#define IS_SPI_DIRECTION_2LINES | ( | MODE | ) | ((MODE) == SPI_DIRECTION_2LINES) |
Definition at line 558 of file stm32f7xx_hal_spi.h.
#define IS_SPI_DIRECTION_2LINES_OR_1LINE | ( | MODE | ) |
Definition at line 560 of file stm32f7xx_hal_spi.h.
#define IS_SPI_FIRST_BIT | ( | BIT | ) |
Definition at line 599 of file stm32f7xx_hal_spi.h.
#define IS_SPI_MODE | ( | MODE | ) |
Definition at line 551 of file stm32f7xx_hal_spi.h.
#define IS_SPI_NSS | ( | NSS | ) |
Definition at line 583 of file stm32f7xx_hal_spi.h.
#define IS_SPI_NSSP | ( | NSSP | ) |
Definition at line 587 of file stm32f7xx_hal_spi.h.
#define IS_SPI_TIMODE | ( | MODE | ) |
Definition at line 602 of file stm32f7xx_hal_spi.h.
#define SPI_1LINE_RX | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= (~SPI_CR1_BIDIOE)) |
Sets the SPI receive-only mode.
<strong>HANDLE</strong> | : specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 541 of file stm32f7xx_hal_spi.h.
#define SPI_1LINE_TX | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= SPI_CR1_BIDIOE) |
Sets the SPI transmit-only mode.
<strong>HANDLE</strong> | : specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 534 of file stm32f7xx_hal_spi.h.
#define SPI_RESET_CRC | ( | __HANDLE__ | ) |
Resets the CRC calculation of the SPI.
<strong>HANDLE</strong> | : specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 548 of file stm32f7xx_hal_spi.h.