参数资料
型号: M37544G2SP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP32
封装: 0.400 INCH, 1.78 MM PITCH, PLASTIC, SDIP-32
文件页数: 16/68页
文件大小: 738K
代理商: M37544G2SP
7544 Group
Rev.1.04
2004.06.08
page 23 of 66
REJ03B0012-0104Z
(3) Event counter mode
Timer A counts signals input from the P00/CNTR1 pin.
Except for this, the operation in event counter mode is the same
as in timer mode.
The active edge of CNTR1 pin input signal can be selected from
rising or falling by the CNTR1 active edge switch bit .
(4) Pulse width HL continuously measurement mode
In the pulse width HL continuously measurement mode, the pulse
width (“H” and “L” levels) input to the P00/CNTR1 pin is measured.
CNTR1 interrupt request is generated at both rising and falling
edges of CNTR1 pin input signal. Except for this, the operation in
pulse width HL continuously measurement mode is the same as in
period measurement mode.
The count value when trigger input from the CNTR1 pin is ac-
cepted is retained until Timer A is read once.
Timer A can stop counting by setting “1” to the timer A count stop
bit in any mode.
Also, when Timer A underflows, the timer A interrupt request bit is
set to “1”.
Note on Timer A is described below;
■ Note on Timer A
CNTR1 interrupt active edge selection
CNTR1 interrupt active edge depends on the CNTR1 active edge
switch bit.
When this bit is “0”, the CNTR1 interrupt request bit is set to “1” at
the falling edge of the CNTR1 pin input signal. When this bit is “1”,
the CNTR1 interrupt request bit is set to “1” at the rising edge of
the CNTR1 pin input signal.
However, in the pulse width HL continuously measurement mode,
CNTR1 interrupt request is generated at both rising and falling
edges of CNTR1 pin input signal regardless of the setting of
CNTR1 active edge switch bit.
Fig. 22 Structure of timer A mode register
Fig. 23 Timer count source set register 2
Timer A mode register
(TAM : address 001D16, initial value: 0016)
b7
b0
Disable (return “0” when read)
Timer A operating mode bits
b5 b4
0
0 : Timer mode
0
1 : Period measurement mode
1
0 : Event counter mode
1
1 : Pulse width HL continuously
measurement mode
CNTR1 active edge switch bit
0 : Count at rising edge in event counter mode
Measure the falling edge period in period
measurement mode
Falling edge active for CNTR1 interrupt
1 : Count at falling edge in event counter mode
Measure the rising edge period in period
measurement mode
Rising edge active for CNTR1 interrupt
Timer A count stop bit
0 : Count start
1 : Count stop
Timer count source set register 2
(TCSS2 : address 002F16, initial value: 0016)
b7
b0
Timer 1 count source selection bits
b1 b0
0
0 : f(XIN)/16
0
1 : f(XIN)/2
1
0 : On-chip oscillator output
1
1 : Disable
Note : System operates using an on-chip oscillator as a count source
by setting the on-chip oscillator to oscillation enabled by bit 3
of CPUM.
Disable (return “0” when read)
Timer A count source selection bits
b3 b2
0
0 : f(XIN)/16
0
1 : f(XIN)/2
1
0 : On-chip oscillator output
1
1 : Disable
相关PDF资料
PDF描述
M37906M8C-XXXSP 16-BIT, MROM, 20 MHz, MICROCONTROLLER, PDIP42
M32182F8TFP 32-BIT, FLASH, 80 MHz, RISC MICROCONTROLLER, PQFP144
MICD-038-03.75-TTR-SBR-2-B INTERCONNECTION DEVICE
MICD-038-03.75-TBL-TUE-4-F INTERCONNECTION DEVICE
MICD-076-03.75-TBR-TTR-1-B INTERCONNECTION DEVICE
相关代理商/技术参数
参数描述
M37544M2-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37544M2-XXXHP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37544M2-XXXSP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37544RSS 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37545G1KP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER