This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Why there're two bspSpiOpen() funcitons?

Hi,

Why there're two bspSpiOpen() funcitons? They have the same name but have totally different definitions.

One of them with no parameters, the other one is not.

void bspSpiOpen(void);

void bspSpiOpen(uint32_t bitRate, uint32_t clkPin);

How should I choose which one to use?

It seems that the second one is written for external flash.

I use two spi module in my project for now. One of them is used for display, the other one is used for external flash.

please help.

Thanks!

Lillian

20150821