cancel
Showing results for 
Search instead for 
Did you mean: 

Is this another Bug in the NEW FWLib for the SSP?

rgreenthal
Associate II
Posted on March 05, 2008 at 20:15

Is this another Bug in the NEW FWLib for the SSP?

1 REPLY 1
rgreenthal
Associate II
Posted on May 17, 2011 at 11:32

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

}

}