| 数据搜索系统,热门电子元器件搜索 |
|
M38C31M7AXXXFS 数据表(PDF) 114 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M38C31M7AXXXFS 数据表(HTML) 114 Page - Renesas Technology Corp |
|
114 / 224 page ![]() 38C3 Group User’s Manual APPLICATION 2-49 2.3 Serial I/O Control procedure by software: q Control in the master unit After setting the relevant registers shown in Figure 2.3.22, the master unit starts transmission or reception of 1-byte data by writing transmission data to the serial I/O register. To perform the communication in the timing shown in Figure 2.3.21, take the timing into account and write transmission data. Additionally, read out the reception data when the serial I/O interrupt request bit is set to “1,” or before the next transmission data is written to the serial I/O register. Figure 2.3.24 shows a control procedure of the master unit using timer interrupts. Fig. 2.3.24 Control procedure of master unit Interrupt processing routine executed every 488 µs Write a transmission data Read a reception data N Within a block transfer period? Y Y Complete to transfer a block? N RTI Write the first transmission data (first byte) in a block Count a block interval counter N Start a block transfer? Y Generating a certain block interval by using a timer or other functions Check of the block interval counter and determination to start a block transfer q q CLT (Note 1) CLD (Note 2) Push register to stack Note 1: When using the Index X mode flag (T). Note 2: When using the Decimal mode flag (D). Pushing the register used in the interrupt processing routine into the stack q Pop registersPopping registers which is pushed to stack q |
|
链接网址 |
| 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 |