參數(shù)資料
型號: 38D5
廠商: Renesas Technology Corp.
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 50/141頁
文件大?。?/td> 2027K
代理商: 38D5
Rev.3.01
REJ03B0158-0301
Aug 08, 2007
Page 50 of 134
38D5 Group
Fig. 42 Structure of AD control register
ADKEY function
The ADKEY function is used to judge the analog input voltage
input from the ADKEY pin. When the A/D converter starts
operating after V
IL
(0.7
×
Vcc-0.5) or less is input, the event of
analog voltage input can be judged with the A/D conversion
interrupt.
This function can be used with the STP and WIT state.
As for the ADKEY function in 38D5 Group, the A/D conversion
of analog input voltage immediately after starting ADKEY
function is not performed.
Therefore, the A/D conversion result immediately after an
ADKEY function is undefined. Accordingly, when the A/D
conversion result of the analog input voltage input from the
ADKEY pin is required, start the A/D conversion by program
after the analog input pin corresponding to ADKEY is selected.
ADKEY Selection
When the ADKEY pin is used, set the ADKEY selection bit to
“1”. The ADKEY selection bit is “0”, just after the A/D
conversion is started.
ADKEY Enable
The ADKEY function is enabled by writing “1” to the ADKEY
enable bit. Surely, in order to enable ADKEY function, set “1” to
the ADKEY enable bit, after setting the ADKEY selection bit to
“1”.
When the ADKEY enable bit of the AD control register is “1”,
the analog input pin selection bits become invalid. Please do not
write “0” in the AD conversion completion bit by the program
during ADKEY enabled state.
[ADKEY Control Circuit]
In order to obtain a more exact conversion result, by the A/D
conversion with ADKEY, execute the following;
set the input to the ADKEY pin into a steep falling waveform,
stabilize the input voltage within 8 clock cycles (1
μ
s at f(X
IN
)
= 8 MHz) after the input voltage is under V
IL
The threshold voltage with an actual ADKEY pin is the voltage
between V
IH
-V
IL
.
In order not to make ADKEY operation perform superfluously in
a noise etc., in the state of the waiting for an input, set the voltage
of an ADKEY pin to V
IH
(0.9V
CC
) or more.
When the following operations are performed, the A/D
conversion operation cannot be guaranteed.
When the CPU mode register is operated during A/D
conversion operation,
When the AD conversion control register is operated during
A/D conversion operation,
When the STP or WIT instruction is executed during A/D
conversion operation.
AD control register
(ADCON: address 0015
16
)
Analog input pin selection bits
b2 b1 b0
0 0 0 : P5
0
/AN
0
1
1
2
2
0 0 1 : P5
3
/AN
3
1 0 0 : P5
4
/AN
4
1 0 1 : P5
5
/AN
5
1 1 0 : P5
6
/AN
6
1 1 1 : P5
7
/AN
7
AD conversion completion bit
0 : Conversion in progress
1 : Conversion completed
AD conversion clock selection bit
0 :
φ
SOURCE/2
1 :
φ
SOURCE/8
ADKEY enable bit
0 : Disabled
1 : Enabled
10-bit or 8-bit conversion switch bit
0 : 10-bit AD
1 : 8-bit AD
ADKEY selection bit
0 : Invalid
1 : Valid
b7 b0
* V
REF
input switch bit
0: ON only during A/D conversion
1: ON
Note
: The bit 5 to bit 1 of address 0016
16
become “0” at reading.
Also, bit 0 is undefined at reading.
At 8bitAD
(Read only address 0017
16
)
(low-order)
*
b1 b0
b7 b0
AD conversion register
high-order
(Address 0017
16
)
b7
b2
b3
b6 b5 b4
b9 b8
(high-order)
b7 b0
At 10bitAD
(Read address 0017
16
before 0016
16
)
b5
b0
b1
b4 b3 b2
b7 b6
b7 b0
Notes 1
:
φ
SOURCE indicates the followings:
X
IN
input in the frequency/2, 4, or 8 mode
On-chip oscillator divided by 4 in the low-speed and the on-chip
oscillator mode
2
: When the ADKEY enable bit is “1”, the analog input pin selection
bits are invalid.
Do not execute the A/D conversion by program while the ADKEY is
enabled.
Bit 0 to bit 2 of ADCON are not changed even when ADKEY is
enabled.
AD conversion register
low-order
(Address 0016
16
)
(Address 0017
16
)
(
2
)
(1)
相關PDF資料
PDF描述
38F1222 300mA LDO Linear Regulators with Internal Microprocessor Reset Circuit
TA5M STECKER DIN MINI 5POL
70B5031 KUPPLUNG DIN MINI 5POL
39-26-3050 300mA LDO Linear Regulators with Internal Microprocessor Reset Circuit
390KD05JX 11 to 460 Volts Varistor 0.7 to 29 Joule
相關代理商/技術參數(shù)
參數(shù)描述
38D5_07 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Standard Characteristics Example
38D5_08 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38D511G015FE6AD 制造商:Sprague/Vishay 功能描述:AL015X751
38D5-FMV 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Standard Characteristics (Flash Memory Version)
38DDP11B11M1QT 功能描述:SWITCH PUSH DPDT,O-N-O,N,SL,LF , 制造商:grayhill inc. 系列:* 零件狀態(tài):在售 標準包裝:1