Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

M38049F8HKP Datasheet(PDF) 261 Page - Renesas Technology Corp

No. de pieza M38049F8HKP
Descripción Electrónicos  8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
PDF  387 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  RENESAS [Renesas Technology Corp]
Página de inicio  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M38049F8HKP Datasheet(HTML) 261 Page - Renesas Technology Corp

Back Button M38049F8HKP Datasheet HTML 257Page - Renesas Technology Corp M38049F8HKP Datasheet HTML 258Page - Renesas Technology Corp M38049F8HKP Datasheet HTML 259Page - Renesas Technology Corp M38049F8HKP Datasheet HTML 260Page - Renesas Technology Corp M38049F8HKP Datasheet HTML 261Page - Renesas Technology Corp M38049F8HKP Datasheet HTML 262Page - Renesas Technology Corp M38049F8HKP Datasheet HTML 263Page - Renesas Technology Corp M38049F8HKP Datasheet HTML 264Page - Renesas Technology Corp M38049F8HKP Datasheet HTML 265Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 261 / 387 page
background image
2-137
APPLICATION
2.8 D/A converter
Rev.1.00 Jan 14, 2005
REJ09B0212-0100Z
3804 Group (Spec.H)
When the registers are set as shown in Figure 2.8.7, the speaker output volume is modulated by the
D/A output value. Figure 2.8.8 shows the control procedure.
Fig. 2.8.8 Control procedure
RESET
Initialization
SEI
CLT (Note 1)
CLD (Note 2)
ICON1
P3D
ADCON
TM
T12XCSS
PREX
TX
WORK flag (Note 3)
IREQ1
ICON1
DA1
CLI
TM
0
0
2 – 1
D616 – 1
Main processing
Value of WORK flag ?
“1”
“0”
RTI
(address 003E16), bit4
(address 000716), bit0
(address 003416)
(address 002316)
(address 000E16)
(address 002416)
(address 002516)
(address 003C16), bit4
(address 003E16), bit4
(address 003616)
(address 002316)
0
1
Timer X interrupt process routine
Pop registers
X1XXXXXX2
•All interrupts disabled
•Timer X interrupt disabled
•Set port P30 to input mode
•DA1 output enabled
•Timer Y: Timer mode, Timer X count: Stop
•Timer X count source: f(XIN)/16
•Set “division ratio – 1” to Prescaler X
•Set “division ratio – 1” to Timer X
•Timer X interrupt request bit cleared
•Timer X interrupt: Enabled
•D/A converter start
•All interrupts enabled
•Timer X count start
Notes 1: When using Index X mode flag
2: When using Decimal mode flag
3: The WORK flag is a user flag for work. When this flag is “1
”, a value other than Vss is output from the DA output pin.
When this flag is “0”, Vss is output from the DA output pin.
•Push registers used in interrupt process routine
•Pop registers pushed to stack
q x: This bit is not used here. Set it to “0” or “1” arbitrarily.
XX001XXX2
1
Set output value (volume)
XX000XXX2
Push registers to stack
Set value except Vss to DA1 conversion
register.
Set “0” to WORK flag.
Set value of Vss to DA1 conversion register.
Set “1” to WORK flag.
✻ Decide an D/A value from several times of D/A conversion results.
0011XXXX2



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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