Renesas Single-Chip Microcomputer M38C89T-ADF Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Sítě Renesas Single-Chip Microcomputer M38C89T-ADF. Renesas Single-Chip Microcomputer M38C89T-ADF User`s manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - SuperH RISC Engine

YRSPSH7267-1030 Renesas Starter Kit2+ for SH7267 RPDL Manual RENESAS SINGLE-CHIP MICROCOMPUTER Super

Strany 2

Driver 2.2 8BControl Function 2. Rev.1.00 May 22 2012 REJ09B0566 2-2 2.3. Serial Communication In

Strany 3

Rev.1.00 May 22 2012 REJ09B0566 4-80 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Create 4

Strany 4

Rev.1.00 May 22 2012 REJ09B0566 4-81 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Create 4

Strany 5

Rev.1.00 May 22 2012 REJ09B0566 4-82 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Create 4

Strany 6

Rev.1.00 May 22 2012 REJ09B0566 4-83 Library Reference 4 4.2.9 40BSerial Communication Interface

Strany 7

Rev.1.00 May 22 2012 REJ09B0566 4-84 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Send 4

Strany 8 - YRSPSH7267-0103

Rev.1.00 May 22 2012 REJ09B0566 4-85 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_Send 4

Strany 9

Rev.1.00 May 22 2012 REJ09B0566 4-86 Library Reference 4 4.2.9 40BSerial Communication Interface R_SCI_Receive

Strany 10 - REJ09B0566

Rev.1.00 May 22 2012 REJ09B0566 4-87 Library Reference 4 4.2.9 40BSerial Communication Interface R_SCI_Receive

Strany 11

Rev.1.00 May 22 2012 REJ09B0566 4-88 Library Reference 4 4.2.9 40BSerial Communication Interface

Strany 12 - 2.2 8BControl Function

Rev.1.00 May 22 2012 REJ09B0566 4-89 Library Reference 4.2.9 40BSerial Communication Interface R_SCI_GetStatus 4

Strany 13

Driver 2.2 8BControl Function 2. Rev.1.00 May 22 2012 REJ09B0566 2-3 2.4. I/O Port Driver The

Strany 14

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

Strany 15

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

Strany 16

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

Strany 17

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

Strany 18

Rev.1.00 May 22 2012 REJ09B0566 4-94 Library Reference 4.2.10 10-bit Analog to Digital Converter 4

Strany 19

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

Strany 20

Rev.1.00 May 22 2012 REJ09B0566 4-96 4 3BLibrary Referenc

Strany 21

5-1 5 4BUsage Examples 5. Usage Examples This chapter

Strany 22 - 4.2 Description of Each API

5-2 5 4BUsage Examples 5.1 21BInterrupt control 5.1. Interrupt control Figure 5-1 shows an exa

Strany 23

5-3 5 4BUsage Examples 5.1 21BInterrupt control ); if ((irq_status & 0x01) == 0) { /* Disable

Strany 24 - R_CPG_Set

Driver 2.2 8BControl Function 2. Rev.1.00 May 22 2012 REJ09B0566 2-4 2.5. Port Function Control D

Strany 25

4BUsage Examples 5.3 23BBus Controller 5 5-4 Rev.1.00 May 22 2012 REJ09B0566 5.2. I/O Port Fig

Strany 26

4BUsage Examples 5.3 23BBus Controller 5 5-5 Rev.1.00 May 22 2012 REJ09B0566 Figure 5-2 Example o

Strany 27

4BUsage Examples 5.3 23BBus Controller 5 5-6 Rev.1.00 May 22 2012 REJ09B0566 R_CPG_Set(18E6, 144E6

Strany 28

5-7 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5 5.4 24BDMA controller

Strany 29

5-8 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5 5.4 24BDMA controller

Strany 30

5-9 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5 5.4 24BDMA controller

Strany 31

5-10 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5.5 25BMulti-Function Timer Pulse Unit 5 5.

Strany 32

5-11 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5.5 25BMulti-Function Timer Pulse Unit 5 &a

Strany 33

5-12 Rev.1.00 May 22 2012 REJ09B0566 5 4BUsage Examples 5.6 26BCompare Match Timer 5.6. Compar

Strany 34

5 4BUsage Examples 5.6 26BCompare Match Timer Rev.1.00 May 22 2012 REJ09B0566 { /* turn on the LE

Strany 35

Rev.1.00 May 22 2012 REJ09B0566 2-5 Driver 2.2 8BControl Function 2. 2.6. Interrupt Control Drive

Strany 36

Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5.7 Serial Communication Interface 5 5.7.

Strany 37

4BUsage Examples 5.7 Serial Communication Interface 5 5-15 Rev.1.00 May 22 2012 REJ09B0566 /* The

Strany 38

4BUsage Examples 5.7 Serial Communication Interface 5 5-16 Rev.1.00 May 22 2012 REJ09B0566 R_IO_P

Strany 39

4BUsage Examples 5.7 Serial Communication Interface 5 5-17 Rev.1.00 May 22 2012 REJ09B0566 Reciev

Strany 40

4BUsage Examples 5.7 Serial Communication Interface 5 5-18 Rev.1.00 May 22 2012 REJ09B0566 (2)

Strany 41

4BUsage Examples 5.7 Serial Communication Interface 5 5-19 Rev.1.00 May 22 2012 REJ09B0566 “www.r

Strany 42

5-20 Rev.1.00 May 22 2012 REJ09B0566 4BUsage Examples 5.8 27BAnalog to Digital Converter 5 5.8.

Strany 43

4BUsage Examples 5.8 27BAnalog to Digital Converter 5 Rev.1.00 May 22 2012 REJ09B0566 } Figure 5-

Strany 44

Rev.1.00 May 22 2012 REJ09B0566 Revision History Renesas Embedded Application Programming Inter

Strany 45

Rev.1.00 May 22 2012 REJ09B0566 2-6 Driver 2.2 8BControl Function 2. 2.7. Analog to Digital Conve

Strany 46

Rev.1.00 May 22 2012 REJ09B0566 2-7 Driver 2.2 8BControl Function 2. 2.8. Clock Pulse Generator D

Strany 47

Rev.1.00 May 22 2012 REJ09B0566 2-8 Driver 2.2 8BControl Function 2. 2.9. Compare Match Timer Dri

Strany 48

Rev.1.00 May 22 2012 REJ09B0566 2-9 Driver 2.2 8BControl Function 2. 2.10. Multi Function Timer Pul

Strany 49

Rev.1.00 May 22 2012 REJ09B0566 2-10 Driver 2.2 8BControl Function 2. 2.11. Bus State Controller D

Strany 50

Rev.1.00 May 22 2012 REJ09B0566 2-11 Driver 2.2 8BControl Function 2. 2.12. DMA Controller Driver

Strany 51

Rev. 1.00 Renesas Electronics America May 22 2012

Strany 52

Rev.1.00 May 22 2012 REJ09B0566 3 Stand

Strany 53

Rev.1.00 May 22 2012 REJ09B0566 Library Reference 4.2 Description of Each API 4 4

Strany 54

Library Reference 4.2 Description of Each API 4 REJ09B0566 4.2. Description of Each API This secti

Strany 55

Library Reference 4 32BClock Pulse Generator R_CPG_Set 4.2.1 Rev.1.00 May 22 2012 REJ09B0566 4-3 Synopsi

Strany 56

Library Reference 4 32BClock Pulse Generator R_CPG_Set 4.2.1 Rev.1.00 May 22 2012 REJ09B0566 4-4 Progra

Strany 57

Rev.1.00 May 22 2012 REJ09B0566 4-5 Library Reference 4.2.2 33BInterrupt Control Unit R_INTC_CreateExtInterrupt 4

Strany 58

Rev.1.00 May 22 2012 REJ09B0566 4-6 Library Reference 4.2.2 33BInterrupt Control Unit R_INTC_CreateExtInterrupt 4

Strany 59

Rev.1.00 May 22 2012 REJ09B0566 4-7 Library Reference 4.2.2 33BInterrupt Control Unit R_INTC_CreateExtInterrupt 4

Strany 60

Rev.1.00 May 22 2012 REJ09B0566 4-8 Library Reference 4.2.2 33BInterrupt Control Unit R_INTC_CreateExceptionHandlers 4

Strany 61

Rev.1.00 May 22 2012 REJ09B0566 4-9 Library Reference R_INTC_ControlExtInterrupt 4 4.2.2 33BInterrupt Control Unit

Strany 62

Table of Contents 1. Introduction...

Strany 63

Rev.1.00 May 22 2012 REJ09B0566 4-10 Library Reference R_INTC_ControlExtInterrupt 4 4.2.2 33BInterrupt Control Unit

Strany 64

Rev.1.00 May 22 2012 REJ09B0566 4-11 Library Reference R_INTC_ControlExtInterrupt 4 4.2.2 33BInterrupt Control Unit

Strany 65 - Reference

Rev.1.00 May 22 2012 REJ09B0566 4-12 Library Reference R_INTC_GetExtInterruptStatus 4 4.2.2 33BInterrupt Control Unit

Strany 66

Rev.1.00 May 22 2012 REJ09B0566 4-13 Library Reference R_INTC_GetExtInterruptStatus 4 4.2.2 33BInterrupt Control Unit

Strany 67

Rev.1.00 May 22 2012 REJ09B0566 4-14 Library Reference 4 4.2.2 33BInterrupt Control Unit R_INTC_Read 5

Strany 68

Rev.1.00 May 22 2012 REJ09B0566 4-15 Library Reference 4 4.2.2 33BInterrupt Control Unit R_INTC_Write

Strany 69

Rev.1.00 May 22 2012 REJ09B0566 4-16 Library Reference 4 4.2.2 33BInterrupt Control Unit R_INTC_Modify

Strany 70

Rev.1.00 May 22 2012 REJ09B0566 4-17 Library Reference 4 4.2.2 33BInterrupt Control Unit R_INTC_Modify

Strany 71

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.

Strany 72

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

Strany 73

Rev. 1.00

Strany 74

Rev.1.00 May 22 2012 REJ09B0566 4-20 Library Reference 4.2.3 34BI/O Port R_IO_PORT_Set 4 Program

Strany 75

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

Strany 76

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_

Strany 77

Rev.1.00 May 22 2012 REJ09B0566 4-23 Library Reference R_IO_PORT_Read 4 4.2.3 34BI/O Port Program exam

Strany 78

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

Strany 79

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

Strany 80

Rev.1.00 May 22 2012 REJ09B0566 4-26 Library Reference R_IO_PORT_Write 4 4.2.3 34BI/O Port Program exa

Strany 81

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

Strany 82

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

Strany 83

Rev.1.00 May 22 2012 REJ09B0566 4-29 Library Reference R_IO_PORT_Write 4 4.2.3 34BI/O Port Program exa

Strany 85

Rev.1.00 May 22 2012 REJ09B0566 4-30 Library Reference R_IO_PORT_Compare 4 4.2.3 34BI/O Port 5) R

Strany 86 - 4

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

Strany 87

Rev.1.00 May 22 2012 REJ09B0566 4-32 Library Reference R_IO_PORT_Compare 4 4.2.3 34BI/O Port Program e

Strany 88

Rev.1.00 May 22 2012 REJ09B0566 4-33 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port 6) R_

Strany 89

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

Strany 90

Rev.1.00 May 22 2012 REJ09B0566 4-35 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port Program ex

Strany 91

Rev.1.00 May 22 2012 REJ09B0566 4-36 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port 7) R_

Strany 92 - R_MTU_Control

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

Strany 93

Rev.1.00 May 22 2012 REJ09B0566 4-38 Library Reference R_IO_PORT_Modify 4 4.2.3 34BI/O Port Program ex

Strany 94 - R_MTU_Read

Rev.1.00 May 22 2012 REJ09B0566 4-39 Library Reference 4 4.2.3 34BI/O Port R_IO_PORT_Wait

Strany 95

Rev.1.00 May 22 2012 YRSPSH7267-0103 1-1 1. Introduction The Renesas Peripheral Driver Library (PDL) is a unified API fo

Strany 96

Rev.1.00 May 22 2012 REJ09B0566 4-40 Library Reference 4 4.2.3 34BI/O Port R_IO_PORT_Wait

Strany 97

Rev.1.00 May 22 2012 REJ09B0566 4-41 Library Reference 4 4.2.3 34BI/O Port R_IO_PORT_Wait

Strany 98

Rev.1.00 May 22 2012 REJ09B0566 4-42 Library Reference 4 4.2.4 35BPort Function ControlR_PFC_Read

Strany 99

Rev.1.00 May 22 2012 REJ09B0566 4-43 Library Reference 4 4.2.4 35BPort Function ControlR_PFC_Read

Strany 100

Rev.1.00 May 22 2012 REJ09B0566 4-44 Library Reference 4 4.2.

Strany 101

Rev.1.00 May 22 2012 REJ09B0566 4-45 Library Reference 4 4.2.4 35BPort Function ControlR_PFC_Read

Strany 102

Rev.1.00 May 22 2012 REJ09B0566 4-46 Library Reference 4 4.2.4 35BPort Function ControlR_PFC_Read

Strany 103

Rev.1.00 May 22 2012 REJ09B0566 4-47 Library Reference 4 4.2.5 36BBus State Controller R_BSC_Create

Strany 104

Rev.1.00 May 22 2012 REJ09B0566 4-48 Library Reference 4 4.2.5 36BBus State Controller R_BSC_Create

Strany 105

Rev.1.00 May 22 2012 REJ09B0566 4-49 Library Reference 4 4.2.5 36BBus State Controller R_BSC_Create

Strany 106

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.

Strany 107 - R_SCI_Receive

Rev.1.00 May 22 2012 REJ09B0566 4-50 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller

Strany 108

Rev.1.00 May 22 2012 REJ09B0566 4-51 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller

Strany 109 - 6) R_SCI_GetStatus

Rev.1.00 May 22 2012 REJ09B0566 4-52 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller

Strany 110

Rev.1.00 May 22 2012 REJ09B0566 4-53 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller

Strany 111 - R_ADC_10_Create

Rev.1.00 May 22 2012 REJ09B0566 4-54 3BLibrary Reference R_BSC_CreateArea 4 4.2.5 36BBus State Controller

Strany 112

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

Strany 113

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

Strany 114 - 2) R_ADC_10_Destroy

Rev.1.00 May 22 2012 REJ09B0566 4-57 3BLibrary Reference 4 4.2.5 3

Strany 115 - 3) R_ADC_10_Control

Rev.1.00 May 22 2012 REJ09B0566 4-58 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Create

Strany 116

Rev.1.00 May 22 2012 REJ09B0566 4-59 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Create

Strany 117

Rev.1.00 May 22 2012 YRSPSH7267-0103 1-3 1.3. Acronyms and abbreviations ADC Analog to Digital Converter API

Strany 118 - 5.1. Interrupt control

Rev.1.00 May 22 2012 REJ09B0566 4-60 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Create

Strany 119

Rev.1.00 May 22 2012 REJ09B0566 4-61 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Destroy

Strany 120 - 5.2. I/O Port

Rev.1.00 May 22 2012 REJ09B0566 4-62 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Control

Strany 121 - 5.3. Bus Controller

Rev.1.00 May 22 2012 REJ09B0566 4-63 3BLibrary Reference 4 4.2.6 37BDMA Controller R_DMAC_Control

Strany 122

Rev.1.00 May 22 2012 REJ09B0566 4-64 Library Reference 4.2.6 37BDMA Controller R_DMAC_GetStatus 4

Strany 123 - 5.4. DMA controller

Rev.1.00 May 22 2012 REJ09B0566 4-65 Library Reference 4.2.6 37BDMA Controller R_DMAC_GetStatus 4

Strany 124

Rev.1.00 May 22 2012 REJ09B0566 4-66 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Create

Strany 125

Rev.1.00 May 22 2012 REJ09B0566 4-67 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Create

Strany 126 - Rev.1.00 May 22 2012

Rev.1.00 May 22 2012 REJ09B0566 4-68 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Create

Strany 127

Rev.1.00 May 22 2012 REJ09B0566 4-69 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Destroy

Strany 128 - 5.6 26BCompare Match Timer

Rev.1.00 May 22 2012 REJ09B0566 2-1 2 Driver 2.1 Overview 2. Driver 2.1. Overview This li

Strany 129 - 26BCompare Match Timer

Rev.1.00 May 22 2012 REJ09B0566 4-70 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Control

Strany 130 - (1) SCI Reception

Rev.1.00 May 22 2012 REJ09B0566 4-71 3BLibrary Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Control

Strany 131

Rev.1.00 May 22 2012 REJ09B0566 4-72 4 3BLibrary Referenc

Strany 132

Rev.1.00 May 22 2012 REJ09B0566 4-73 Library Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Read

Strany 133

Rev.1.00 May 22 2012 REJ09B0566 4-74 Library Reference 4 4.2.7 38BMulti Function Timer Pulse Unit R_MTU_Read

Strany 134 - (2) SCI Transmission

Rev.1.00 May 22 2012 REJ09B0566 4-75 3BLibrary Reference R_MTU_CreateChannel 4 4.2.7 Multi Function Timer

Strany 135

Rev.1.00 May 22 2012 REJ09B0566 4-76 3BLibrary Reference R_MTU_CreateChannel 4 4.2.7 Multi Function Timer

Strany 136

Rev.1.00 May 22 2012 REJ09B0566 4-77 3BLibrary Reference 4 4.2.7 Multi Function Timer Pulse Unit R_CMT_Destroy

Strany 137

Rev.1.00 May 22 2012 REJ09B0566 4-78 3BLibrary Reference 4 4.2.7 Multi Function Timer Pulse Unit R_CMT_Control

Strany 138

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

Žádné komentáře