SPI accessing for Sifive board Through Lower code

Hello guys,
i checked with the protocol ,In lower code ,how can we configure the spi in lower code i got struck when selecting multi function will any one sujjest me to how can i configure