Figure 34-13. I
2
C Pad Interface
SCL/SDA
pad
I2C
Driver
SCL_OUT/
SDA_OUT
pad
PINOUT
PINOUT
SCL_IN/
SDA_IN
SCL_OUT/
SDA_OUT
34.6.3.4. Quick Command
Setting the Quick Command Enable bit in the Control B register (CTRLB.QCEN) enables quick command.
When quick command is enabled, the corresponding interrupt flag (INTFLAG.SB or INTFLAG.MB) is set
immediately after the slave acknowledges the address. At this point, the software can either issue a stop
command or a repeated start by writing CTRLB.CMD or ADDR.ADDR.
34.6.4. DMA, Interrupts and Events
Table 34-1. Module Request for SERCOM I
2
C Slave
Condition
Request
DMA
Interrupt
Event
Data needed for transmit
(TX) (Slave transmit
mode)
Yes
(request cleared when
data is written)
NA
Data received (RX)
(Slave receive mode)
Yes
(request cleared when
data is read)
Data Ready (DRDY)
Yes
Address Match
(AMATCH)
Yes
Stop received (PREC)
Yes
Error (ERROR)
Yes
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
696