15. Combination of USART, SPI, and I2C (USI)
A96G150 User's manual
206
Case 1: No ACK signal is detected (ACKnEN=0) and I2C waits STOP or repeated START
condition.
Case 2: ACK signal is detected (ACKnEN=1) and I2C can continue to receive data from master.
After doing one of the actions above, write arbitrary value to USInST2 to release SCLn line.
For the case 1, move to step 7 to terminate communication. For the case 2, move to step 5.
In either case, a repeated START condition can be detected. For that case, move step 4.
7.
This is the final step for slave receiver function of I2C, handling STOP interrupt. The STOPCn
bit indicates that data transfer between master and slave is over. To clear USInST2, write any
value to USInST2. After this, I2C enters idle state
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...