參數(shù)資料
型號: M38D29GFFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
封裝: 14 X 14 MM, 0.80 MM PITCH, PLASTIC, LQFP-64
文件頁數(shù): 74/138頁
文件大小: 2880K
代理商: M38D29GFFP
Rev.3.02
Apr 10, 2008
Page 38 of 131
REJ03B0177-0302
38D2 Group
Fig. 29 Block diagram of timer Y
Timer Y
Timer Y is a 16-bit timer. The timer Y count source can be
selected by setting the timer Y mode register. XCIN can be
selected as the count source. When XCIN is selected as the count
source, counting can be performed regardless of XIN oscillation
or on-chip oscillator oscillation.
Four operating modes can be selected for timer Y by the timer Y
mode register. Also, the real time port can be controlled.
(1) Timer Mode
The timer Y count source can be selected by setting the timer Y
mode register.
(2) Period Measurement Mode
The interrupt request is generated at rising or falling edge of
CNTR1 pin input signal. Simultaneously, the value in timer Y
latch is reloaded in timer Y and timer Y continues counting.
Except for that, this mode operates just as in the timer mode.
The timer value just before the reloading at rising or falling of
CNTR1 pin input is retained until the timer Y is read once after
the reload.
The rising or falling timing of CNTR1 pin input is found by
CNTR1 interrupt. When using this mode, set the port sharing the
CNTR1 pin to input mode.
(3) Event Counter Mode
The timer counts signals input through the CNTR1 pin.
Except for that, this mode operates just as in the timer mode.
When using this mode, set the port sharing the CNTR1 pin to
input mode.
(4) Pulse Width HL Continuously Measurement Mode
The interrupt request is generated at both rising and falling edges
of CNTR1 pin input signal. Except for that, this mode operates
just as in the period measurement mode. When using this mode,
set the port sharing the CNTR1 pin to input mode.
(5) Real Time Port Control
When the real time port function is valid, data for the real time
port is output from ports P46 and P47 each time the timer Y
underflows.
(However, if the real time port control bits are changed from
“002” to “112” after both data for real time ports are set, data are
output independent of the timer Y operation.) When either or
both data for real time ports are changed while the real time port
function is valid, the changed data is output at the next underflow
of timer Y.
When switching the setting of the real time port control bits
between valid and invalid, write to the timer Y mode register in
byte units with the LDM or STA instruction so that both bits are
switched at the same time. Also, before using this function, set
the P46 and P47 port direction registers to output.
Data bus
Real time port
control bits
Real time port
control bits
Q D
Latch
Q D
Latch
P47 direction
register
P47 latch
P47 data for real time
port
P46 direction
register
P46 latch
P46 data for real time
port
“1”
Timer Y (low-order) latch (8) Timer Y (high-order) latch (8)
“0”
CNTR1 active
edge switch bit
“10”
P47/RTP1/AN7
P46/RTP0/AN6
CNTR1
Falling edge detection
Period measurement
mode
Timer Y
interrupt request
Pulse width HL continuous
measurement mode
Timer Y operating
mode bits
CNTR1
interrupt request
Rising edge detection
Count source selection bit
XcIN
“1”
φSOURCE
Real time port control bits
Timer Y mode register
write signal
Timer Y operating mode bits
“00”, “01”, “11”
“11”
“00”
“11”
“00”
“11”
“00”
“00”, “01”, “10”
“11”
“0”
Timer Y write control bit
Timer Y count
stop bit
“00”
“11”
Timer Y mode register
write signal
Real time port control bits
Timer Y (low-order)(8)
Timer Y (high-order)(8)
Frequency divider
Timer Y dividing frequency selection bit
2
Note: In frequency/2, frequency/4, or frequency/8 mode,
φSOURCE is the XIN input. In on-chip oscillator
mode,
φSOURCE is the on-chip oscillator frequency divided by 4. In low-speed mode, φSOURCE is
the sub-clock frequency.
相關(guān)PDF資料
PDF描述
M38D29GCHP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
M38D29GF-XXXFP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
M38D24G6HP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
M38D29GC-XXXHP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
M38D24G4-XXXFP 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38D29GFHP#U0 制造商:Renesas Electronics Corporation 功能描述:
M38D29T2-RLFS-HP 制造商:Renesas Electronics Corporation 功能描述:
M38D58G8FP#U0 功能描述:IC 740/38D5 MCU QZ-ROM 80QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標準包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲器容量:- 程序存儲器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M38D58G8HP#U0 功能描述:IC 740/38D5 MCU QZ-ROM 80LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標準包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲器容量:- 程序存儲器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M38D59GCFP#U0 功能描述:IC 740/38D5 MCU QZ-ROM 80QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標準包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲器容量:- 程序存儲器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)