參數(shù)資料
型號(hào): M38C12M4-XXXHP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP64
封裝: 10 X 10 MM, 0.50 MM PITCH, PLASTIC, LQFP-64
文件頁數(shù): 14/59頁
文件大小: 704K
代理商: M38C12M4-XXXHP
Rev.2.40
Jun 14, 2004
page 21 of 56
38C1 Group
TIMERS
The 38C1 group has five timers: timer X, timer Y, timer 1, timer 2,
and timer 3. Timer X and timer Y are 16-bit timers, and timer 1,
timer 2, and timer 3 are 8-bit timers.
All timers are down count timers. When the timer reaches “0”, an
underflow occurs at the next count pulse and the corresponding
timer latch is reloaded into the timer and the count is continued.
When a timer underflows, the interrupt request bit corresponding
to that timer is set to “1”.
Read and write operation on 16-bit timer must be performed for
both high- and low-order bytes. When reading a 16-bit timer, read
the high-order byte first. When writing to a 16-bit timer, write the
low-order byte first. The 16-bit timer cannot perform the correct
operation when reading during the write operation, or when writing
during the read operation.
Fig. 18 Timer block diagram
"1"
P53/CNTR1
"0"
"10"
"00","01","11"
P52/CNTR0
Q
T
S
P52 direction register
Pulse output mode
P52 latch
"0"
"1"
"0"
"1"
"10"
Pulse width
measurement mode
CNTR0 edge switch bit
Q
T
S
"0"
P62 direction register
P62 latch
"0"
"1"
TOUT output
edge switch bit
"0"
"1"
TOUT output
control bit
"1"
P62/TOUT
f(XCIN)
"0"
"1"
TOUT output control bit
φSOURCE/16
"11"
φSOURCE/16
"1"
"0"
Count source selection bit (Note 1)
φSOURCE
φSOURCE/16
f(XIN)/16
(Note 2)
Timer 1 count source
selection bit (Note 1)
CNTR1 active
edge switch bit
Timer Y stop
control bit
Falling edge detection
Period
measurement mode
Timer Y
interrupt
request
Pulse width HL continuously
measurement mode
Rising edge detection
Timer Y
operating
mode bits
(Note 1)
Timer X
interrupt
request
Pulse output mode
Timer X stop
control bit
Timer X write
control bit
Timer X operat-
ing mode bits
“00”,“01”,“11”
CNTR0 active
edge switch bit
Timer 2 write
control bit
Timer 3 count
source selection bit
(Note 1)
Timer 2
interrupt
request
Timer 3
interrupt
request
Timer 2 count source
selection bit
(Note 1)
Timer 1
interrupt
request
Data bus
Timer Y (low) (8)
Timer Y (high) (8)
Timer 3 latch (8)
Timer 3 (8)
Timer 1 latch (8)
Timer 1 (8)
Timer 2 latch (8)
Timer 2 (8)
Timer X (low) (8)
Timer X (high) (8)
Timer X (low) latch (8) Timer X (high) latch (8)
Timer Y (low) latch (8)Timer Y (high) latch (8)
Timer Y operating mode bits
“00”,“01”,“10”
CNTR0
interrupt
request
CNTR1
interrupt
request
φSOURCE: represents the supply source of internal clock φ. It is the oscillation frequency of XIN input
in the middle- and high-speed mode, on-chip oscillator in the on-chip oscillator mode,
and sub-clock in the low-speed mode.
Notes 1: Internal clock in the low-speed mode is the sub-clock oscillation/2.
Internal clock in the on-chip oscillator mode is the internal on-chip oscillator oscillation/8.
Except CNTR input, timer 1 and timer 3 count sources, the clock except system clock cannot
be used as the count source.
2:
φSOURCE can be selected as the timer X count source only in the pulse output mode.
Write “0” to the count source selection bit except in the pulse output mode.
相關(guān)PDF資料
PDF描述
M38C13E6HP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP64
M38C13M6-XXXHP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP64
M38C12M4-XXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP64
M38C13M6-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
M38C12M4-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38C13E6FP 功能描述:IC 740 MCU OTP 24K 64LQFP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 產(chǎn)品培訓(xùn)模塊:MCU Product Line Introduction XMEGA Introduction AVR XMEGA USB Connectivity 標(biāo)準(zhǔn)包裝:90 系列:AVR® XMEGA 核心處理器:AVR 芯體尺寸:8/16-位 速度:32MHz 連通性:I²C,IrDA,SPI,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,DMA,POR,PWM,WDT 輸入/輸出數(shù):50 程序存儲(chǔ)器容量:192KB(96K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:4K x 8 RAM 容量:16K x 8 電壓 - 電源 (Vcc/Vdd):1.6 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 16x12b; D/A 2x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:64-TQFP 包裝:托盤 配用:ATSTK600-RC14-ND - STK600 SOCKET/ADAPTER 64TQFPATSTK600-TQFP64-ND - STK600 SOCKET/ADAPTER 64-TQFPATAVRONEKIT-ND - KIT AVR/AVR32 DEBUGGER/PROGRMMRATAVRISP2-ND - PROGRAMMER AVR IN SYSTEM
M38C13E6HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C13RLFS 制造商:Renesas Electronics Corporation 功能描述:EMULATION MCU/8BIT CMOS EMULATION CHIP - Bulk
M38C24M4-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M4-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER