| Electronic Components Datasheet Search |
|
H8/3003 Datasheet(PDF) 231 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3003 Datasheet(HTML) 231 Page - Renesas Technology Corp |
|
231 / 715 page ![]() Figure 8-12 shows a sample setup procedure for block transfer mode. Figure 8-12 Block Transfer Mode Setup Procedure (Example) 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Block transfer mode 1 2 3 4 5 6 7 8 9 10 Set source address Set destination address Set block transfer count Set block size Set DTCRB (1) Set DTCRA (1) Read DTCRB Set DTCRB (2) Read DTCRA Set DTCRA (2) Block transfer mode Set the source address in MARA. Set the destination address in MARB. Set the block transfer count in ETCRB. Set the block size (number of bytes or words) in both ETCRAH and ETCRAL. Set the DTCRB bits as follows. Set the DTCRA bits as follows. • • • • • • • • • Clear the DTME bit to 0. Set the DAID and DAIDE bits to select whether MARB is incremented, decremented, or held fixed. Set or clear the TMS bit to make the block area the source or destination. Select the DMAC activation source with bits DTS2B to DTS0B. Clear the DTE to 0. Select byte size or word size with the DTSZ bit. Set the SAID and SAIDE bits to select whether MARA is incremented, decremented, or held fixed. Set or clear the DTIE bit to enable or disable the CPU interrupt at the end of the transfer. Set bits DTS2A to DTS0A all to 1 to select block transfer mode. Read DTCRB with DTME cleared to 0. Set the DTME bit to 1 in DTCRB. Read DTCRA with DTE cleared to 0. Set the DTE bit to 1 in DTCRA to enable the transfer. Note: Carry out settings 1 to 10 with the DEND interrupt masked in the CPU. * 213 |
|
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 |