參數(shù)資料
型號: M38039M5-XXXKP
廠商: Renesas Technology Corp.
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 97/119頁
文件大?。?/td> 1575K
代理商: M38039M5-XXXKP
Rev.1.00
REJ03B0212-0100
Apr 2, 2007
Page 97 of 117
3803 Group (Spec.L)
Notes on 8-bit Timer (timer 1, 2, X, Y)
If a value n (between 0 and 255) is written to a timer latch, the
frequency division ratio is 1/(n+1).
When switching the count source by the timer 12, X and Y
count source selection bits, the value of timer count is altered
in unconsiderable amount owing to generating of thin pulses in
the count input signals.
Therefore, select the timer count source before set the value to
the prescaler and the timer.
Set the double-function port of the CNTR
0
/CNTR
1
pin and
port P5
4
/P5
5
to output in the pulse output mode.
Set the double-function port of CNTR
0
/CNTR
1
pin and port
P5
4
/P5
5
to input in the event counter mode and the pulse width
measurement mode.
Notes on 16-bit Timer (timer Z)
1. Pulse output mode
Set the double-function port of the CNTR
2
pin and port P4
7
to
output.
2. Pulse period measurement mode
Set the double-function port of the CNTR
2
pin and port P4
7
to
input.
A read-out of timer value is impossible in this mode. The timer
can be written to only during timer stop (no measurement of
pulse period).
Since the timer latch in this mode is specialized for the read-
out of measured values, do not perform any write operation
during measurement.
“FFFF
16
” is set to the timer when the timer underflows or
when the valid edge of measurement start/completion is
detected.
Consequently, the timer value at start of pulse period
measurement depends on the timer value just before
measurement start.
3. Pulse width measurement mode
Set the double-function port of the CNTR
2
pin and port P4
7
to
input.
A read-out of timer value is impossible in this mode. The timer
can be written to only during timer stop (no measurement of
pulse period).
Since the timer latch in this mode is specialized for the read-
out of measured values, do not perform any write operation
during measurement.
“FFFF
16
” is set to the timer when the timer underflows or
when the valid edge of measurement start/completion is
detected.
Consequently, the timer value at start of pulse width
measurement depends on the timer value just before
measurement start.
4. Programmable waveform generating mode
Set the double-function port of the CNTR
2
pin and port P4
7
to
output.
5. Programmable one-shot generating mode
Set the double-function port of CNTR
2
pin and port P4
7
to
output, and of INT
1
pin and port P4
2
to input in this mode.
This mode cannot be used in low-speed mode.
If the value of the CNTR
2
active edge switch bit is changed
during one-shot generating enabled or generating one-shot
pulse, then the output level from CNTR
2
pin changes.
6. All modes
Timer Z write control
Which write control can be selected by the timer Z write control
bit (bit 3) of the timer Z mode register (address 002A
16
), writing
data to both the latch and the timer at the same time or writing
data only to the latch.
When the operation “writing data only to the latch” is selected,
the value is set to the timer latch by writing data to the address of
timer Z and the timer is updated at next underflow. After reset
release, the operation “writing data to both the latch and the timer
at the same time” is selected, and the value is set to both the latch
and the timer at the same time by writing data to the address of
timer Z.
In the case of writing data only to the latch, if writing data to the
latch and an underflow are performed almost at the same time,
the timer value may become undefined.
Timer Z read control
A read-out of timer value is impossible in pulse period
measurement mode and pulse width measurement mode. In the
other modes, a read-out of timer value is possible regardless of
count operating or stopped.
However, a read-out of timer latch value is impossible.
Switch of interrupt active edge of CNTR
2
and INT
1
Each interrupt active edge depends on setting of the CNTR
2
active edge switch bit and the INT
1
active edge selection bit.
Switch of count source
When switching the count source by the timer Z count source
selection bits, the value of timer count is altered in
inconsiderable amount owing to generating of thin pulses on the
count input signals.
Therefore, select the timer count source before setting the value
to the prescaler and the timer.
相關PDF資料
PDF描述
M38039M5-XXXSP 9-Mbit (256K x 36/512K x 18) Pipelined DCD Sync SRAM; Architecture: Standard Sync, Pipeline DCD; Density: 9 Mb; Organization: 256Kb x 36; Vcc (V): 3.1 to 3.6 V
M38039M5-XXXWG SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38039M6L-XXXHP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38039M6L-XXXKP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38039M6L-XXXSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關代理商/技術參數(shù)
參數(shù)描述
M38049FFFP#U0 制造商:Renesas Electronics Corporation 功能描述:
M38049FFLHP#U0 制造商:Renesas Electronics Corporation 功能描述:
M38049RLSS 功能描述:DEV EMULATOR CHIP RAM 2KB 64SDIP RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 內電路編程器、仿真器以及調試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標準包裝:1 系列:* 類型:* 適用于相關產(chǎn)品:* 所含物品:*
M3806 功能描述:電纜固定件和配件 LTSCG 625 BLACK RoHS:否 制造商:Heyco 類型:Cable Grips, Liquid Tight 材料:Nylon 顏色:Black 安裝方法:Cable 最大光束直徑:11.4 mm 抗拉強度:
M3806 BK001 制造商:Alpha Wire Company 功能描述:CBL 8COND 18AWG BLK 1000'