
M0A21/M0A23 Series
May 06, 2022
Page
599
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
[5]
PTRG
I
2
C Protocol Trigger (Write Only)
When a new state is present in the UI2C_PROTSTS register, if the related interrupt enable bits are set, the
I
2
C interrupt is requested. It must write one by software to this bit after the related interrupt flags are set to
1 and the I
2
C protocol function will go ahead until the STOP is active or the PROTEN is disabled.
0 = I2C’s stretch disabled and the I
2
C protocol function will go ahead.
1 = I2C’s stretch active.
[4]
ADDR10EN
Address 10-bit Function Enable Bit
0 = Address match 10 bit function Disabled.
1 = Address match 10 bit function Enabled.
[3]
STA
I
2
C START Control
Setting STA to logic 1 to enter Master mode, the I
2
C hardware sends a START or repeat START condition
to bus when the bus is free.
[2]
STO
I
2
C STOP Control
In Master mode, setting STO to transmit a STOP condition to bus then I
2
C hardware will check the bus
condition if a STOP condition is detected this bit will be cleared by hardware automatically. In a slave mode,
setting STO resets I
2
C hardware to the defined “not addressed” slave mode when bus error
(UI2C_PROTSTS.ERRIF = 1).
[1]
AA
Assert Acknowledge Control
When AA =1 prior to address or data received, an acknowledged (low level to SDA) will be returned during
the acknowledge clock pulse on the SCL line when (1) A slave is acknowledging the address sent from
master, (2) The receiver devices are acknowledging the data sent by transmitter. When AA=0 prior to
address or data received, a Not acknowledged (high level to SDA) will be returned during the acknowledge
clock pulse on the SCL line.
[0]
GCFUNC
General Call Function
0 = General Call Function Disabled.
1 = General Call Function Enabled.