YRSPSH7267-1030 Renesas Starter Kit2+ for SH7267 RPDL Manual RENESAS SINGLE-CHIP MICROCOMPUTER Super
Driver 2.2 8BControl Function 2. Rev.1.00 May 22 2012 REJ09B0566 2-2 2.3. Serial Communication In
Rev.1.00 May 22 2012 REJ09B0566 4-80 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Create 4
Rev.1.00 May 22 2012 REJ09B0566 4-81 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Create 4
Rev.1.00 May 22 2012 REJ09B0566 4-82 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Create 4
Rev.1.00 May 22 2012 REJ09B0566 4-83 Library Reference 4 4.2.9 40BSerial Communication Interface
Rev.1.00 May 22 2012 REJ09B0566 4-84 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Send 4
Rev.1.00 May 22 2012 REJ09B0566 4-85 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Send 4
Rev.1.00 May 22 2012 REJ09B0566 4-86 Library Reference 4 4.2.9 40BSerial Communication Interface R_SCI_Receive
Rev.1.00 May 22 2012 REJ09B0566 4-87 Library Reference 4 4.2.9 40BSerial Communication Interface R_SCI_Receive
Rev.1.00 May 22 2012 REJ09B0566 4-88 Library Reference 4 4.2.9 40BSerial Communication Interface
Rev.1.00 May 22 2012 REJ09B0566 4-89 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_GetStatus 4
Driver 2.2 8BControl Function 2. Rev.1.00 May 22 2012 REJ09B0566 2-3 2.4. I/O Port Driver The
Rev.1.00 May 22 2012 REJ09B0566 4-90 Library Reference R_ADC_10_Create 4 4.2.10 41B10-bit Analog to Digital Converter
Rev.1.00 May 22 2012 REJ09B0566 4-91 Library Reference R_ADC_10_Create 4 4.2.10 41B10-bit Analog to Digital Converter
Rev.1.00 May 22 2012 REJ09B0566 4-92 Library Reference R_ADC_10_Create 4 4.2.10 41B10-bit Analog to Digital Converter
Rev.1.00 May 22 2012 REJ09B0566 4-93 Library Reference R_ADC_10_Create 4 4.2.10 41B10-bit Analog to Digital Converter Remarks (2/2) • Interrupts
Rev.1.00 May 22 2012 REJ09B0566 4-94 Library Reference 4.2.10 10-bit Analog to Digital Converter 4
Rev.1.00 May 22 2012 REJ09B0566 4-95 Library Reference 4 4.2.10 41B10-bit Analog to Digital Converter R_ADC_10_Control
Rev.1.00 May 22 2012 REJ09B0566 4-96 4 3BLibrary Referenc
5-1 5 4BUsage Examples 5. Usage Examples This chapter
5-2 5 4BUsage Examples 5.1 21BInterrupt control 5.1. Interrupt control Figure 5-1 shows an exa
5-3 5 4BUsage Examples 5.1 21BInterrupt control ); if ((irq_status & 0x01) == 0) { /* Disable
Driver 2.2 8BControl Function 2. Rev.1.00 May 22 2012 REJ09B0566 2-4 2.5. Port Function Control D
4BUsage Examples 5.3 23BBus Controller 5 5-4 Rev.1.00 May 22 2012 REJ09B0566 5.2. I/O Port Fig
4BUsage Examples 5.3 23BBus Controller 5 5-5 Rev.1.00 May 22 2012 REJ09B0566 Figure 5-2 Example o
4BUsage Examples 5.3 23BBus Controller 5 5-6 Rev.1.00 May 22 2012 REJ09B0566 R_CPG_Set(18E6, 144E6
5-7 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5 5.4 24BDMA controller
5-8 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5 5.4 24BDMA controller
5-9 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5 5.4 24BDMA controller
5-10 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5.5 25BMulti-Function Timer Pulse Unit 5 5.
5-11 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5.5 25BMulti-Function Timer Pulse Unit 5 &a
5-12 Rev.1.00 May 22 2012 REJ09B0566 5 4BUsage Examples 5.6 26BCompare Match Timer 5.6. Compar
5 4BUsage Examples 5.6 26BCompare Match Timer Rev.1.00 May 22 2012 REJ09B0566 { /* turn on the LE
Rev.1.00 May 22 2012 REJ09B0566 2-5 Driver 2.2 8BControl Function 2. 2.6. Interrupt Control Drive
Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5.7 Serial Communication Interface 5 5.7.
4BUsage Examples 5.7 Serial Communication Interface 5 5-15 Rev.1.00 May 22 2012 REJ09B0566 /* The
4BUsage Examples 5.7 Serial Communication Interface 5 5-16 Rev.1.00 May 22 2012 REJ09B0566 R_IO_P
4BUsage Examples 5.7 Serial Communication Interface 5 5-17 Rev.1.00 May 22 2012 REJ09B0566 Reciev
4BUsage Examples 5.7 Serial Communication Interface 5 5-18 Rev.1.00 May 22 2012 REJ09B0566 (2)
4BUsage Examples 5.7 Serial Communication Interface 5 5-19 Rev.1.00 May 22 2012 REJ09B0566 “www.r
5-20 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5.8 27BAnalog to Digital Converter 5 5.8.
4BUsage Examples 5.8 27BAnalog to Digital Converter 5 Rev.1.00 May 22 2012 REJ09B0566 } Figure 5-
Rev.1.00 May 22 2012 REJ09B0566 Revision History Renesas Embedded Application Programming Inter
Rev.1.00 May 22 2012 REJ09B0566 2-6 Driver 2.2 8BControl Function 2. 2.7. Analog to Digital Conve
Rev.1.00 May 22 2012 REJ09B0566 2-7 Driver 2.2 8BControl Function 2. 2.8. Clock Pulse Generator D
Rev.1.00 May 22 2012 REJ09B0566 2-8 Driver 2.2 8BControl Function 2. 2.9. Compare Match Timer Dri
Rev.1.00 May 22 2012 REJ09B0566 2-9 Driver 2.2 8BControl Function 2. 2.10. Multi Function Timer Pul
Rev.1.00 May 22 2012 REJ09B0566 2-10 Driver 2.2 8BControl Function 2. 2.11. Bus State Controller D
Rev.1.00 May 22 2012 REJ09B0566 2-11 Driver 2.2 8BControl Function 2. 2.12. DMA Controller Driver
Rev. 1.00 Renesas Electronics America May 22 2012
Rev.1.00 May 22 2012 REJ09B0566 3 Stand
Rev.1.00 May 22 2012 REJ09B0566 Library Reference 4.2 Description of Each API 4 4
Library Reference 4.2 Description of Each API 4 REJ09B0566 4.2. Description of Each API This secti
Library Reference 4 32BClock Pulse Generator R_CPG_Set 4.2.1 Rev.1.00 May 22 2012 REJ09B0566 4-3 Synopsi
Library Reference 4 32BClock Pulse Generator R_CPG_Set 4.2.1 Rev.1.00 May 22 2012 REJ09B0566 4-4 Progra
Rev.1.00 May 22 2012 REJ09B0566 4-5 Library Reference 4.2.2 33BInterrupt Control Unit R_INTC_CreateExtInterrupt 4
Rev.1.00 May 22 2012 REJ09B0566 4-6 Library Reference 4.2.2 33BInterrupt Control Unit R_INTC_CreateExtInterrupt 4
Rev.1.00 May 22 2012 REJ09B0566 4-7 Library Reference 4.2.2 33BInterrupt Control Unit R_INTC_CreateExtInterrupt 4
Rev.1.00 May 22 2012 REJ09B0566 4-8 Library Reference 4.2.2 33BInterrupt Control Unit R_INTC_CreateExceptionHandlers 4
Rev.1.00 May 22 2012 REJ09B0566 4-9 Library Reference R_INTC_ControlExtInterrupt 4 4.2.2 33BInterrupt Control Unit
Table of Contents 1. Introduction...
Rev.1.00 May 22 2012 REJ09B0566 4-10 Library Reference R_INTC_ControlExtInterrupt 4 4.2.2 33BInterrupt Control Unit
Rev.1.00 May 22 2012 REJ09B0566 4-11 Library Reference R_INTC_ControlExtInterrupt 4 4.2.2 33BInterrupt Control Unit
Rev.1.00 May 22 2012 REJ09B0566 4-12 Library Reference R_INTC_GetExtInterruptStatus 4 4.2.2 33BInterrupt Control Unit
Rev.1.00 May 22 2012 REJ09B0566 4-13 Library Reference R_INTC_GetExtInterruptStatus 4 4.2.2 33BInterrupt Control Unit
Rev.1.00 May 22 2012 REJ09B0566 4-14 Library Reference 4 4.2.2 33BInterrupt Control Unit R_INTC_Read 5
Rev.1.00 May 22 2012 REJ09B0566 4-15 Library Reference 4 4.2.2 33BInterrupt Control Unit R_INTC_Write
Rev.1.00 May 22 2012 REJ09B0566 4-16 Library Reference 4 4.2.2 33BInterrupt Control Unit R_INTC_Modify
Rev.1.00 May 22 2012 REJ09B0566 4-17 Library Reference 4 4.2.2 33BInterrupt Control Unit R_INTC_Modify
Rev.1.00 May 22 2012 REJ09B0566 4-18 Library Reference 4.2.3 34BI/O Port R_IO_PORT_Set 4 4.2.3.
Rev.1.00 May 22 2012 REJ09B0566 4-19 Library Reference 4.2.3 34BI/O Port R_IO_PORT_Set 4 PDL_IO_P
Rev. 1.00
Rev.1.00 May 22 2012 REJ09B0566 4-20 Library Reference 4.2.3 34BI/O Port R_IO_PORT_Set 4 Program
Rev.1.00 May 22 2012 REJ09B0566 4-21 Library Reference R_IO_PORT_Read 4 4.2.3 34BI/O Port 2) R_IO
Rev.1.00 May 22 2012 REJ09B0566 4-22 Library Reference R_IO_PORT_Read 4 4.2.3 34BI/O Port PDL_IO_PORT_
Rev.1.00 May 22 2012 REJ09B0566 4-23 Library Reference R_IO_PORT_Read 4 4.2.3 34BI/O Port Program exam
Rev.1.00 May 22 2012 REJ09B0566 4-24 Library Reference R_IO_PORT_Write 4 4.2.3 34BI/O Port 3) R_I
Rev.1.00 May 22 2012 REJ09B0566 4-25 Library Reference R_IO_PORT_Write 4 4.2.3 34BI/O Port PDL_IO_PORT
Rev.1.00 May 22 2012 REJ09B0566 4-26 Library Reference R_IO_PORT_Write 4 4.2.3 34BI/O Port Program exa
Rev.1.00 May 22 2012 REJ09B0566 4-27 Library Reference R_IO_PORT_Write 4 4.2.3 34BI/O Port 4) R_I
Rev.1.00 May 22 2012 REJ09B0566 4-28 Library Reference R_IO_PORT_Write 4 4.2.3 34BI/O Port PDL_IO_PORT
Rev.1.00 May 22 2012 REJ09B0566 4-29 Library Reference R_IO_PORT_Write 4 4.2.3 34BI/O Port Program exa
1) R_PFC_Read ...
Rev.1.00 May 22 2012 REJ09B0566 4-30 Library Reference R_IO_PORT_Compare 4 4.2.3 34BI/O Port 5) R
Rev.1.00 May 22 2012 REJ09B0566 4-31 Library Reference R_IO_PORT_Compare 4 4.2.3 34BI/O Port PDL_IO_PO
Rev.1.00 May 22 2012 REJ09B0566 4-32 Library Reference R_IO_PORT_Compare 4 4.2.3 34BI/O Port Program e
Rev.1.00 May 22 2012 REJ09B0566 4-33 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port 6) R_
Rev.1.00 May 22 2012 REJ09B0566 4-34 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port PDL_IO_POR
Rev.1.00 May 22 2012 REJ09B0566 4-35 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port Program ex
Rev.1.00 May 22 2012 REJ09B0566 4-36 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port 7) R_
Rev.1.00 May 22 2012 REJ09B0566 4-37 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port PDL_IO_POR
Rev.1.00 May 22 2012 REJ09B0566 4-38 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port Program ex
Rev.1.00 May 22 2012 REJ09B0566 4-39 Library Reference 4 4.2.3 34BI/O Port R_IO_PORT_Wait
Rev.1.00 May 22 2012 YRSPSH7267-0103 1-1 1. Introduction The Renesas Peripheral Driver Library (PDL) is a unified API fo
Rev.1.00 May 22 2012 REJ09B0566 4-40 Library Reference 4 4.2.3 34BI/O Port R_IO_PORT_Wait
Rev.1.00 May 22 2012 REJ09B0566 4-41 Library Reference 4 4.2.3 34BI/O Port R_IO_PORT_Wait
Rev.1.00 May 22 2012 REJ09B0566 4-42 Library Reference 4 4.2.4 35BPort Function ControlR_PFC_Read
Rev.1.00 May 22 2012 REJ09B0566 4-43 Library Reference 4 4.2.4 35BPort Function ControlR_PFC_Read
Rev.1.00 May 22 2012 REJ09B0566 4-44 Library Reference 4 4.2.
Rev.1.00 May 22 2012 REJ09B0566 4-45 Library Reference 4 4.2.4 35BPort Function ControlR_PFC_Read
Rev.1.00 May 22 2012 REJ09B0566 4-46 Library Reference 4 4.2.4 35BPort Function ControlR_PFC_Read
Rev.1.00 May 22 2012 REJ09B0566 4-47 Library Reference 4 4.2.5 36BBus State Controller R_BSC_Create
Rev.1.00 May 22 2012 REJ09B0566 4-48 Library Reference 4 4.2.5 36BBus State Controller R_BSC_Create
Rev.1.00 May 22 2012 REJ09B0566 4-49 Library Reference 4 4.2.5 36BBus State Controller R_BSC_Create
Rev.1.00 May 22 2012 YRSPSH7267-0103 1-2 1.1. Using the library within your project The driver library can be used: 1.
Rev.1.00 May 22 2012 REJ09B0566 4-50 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller
Rev.1.00 May 22 2012 REJ09B0566 4-51 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller
Rev.1.00 May 22 2012 REJ09B0566 4-52 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller
Rev.1.00 May 22 2012 REJ09B0566 4-53 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller
Rev.1.00 May 22 2012 REJ09B0566 4-54 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller
Rev.1.00 May 22 2012 REJ09B0566 4-55 3BLibrary Reference R_BSC_Destroy 4 3) 4.2.5 36BBus State Controller R_BSC_Destroy
Rev.1.00 May 22 2012 REJ09B0566 4-56 3BLibrary Reference R_BSC_Destroy 4 4) 4.2.5 36BBus State Controller R_BSC_Control
Rev.1.00 May 22 2012 REJ09B0566 4-57 3BLibrary Reference 4 4.2.5 3
Rev.1.00 May 22 2012 REJ09B0566 4-58 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Create
Rev.1.00 May 22 2012 REJ09B0566 4-59 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Create
Rev.1.00 May 22 2012 YRSPSH7267-0103 1-3 1.3. Acronyms and abbreviations ADC Analog to Digital Converter API
Rev.1.00 May 22 2012 REJ09B0566 4-60 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Create
Rev.1.00 May 22 2012 REJ09B0566 4-61 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Destroy
Rev.1.00 May 22 2012 REJ09B0566 4-62 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Control
Rev.1.00 May 22 2012 REJ09B0566 4-63 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Control
Rev.1.00 May 22 2012 REJ09B0566 4-64 Library Reference 4.2.6 37BDMA Controller R_DMAC_GetStatus 4
Rev.1.00 May 22 2012 REJ09B0566 4-65 Library Reference 4.2.6 37BDMA Controller R_DMAC_GetStatus 4
Rev.1.00 May 22 2012 REJ09B0566 4-66 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Create
Rev.1.00 May 22 2012 REJ09B0566 4-67 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Create
Rev.1.00 May 22 2012 REJ09B0566 4-68 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Create
Rev.1.00 May 22 2012 REJ09B0566 4-69 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Destroy
Rev.1.00 May 22 2012 REJ09B0566 2-1 2 Driver 2.1 Overview 2. Driver 2.1. Overview This li
Rev.1.00 May 22 2012 REJ09B0566 4-70 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Control
Rev.1.00 May 22 2012 REJ09B0566 4-71 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Control
Rev.1.00 May 22 2012 REJ09B0566 4-72 4 3BLibrary Referenc
Rev.1.00 May 22 2012 REJ09B0566 4-73 Library Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Read
Rev.1.00 May 22 2012 REJ09B0566 4-74 Library Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Read
Rev.1.00 May 22 2012 REJ09B0566 4-75 3BLibrary Reference R_MTU_CreateChannel 4 4.2.7 Multi Function Timer
Rev.1.00 May 22 2012 REJ09B0566 4-76 3BLibrary Reference R_MTU_CreateChannel 4 4.2.7 Multi Function Timer
Rev.1.00 May 22 2012 REJ09B0566 4-77 3BLibrary Reference 4 4.2.7 Multi Function Timer Pulse Unit R_CMT_Destroy
Rev.1.00 May 22 2012 REJ09B0566 4-78 3BLibrary Reference 4 4.2.7 Multi Function Timer Pulse Unit R_CMT_Control
Rev.1.00 May 22 2012 REJ09B0566 4-79 Library Reference 4 4.2.7 Multi Funct
Komentáře k této Příručce