"LL_SPI_SetRxFIFOThreshold() was not declared in this scope"
Hello everyone,
I want to add a process called LL_SPI_SetRxFIFOThreshold(SPI3, LL_SPI_RX_FIFO_TH_QUARTER) in my program to set the FRXTH bit, but LL_SPI_SetRxFIFOThreshold was not declared in this scope.”
How can I deal with this error?
microcontroller stm32f407vgt6, cubeIDE
Required header file #include “stm32f4xx_ll_spi.h” is written
void SPI3_Start(void)
{
LL_SPI_Enable(spi2);
LL_SPI_SetRxFIFOThreshold(spi2, LL_SPI_RX_FIFO_TH_QUARTER);
}
Can you help me with this issue?
Thank you
