1.2.21.70 1.3.25.70 1.4.21.70 1.5.25.70 1.6.22.70 1.7.23.70 1.9.19.70 1.29.23.70 1.30.18.70 1.31.18.70 1.32.26.70 1.33.16.70 1.37.18.70 1.38.21.70 1.39.18.70 1.40.20.70 SERCOMx_I2C_Initialize Function
C
/* x = SERCOM instance number */
/* I2C master and slave mode */
void SERCOMx_I2C_Initialize(void)
Summary
Initializes the instance of the SERCOM I2C peripheral in either master or slave mode.
Description
This function initializes the given instance of the SERCOM I2C peripheral as configured by the user from the MHC.
Precondition
The Generic Clock Generator should have been assigned to the SERCOMx Peripheral Clock Channel.
Parameters
None.
Returns
None.
Example
SERCOM0_I2C_Initialize();
Remarks
Resets the SERCOM I2C module if it was already running and reinitializes it