| Electronic Components Datasheet Search |
|
38K2 Datasheet(PDF) 207 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
38K2 Datasheet(HTML) 207 Page - Renesas Technology Corp |
|
207 / 358 page ![]() 2.4 Serial I/O Rev.2.00 Oct 15, 2006 page 58 of 112 38K2 Group REJ09B0338-0200 APPLICATION Control procedure : q Control in the master unit After setting the related registers shown in Figure 2.4.26, the master unit starts transmission or reception of 1-byte data by writing transmission data to the transmit buffer register. To perform the communication in the timing shown in Figure 2.4.25, take the timing into account and write transmission data. Additionally, read out the reception data when the serial I/O transmit interrupt request bit is set to “1,” or before the next transmission data is written to the transmit buffer register. Figure 2.4.27 shows a control procedure of the master unit using timer interrupts. Fig. 2.4.27 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 term? 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 •Generation of a certain block interval by using a timer or other functions •Check the block interval counter and determine to start a block transfer 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). •Push the register used in the interrupt processing routine into the stack Pop registers •Pop registers which is pushed to stack |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |