
Registered on : 02-07-2009
Messages : 43
OFF-Line
|
Where is SSP1? Comment says 0 or 1
Where are the Code reviews?
With all these bugs we should get free support forever!
Motorola gave me free support many years ago for finding many of their bugs!
/*******************************************************************************
* Function Name : SSP_DeInit
* Description : Deinitializes the SSPx peripheral registers to their default
* reset values.
* Input : SSPx: where x can be 0 or 1 to select the SSP peripheral.
* Output : None
* Return : None
*******************************************************************************/
void SSP_DeInit(SSP_TypeDef* SSPx)
{
if(SSPx == SSP0)
{
/* Reset the SSP0 registers values*/
SCU_APBPeriphReset(__SSP0,ENABLE);
SCU_APBPeriphReset(__SSP0,DISABLE);
}
}
|
|
|