spicommon_periph_claim() function
Try to claim a SPI peripheral Call this if your driver wants to manage a SPI peripheral.
Arguments
source
The caller indentification string.
Return value
True if peripheral is claimed successfully; false if peripheral already is claimed.