31.6.2.1 Initialization

The SERCOM must be configured to the desired mode by writing the Operating Mode bits in the Control A register (CTRLA.MODE). Refer to table SERCOM Modes for details.

Table 31-1. SERCOM Modes
CTRLA.MODEDescription
0x0USART with external clock
0x1USART with internal clock
0x2SPI in slave operation
0x3SPI in master operation
0x4I2C slave operation
0x5I2C master operation
0x6-0x7Reserved

For further initialization information, see the respective SERCOM mode chapters:

References:

SERCOM USART

SERCOM SPI

SERCOM I2C