| 전자부품 데이터시트 검색엔진 |
|
STM8S 데이터시트(PDF) 306 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S 데이터시트(HTML) 306 Page - STMicroelectronics |
|
306 / 467 page ![]() Inter-integrated circuit (I2C) interface RM0016 306/467 DocID14587 Rev 14 21.7.2 Control register 2 (I2C_CR2) Address offset: 0x01 Reset value: 0x00 7 654 3210 SWRST Reserved POS ACK STOP START rw r rw rw rw rw Bit 7 SWRST: Software reset When set, the I2C is at reset state. Before resetting this bit, make sure the I2C lines are released and the bus is free. 0: I2C Peripheral not at reset state 1: I2C Peripheral at reset state Note: This bit can be used in case the BUSY bit is set to ‘1’ when no stop condition has been detected on the bus. Bits 6::4 Reserved Bit 3 POS: Acknowledge position (for data reception). This bit is set and cleared by software and cleared by hardware when PE=0. 0: ACK bit controls the (N)ACK of the current byte being received in the shift register. 1: ACK bit controls the (N)ACK of the next byte which will be received in the shift register. Note: The POS bit is used when the procedure for reception of 2 bytes (see Method 2: transfer sequence diagram for master receiver when N=2) is followed. It must be configured before data reception starts. In this case, to NACK the 2nd byte, the ACK bit must be cleared just after ADDR is cleared. Note: Bit 2 ACK: Acknowledge enable This bit is set and cleared by software and cleared by hardware when PE=0. 0: No acknowledge returned 1: Acknowledge returned after a byte is received (matched address or data) Bit 1 STOP: Stop generation The bit is set and cleared by software, cleared by hardware when a Stop condition is detected, set by hardware when a timeout error is detected. – In Master mode: 0: No Stop generation. 1: Stop generation after the current byte transfer or after the current Start condition is sent. – In Slave mode: 0: No Stop generation. 1: Release the SCL and SDA lines after the current byte transfer. Bit 0 START: Start generation This bit is set and cleared by software and cleared by hardware when start is sent or PE=0. – In Master mode: 0: No Start generation 1: Repeated start generation – In Slave mode: 0: No Start generation 1: Start generation when the bus is free |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |