Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

H8/3334Y Scheda tecnica(PDF) 335 Page - Renesas Technology Corp

Il numero della parte H8/3334Y
Spiegazioni elettronici  Single-Chip Microcomputer
PDF  747 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  RENESAS [Renesas Technology Corp]
Homepage  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8/3334Y Scheda tecnica(HTML) 335 Page - Renesas Technology Corp

Back Button H8/3334Y Datasheet HTML 331Page - Renesas Technology Corp H8/3334Y Datasheet HTML 332Page - Renesas Technology Corp H8/3334Y Datasheet HTML 333Page - Renesas Technology Corp H8/3334Y Datasheet HTML 334Page - Renesas Technology Corp H8/3334Y Datasheet HTML 335Page - Renesas Technology Corp H8/3334Y Datasheet HTML 336Page - Renesas Technology Corp H8/3334Y Datasheet HTML 337Page - Renesas Technology Corp H8/3334Y Datasheet HTML 338Page - Renesas Technology Corp H8/3334Y Datasheet HTML 339Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 335 / 747 page
background image
305
13.3.8
Sample Flowcharts
Figures 13.12 to 13.15 show typical flowcharts for using the I
2C bus interface in each mode.
1
2
3
4
5
6
7
8
9
10
Start
Initialize
Read BBSY in ICSR
No
BBSY = 0?
Yes
Set MST = 1 and
TRS = 1 in ICCR
Write BBSY = 1
and SCP = 0 in ICSR
Write transmit data in ICDR
Read IRIC in ICSR
No
Yes
IRIC = 1?
Clear IRIC in ICSR
Read ACKB in ICSR
ACKB = 0?
No
Yes
No
Yes
Transmit mode?
Write transmit data in ICDR
Read IRIC in ICSR
IRIC = 1?
No
Yes
Clear IRIC in ICSR
Read ACKB in ICSR
End of transmission
(ACKB = 1)?
No
Yes
Write BBSY = 0
and SCP = 0 in ICSR
End
Master receive mode
1.
Test the status of the SCL and SDA lines.
2.
Select master transmit mode.
3.
Generate a start condition.
4.
Set transmit data for the first byte (slave address + R/W).
5.
Wait for 1 byte to be transmitted.
6.
Test for acknowledgement by the designated slave device.
7.
Set transmit data for the second and subsequent bytes.
8.
Wait for 1 byte to be transmitted.
9.
Test for end of transfer.
10. Generate a stop condition.
Figure 13.12 Flowchart for Master Transmit Mode (Example)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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