參數(shù)資料
型號(hào): M37548G2FP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
封裝: 4.40 X 6.50 MM, 0.65 MM PITCH, PLASTIC, LSSOP-20
文件頁(yè)數(shù): 30/86頁(yè)
文件大?。?/td> 1437K
代理商: M37548G2FP
Rev.2.02
Mar 31, 2009
Page 34 of 81
REJ03B0210-0202
7548 Group
Input capture
7548 group has 1-input capture channel and can be used to
capture count value of Timer A.
Input capture shares the registers with three output compare
channels, but their individual circuits operate independently so
that all the channels can be used at the same time.
To use input capture, set the capture
0 input port selection bits. If
P03 is selected, set the P03 direction register to 0. When an input
capture trigger is input to the input capture circuit, the count
value of timer A is saved to the capture latches. The timer count
value at the rising edge of the external input trigger is saved to
capture latch 00, and the timer count value at the falling edge of
the external input trigger is saved to capture latch 01. Capture
latch 00 and capture latch 01 can be read using the following
procedure.
1. Set the capture/compare register RW pointer to the read tar-
get address.
2. Read the high-order bits of the capture/compare registers,
then read the low-order bits of the capture/compare regis-
ters. (Read both the capture/compare registers in the
sequence of high-order bits followed by low-order bits.)
The count value of timer can be retained by software by capture
y (y = 00, 01, 10, 11) software trigger bit too. When “1” is set to
this bit, count value of timer is retained to the corresponded
capture latch.
When reading from the capture y software trigger bit is executed,
“0” is read out.
Notes
When the low-speed on-chip oscillator output or XCIN input
clock is selected as the count source of timer A, input capture
can be used only if the same clock source is selected as
φSOURCE and as the count source of timer A.
When writing “1” to capture y software trigger bit of capture
latch 00 and 01 at the same time, or external trigger and
software trigger occur simultaneously, if capture latches 00
and 01 are input simultaneously, the set value of capture 0
status bit is undefined.
When setting the interrupt active edge selection bit and noise
filter clock selection bit of capture 0 the interrupt request bit
may be set to “1”.
When not requiring the interrupt occurrence synchronized with
these setting, take the following sequence.
(1) Set the capture interrupt enable bit to “0” (disabled).
(2) Set the interrupt edge selection bit or noise filter clock
selection bit.
(3) Set the corresponding interrupt request bit to “0” after 1 or
more instructions have been executed.
(4) Set the capture interrupt enable bit to “1” (enabled).
When the capture interrupt is used as the interrupt for return
from stop mode, set the capture 0 noise filter clock selection
bits to “00 (Filter stop)”.
Fig 41. Structure of capture software trigger register
Fig 42. Structure of capture mode register
b7
b0
Capture software trigger register
(CSTR: address 003116, initial value: 0016)
Capture latch 00 software trigger bit
Capture 00 software trigger occurs by setting “1”
to this bit. (returns “0” when read)
Capture latch 01 software trigger bit
Capture 01 software trigger occurs by setting “1”
to this bit. (returns “0” when read)
Not used (returns “0” when read)
b7
b0
Capture 0 interrupt edge selection bits
b1 b0
0 0 : Rising and falling edge
0 1 : Rising edge
1 0 : Falling edge
1 1 : Not available
Capture 0 noise filter clock selection bits
b1 b0
0 0 : Filter stop
0 1 : f (XIN)
1 0 : f (XIN)/8
1 1 : f (XIN)/32
Not used (returns “0” when read)
Capture mode register
(CAPM: address 003216, initial value: 0016)
相關(guān)PDF資料
PDF描述
M37548G1FP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
M37549G1-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO24
M37549G3-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO24
M37560M8-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP100
M37560MF-XXXGP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37548G2-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37548G3FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37548G3FP#U0 功能描述:MCU 6K ROM 256K 20-SSOP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:LPC11Uxx 核心處理器:ARM? Cortex?-M0 芯體尺寸:32-位 速度:50MHz 連通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,POR,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:96KB(96K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 電壓 - 電源 (Vcc/Vdd):1.8 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:48-LQFP 包裝:托盤(pán) 其它名稱:568-9587
M37548G3-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37549G1FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER