Electronic Components Datasheet Search
  English  ▼

X  

4513 Datasheet(PDF) 154 Page - Renesas Technology Corp

Part # 4513
Description  4-BIT SINGLE-CHIP MICROCOMPUTER
PDF  210 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

4513 Datasheet(HTML) 154 Page - Renesas Technology Corp

Back Button 4513 Datasheet HTML 150Page - Renesas Technology Corp 4513 Datasheet HTML 151Page - Renesas Technology Corp 4513 Datasheet HTML 152Page - Renesas Technology Corp 4513 Datasheet HTML 153Page - Renesas Technology Corp 4513 Datasheet HTML 154Page - Renesas Technology Corp 4513 Datasheet HTML 155Page - Renesas Technology Corp 4513 Datasheet HTML 156Page - Renesas Technology Corp 4513 Datasheet HTML 157Page - Renesas Technology Corp 4513 Datasheet HTML 158Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 154 / 210 page
background image
APPLICATION
2.5 A-D converter
2-51
4513/4514 Group User’s Manual
2.5.2 A-D converter application examples
(1)
A-D conversion mode
Outline: Analog input signal from a sensor can be converted into digital values.
Specifications: Analog voltage values from a sensor is converted into digital values by using a 10-
bit successive comparison method. Use the AIN0 pin for this analog input.
Figure 2.5.2 shows the A-D conversion mode setting example.
Fig. 2.5.2 A-D conversion mode setting example
b3
b0
Œ Disable Interrupts
A-D interrupt is temporarily disabled.
Interrupt enable flag INTE
Interrupt control register V2
“0”
!
!
All interrupts disabled (DI instruction)
A-D interrupt occurrence disabled
(TV2A instruction)
0
!
 Set A-D Converter
A-D conversion mode is selected to A-D operation mode.
Analog input pin AIN0 is selected.
A-D control register Q2
A-D conversion mode selected (TQ2A instruction)
AIN0 selected (TQ1A instruction)
A-D control register Q1
b3
b0
!
0
b3
b0
0 0
!
0
!!
Ž Clear Interrupt Request
A-D interrupt activated condition is cleared.
A-D conversion completion flag ADF “0”
A-D conversion interrupt activated condition cleared
(SNZAD instruction)
Note when the interrupt request is cleared
When Ž is executed, considering the skip of the next instruction according to the
flag ADF, insert the NOP instruction after the SNZAD instruction.
When interrupt is
not used
When interrupt is used
 Set Interrupt
Interrupts except A-D conversion is
enabled (EI instruction)
 Set Interrupt
A-D conversion interrupt temporarily disabled is enabled.
b3
b0
1
!! !
Interrupt control register V2
A-D interrupt occurrence enabled
(TV2A instruction)
Interrupt enable flag INTE
“1”
All interrupts enabled
(EI instruction)
 Start A-D Conversion
A-D conversion operation is started (ADST instruction).
When interrupt is not used
When interrupt is used
‘ Check A-D Interrupt Request
A-D conversion completion flag is
checked (SNZAD instruciton)
‘ A-D Conversion Interrupt Occur
’ Execute A-D Conversion
High-order 8 bits of register AD
→ register A and register B (TABAD instruction)
Low-order 2 bits of register AD
→ high-order 2 bits of register A (TALA instruction)
“0” is set to low-order 2 bits of register A
“!”: it can be “0” or “1.”
When A-D conversion is executed by the same channel,  to ’ is repeated.
When A-D conversion is executed by the another channel, Œ to ’ is repeated.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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