Skip to main content
rgreenthal
Associate III
March 5, 2008
Question

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

  • March 5, 2008
  • 1 reply
  • 595 views
Posted on March 05, 2008 at 20:15

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

This topic has been closed for replies.

1 reply

rgreenthal
Associate III
May 17, 2011
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);

}

}