參數(shù)資料
型號: M30100
廠商: Renesas Technology Corp.
英文描述: SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
中文描述: 單片16位CMOS微機(jī)
文件頁數(shù): 70/164頁
文件大小: 3302K
代理商: M30100
deveopment
Tentative Specifications REV.E1
Timer X
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M30100/M30102 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
69
(5) Pulse period measurement mode
In this mode, the timer measures the pulse period of an external signal fed to CNTR0 pin. (See Table
1.14.7) Figure 1.14.11 shows the Timer X mode register in pulse period measurement mode.
Item
Specification
Count source
Count operation
f
1
, f
8
, f
32
, f
C32
Down count
After valid edge of measurement pulse is input, the timer X reloads contents in the
reload register and continues counting in underflow of the second prescaler X.
Count start flag is set (=1)
Count start flag is reset (=0)
Interrupt request generation timing
When Timer X underflows [Timer X interruption]
Rising (R0EDG=0) or falling (R0EDG=1) of CNTR0 input [CNTR0 interruption or Timer
X interrupt]
CNTR0 pin function
Measurement pulse input (Note)
TX
OUT
pin function
Programmable I/O port
Read from timer
When reading Timer X register, the count value of buffer for read purpose can be read
out. The buffer of read purpose retains the content of Timer X register upon an active
edge of measurement pulse, and starts to read the content of Timer X register by read-
ing Timer X.
Write to timer
When a value is written to Timer X register, it is written to both reload register and counter.
Same applies to Prescaler X register.
Select function
CNTR0 polarity switching function
The measurement period of pulse input can be selected to be a period from one rising
edge to the next rising edge or from one falling edge to the next falling edge by software.
Note: Avoid a shorter period pulse input than double prescaler X period. Longer pulse for H width and L width than the
prescaler X period should be input to the CNTR0 pin. If shorter pulse than the period is input to the CNTR0 pin, the
input may be disabled.
Count start condition
Count stop condition
Table 1.14.7. Specifications of pulse period measurement mode
Timer X mode register
Symbol
TXMR
Address
008B
16
When reset
00000000
2
Bit name
Function
Bit symbol
W
R
b7
b6 b5
b4
0
b3
b2
b1 b0
0
b1 b0
TXMOD2
TXS
TXMOD1
R0EDG
TXMOD0
TXOCNT
CNTR0 polarity
switching bit
Operation mode
select bit 0, 1
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
0: Measures a measurement pulse from one
rising edge to the next rising edge
(Interrupt at rising edge)
1: Measures a measurement pulse from one
falling edge to the next falling edge
(Interrupt at falling edge)
0 : Stops counting
1 : Starts counting
Timer X count
start flag
Operation mode
select bit 2
Effectaul edge
reception flag
1 : Pulse period measurement mode
1
0
0 : In pulse period measurement mode, set to "0"
T(Note 2,3)
TXUND
(Note 2,3)
Note 1: This bit should rewrite with inhibiting the CNTR0 interrupt.
Note 2: TXEDG and TXUND are set to "0" by writing a "0" in a program. (Writing a "1" has no
effect.)
Note 3: TXEDG and TXUND were added after the product Ver.3.0 of the flash memory edition
(M30100F3/M30102F3) after the product Ver.2.0 of the mask ROM edition ( M30100Mx/
M30102Mx). Nothing is assigned to the product before this.
Timer X under
flow flag
0 : No under flow
1 : Under flow found
0 : No effectual edge
1 : Effectual edge found
(Note 1)
Figure 1.14.11. Timer X mode register in pulse period measurement mode
相關(guān)PDF資料
PDF描述
M30201T-56FP Converter for Connecting Pod Probe M30201T-PRB to 56-pin 0.65mm-pitch QFP (for M30201 Group)
M30302FAPFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30620FCPFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M306N0FGTFP Circular Connector; No. of Contacts:19; Series:; Body Material:Aluminum; Connecting Termination:Solder; Connector Shell Size:14; Circular Contact Gender:Pin; Circular Shell Style:Straight Plug; Insert Arrangement:14-19
M306N0MCT PTSE 19C 19#20 PIN PLUG 023
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M30-1000046 功能描述:集管和線殼 FEMALE CRIMP CONTACT 1.25MM PTCH 20K REEL RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點(diǎn)類型:Pin (Male) 節(jié)距:1 mm 位置/觸點(diǎn)數(shù)量:16 排數(shù):1 安裝風(fēng)格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點(diǎn)材料:Brass 觸點(diǎn)電鍍:Gold 制造商:Hirose Connector
M30100T3-RPD-E 制造商:Renesas Electronics Corporation 功能描述:DEV EMULATOR POD M16C/10 SERIES - Bulk
M30100T-PTC 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Converter for Connecting 32-pin 0.8mm-pitch QFP for M30100T-PRB (for M16C/10 Group M30100)
M30-1010046 功能描述:集管和線殼 1.25MM FEMALE CRIMP TIN PK OF 105 RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點(diǎn)類型:Pin (Male) 節(jié)距:1 mm 位置/觸點(diǎn)數(shù)量:16 排數(shù):1 安裝風(fēng)格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點(diǎn)材料:Brass 觸點(diǎn)電鍍:Gold 制造商:Hirose Connector
M3010102636207.32LLZZ 制造商:3M Electronic Products Division 功能描述:QUOTE # V05-0068