| поискавой системы для электроныых деталей |
|
RM0312 датащи(PDF) 192 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 датащи(HTML) 192 Page - STMicroelectronics |
|
192 / 275 page ![]() Inter-integrated circuit (I2C) interface RM0312 192/275 DocID022352 Rev 3 Bit 1 ADDR: Address sent (master mode)/matched (slave mode) (8)(9) This bit is cleared by software reading SR1 register followed reading SR3, or by hardware when PE=0. – Address matched (Slave) 0: Address mismatched or not received. 1: Received address matched. – Set by hardware as soon as the received slave address matched with the OAR registers content or a general call or a SMBus is recognized. (when enabled depending on configuration). – Address sent (Master) 0: No end of address transmission 1: End of address transmission – For 10-bit addressing, the bit is set after the ACK of the 2nd byte. – For 7-bit addressing, the bit is set after the ACK of the byte. Note: ADDR is not set after a NACK reception Bit 0 SB: Start bit (Master mode) (8) 0: No Start condition 1: Start condition generated. – Set when a Start condition generated. – Cleared by software by reading the SR1 register followed by writing the DR register, or by hardware when PE=0 1. The interrupt will be generated when DR is copied into shift register after an ACK pulse. If a NACK is received, copy is not done and TXE is not set. 2. The interrupt will be generated when Shift register is copied into DR after an ACK pulse. 3. RXNE is not set in case of ARLO event. 4. The STOPF bit is not set after a NACK reception. 5. It is recommended to perform the complete clearing sequence (READ SR1 then WRITE CR2) after STOPF is set. Refer to Figure 68: Transfer sequence diagram for slave receiver on page 176 6. The ADD10 bit is not set after a NACK reception. 7. The BTF bit is not set after a NACK reception, or in case of an ARLO event. 8. Due to timing constraints, when in standard mode if CCR is less than 9 (i.e. with peripheral clock below 2 MHz) with fMASTER = fCPU and the event interrupt disabled, the following procedure must be followed: modify the reset sequence in order to insert at least 5 cycles between each operations in the flag clearing sequence. For example, when fMASTER = fCPU = 1 MHz, use the following sequence to poll the SB bit: _label_wait: BTJF I2C_SR1,SB,_label_wait NOP ; NOP; NOP ; NOP NOP LD I2C_DR, A ; once executed, the SB bit is then cleared. 9. In slave mode, it is recommended to perform the complete clearing sequence (READ SR1 then READ SR3) after ADDR is set. Refer to Figure 68: Transfer sequence diagram for slave receiver on page 176. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |