Is this another Bug in the NEW FWLib for the SSP?
Company  
ST Home | Microcontrollers

Index  »  ST9  »  Is this another Bug in the NEW FWLib for the SSP?
     
   Is this another Bug in the NEW FWLib for the SSP?
 Moderated by :   »  Loiccho  -  chaps

Author
beginning argument    ( No reply )
rgreenthal   Posted 06-03-2008 at 00:45   



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);
}
}




 Profile   Quote  
On Top

Search in the forums
 
Jump To