SPI_Basic_init

Initialize SPI interface If module is configured to disabled state, the clock to the SPI is disabled if this is supported by the device's clock system.

void SPI_Basic_init(
    void 
)

Returns

Type: void

Initialization status.

0

the SPI init was successful

1

the SPI init was not successful