Another I2C1 problem in NEW FWLib, see 91x_i2c.c
Company  
ST Home | Microcontrollers

Index  »  ST9  »  Another I2C1 problem in NEW FWLib, see 91x_i2c.c
     
   Another I2C1 problem in NEW FWLib, see 91x_i2c.c
 Moderated by :   »  Loiccho  -  chaps

Author
beginning argument    ( No reply )
rgreenthal   Posted 06-03-2008 at 01:18   



Registered on :
02-07-2009

Messages : 43

 OFF-Line

What about I2C1? see your own comments!
Doesn't any one Moderate this?
I see no responses & I also sent this to Tech Support!

/*******************************************************************************
* Function Name : I2C_DeInit
* Description : Deinitializes the I2C peripheral registers to their default
* reset values.
* Input :- I2Cx: I2C peripheral can be:
* - I2C0
* - I2C1
* Output : None
* Return : None
*******************************************************************************/
void I2C_DeInit(I2C_TypeDef* I2Cx)
{
if (I2Cx == I2C0)
{
/* Reset the I2C0 registers values */
SCU_APBPeriphReset(__I2C0, ENABLE);
SCU_APBPeriphReset(__I2C0, DISABLE);
}
}




 Profile   Quote  
On Top

Search in the forums
 
Jump To