/* De-initializes the SSP peripheral */
void Chip_SSP_DeInit(LPC_SSP_T *pSSP)
{
	Chip_SSP_Disable(pSSP);

	Chip_Clock_Disable(Chip_SSP_GetClockIndex(pSSP));
}
Exemplo n.º 2
0
void spi_disable(spi_device_t* device) {
	Chip_SSP_Disable(device->ssp_device);
}