| 전자부품 데이터시트 검색엔진 |
|
H8S/2456 데이터시트(PDF) 1040 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2456 데이터시트(HTML) 1040 Page - Renesas Technology Corp |
|
1040 / 1376 page ![]() Section 17 I 2C Bus Interface 2 (IIC2) Rev. 1.00 Sep. 19, 2008 Page 1010 of 1342 REJ09B0467-0100 BBSY=0 ? No TEND=1 ? No Yes Start [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [13] [14] [15] Initialize Set MST = 1 and TRS = 1 in ICCRA. Write BBSY = 1 and SCP = 0. Write transmit data in ICDRT Write BBSY = 0 and SCP = 0 Set MST = 0 and TRS = 0 in ICCRA Read BBSY in ICCRB Read TEND in ICSR Read ACKBR in ICIER Master receive mode Yes ACKBR=0 ? Write transmit data in ICDRT Read TDRE in ICSR Read TEND in ICSR Clear TEND in ICSR Read STOP in ICSR Clear TDRE in ICSR End Write transmit data in ICDRT Transmit mode? No Yes TDRE=1 ? Final byte? STOP=1 ? No No No No No Yes Yes TEND=1 ? Yes Yes Yes [1] Test the status of the SCL and SDA lines. [2] Select master transmit mode. [3] Start condition issuance. [4] Select transmit data for the first byte (slave address + R/W). [5] Wait for 1 byte to be transmitted. [6] Test the acknowledge bit, transferred from the specified slave device. [7] Set transmit data for the second and subsequent data (except for the final byte). [8] Wait for ICDRT empty. [9] Set the final byte of transmit data. [10] Wait for the completion of transmission for the final byte. [11] Clear TEND flag. [12] Clear STOP flag. [13] Stop condition issuance. [14] Wait for the generation of the stop condition. [15] Set slave receive mode. Clear TDRE. [12] Clear STOP in ICSR Figure 17.14 Sample Flowchart for Master Transmit Mode |
|
링크 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 |