công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

H8S/2112 bảng dữ liệu(PDF) 521 Page - Renesas Technology Corp

tên linh kiện H8S/2112
Giải thích chi tiết về linh kiện  16-Bit Single-Chip Microcomputer H8S Family / H8S/2100 Series
PDF  894 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  RENESAS [Renesas Technology Corp]
Trang chủ  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8S/2112 bảng dữ liệu(HTML) 521 Page - Renesas Technology Corp

Back Button H8S/2112 Datasheet HTML 517Page - Renesas Technology Corp H8S/2112 Datasheet HTML 518Page - Renesas Technology Corp H8S/2112 Datasheet HTML 519Page - Renesas Technology Corp H8S/2112 Datasheet HTML 520Page - Renesas Technology Corp H8S/2112 Datasheet HTML 521Page - Renesas Technology Corp H8S/2112 Datasheet HTML 522Page - Renesas Technology Corp H8S/2112 Datasheet HTML 523Page - Renesas Technology Corp H8S/2112 Datasheet HTML 524Page - Renesas Technology Corp H8S/2112 Datasheet HTML 525Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 521 / 894 page
background image
Section 16 I
2C Bus Interface (IIC)
Rev. 1.00 Mar. 18, 2008 Page 497 of 866
REJ09B0451-0100
16.4.2
Initialization
Initialize the IIC by the procedure shown in figure 16.6 before starting transmission/reception of
data.
Start initialization
Set MSTP4 = 0 (IIC_0)
MSTP3 = 0 (IIC_1)
MSTPB4 = 0 (IIC_2)
(MSTPCRL, MSTPCRB)
Set ICE = 0 in ICCR
Set ICSR
Set STCR
Cancel module stop mode
Set the first and second slave addresses and IIC communication format
(SVA6 to SVA0, FS, SVAX6 to SVAX0, and FSX)
Enable ICMR and ICDR to be accessed
Use SCL/SDA pin as an IIC port
Set transfer rate (IICX)
Enable the CPU accessing to the IIC control register and data register
Set communication format, wait insertion, and transfer rate
(MLS, WAIT, CKS2 to CKS0)
Enable interrupt, set communication operation
(STOPIM, HNDS, ALIE, ALSL, FNC1, and FNC0)
Be sure to set as follows: HNDS = 1, FNC1 = 1, and FNC0 = 1.
Set acknowledge bit (ACKB)
Set ICMR
Set ICCR
Set IICE = 1 in STCR
Set SAR and SARX
Set ICE = 1 in ICCR
Set ICXR
<< Start transmit/receive operation >>
Set interrupt enable, transfer mode, and acknowledge decision
(IEIC, MST, TRS, and ACKE)
Enable SAR and SARX to be accessed
Figure 16.6 Sample Flowchart for IIC Initialization
Note:
Be sure to modify the ICMR register after transmit/receive operation has been completed.
If the ICMR register is modified during transmit/receive operation, bit counter BC2 to
BC0 will be modified erroneously, thus causing incorrect operation.
16.4.3
Master Transmit Operation
In I
2C bus format master transmit mode, the master device outputs the transmit clock and transmit
data, and the slave device returns an acknowledge signal.
Figure 16.7 shows the sample flowchart for the operations in master transmit mode.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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