M30802FCGP#D3 Renesas Electronics America, M30802FCGP#D3 Datasheet - Page 111

IC M16C MCU FLASH 128K 144LQFP

M30802FCGP#D3

Manufacturer Part Number
M30802FCGP#D3
Description
IC M16C MCU FLASH 128K 144LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/80r
Datasheet

Specifications of M30802FCGP#D3

Core Processor
M16C/80
Core Size
16-Bit
Speed
20MHz
Connectivity
SIO, UART/USART
Peripherals
DMA, PWM, WDT
Number Of I /o
121
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
10K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 10x10b, D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
144-LQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M30802FCGP#D3M30802FCGP
Manufacturer:
MITSHBISHI
Quantity:
20 000
Company:
Part Number:
M30802FCGP#D3M30802FCGP
Quantity:
81
Company:
Part Number:
M30802FCGP#D3M30802FCGP D5
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M
R
R
e
E
1
v
J
6
Table 13.2 Timer specifications in event counter mode (when not processing two-phase pulse signal)
Note: This does not apply when the free-run function is selected.
Figure 13.6 Timer Ai mode register in event counter mode
1 .
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request generation timing The timer overflows or underflows
TAi
TAi
Read from timer
Write to timer
Select function
0
C
(2) Event counter mode
9
0 .
8 /
B
In this mode, the timer counts an external signal or an internal timer’s overflow. Timers A0 and A1 can count a single-
phase external signal. Timers A2, A3, and A4 can count a single-phase and a two-phase external signal. Table
lists timer specifications when counting a single-phase external signal. Figure 1
in event counter mode.
Figure 13.7 shows the timer Ai mode register in event counter mode.
IN
OUT
0
0
0
1
Timer Ai mode register
(When not using two-phase pulse signal processing)
b7
A
pin function
8
G
u
7
pin function
o r
. g
b6
0 -
u
1
0
Item
p
b5
0
0
, 2
0
2
b4
0
0
b3
5
Page 98
b2
b1
0 1
Table 13.3 lists timer specifications when counting a two-phase external signal.
b0
• External signals input to TAi
• TB2 overflows or underflows, TAj overflows or underflows
• Up count or down count can be selected by external signal or software
• When the timer overflows or underflows, it reloads the reload register con
• 1/ (FFFF
• 1/ (n + 1) for down count
Count start flag is set (= 1)
Count start flag is reset (= 0)
Programmable I/O port or count source input
Programmable I/O port, pulse output, or up/down count select input (Setting by
the corresponding function select registers A and B)
Count value can be read out by reading timer Ai register
• When not counting
• When counting
• Free-run count function
• Pulse output function
Note 1: This bit is valid when only counting an external signal.
Note 2: Set the corresponding function select register A to I/O port, and port direction
tents before continuing counting (Note)
Value written to timer Ai register is written to both reload register and counter
Value written to timer Ai register is written to only reload register
(Transferred to counter at next reload time)
Even when the timer overflows or underflows, the reload register content is
not reloaded to it
Each time the timer overflows or underflows, the TAi
TMOD0
TMOD1
Bit symbol
f o
TCK0
TCK1
MR0
MR1
MR2
MR3
Symbol
TAiMR(i=0 to 4)
3
2
register to “0”.
9
16
This bit is invalid in M16C/80 series.
Port output control is set by the function select registers A and B.
Operation mode select bit
0 : (Set to “0” in event counter mode)
Count operation type
select bit
Count polarity
select bit (Note 1)
Up/down switching
cause select bit
Two-phase pulse signal
processing operation
select bit
- n + 1) for up count
0356
Bit name
Address
16
to 035A
Specification
IN
pin (effective edge can be selected by software)
16
0 : Counts external signal's falling edges
1 : Counts external signal's rising edges
When reset
b1 b0
0 : Reload type
1 : Free-run type
When not using two-phase pulse signal
processing, set this bit to “0”
00000X00
0 1 : Event counter mode
0 : Up/down flag's content
1 : TA
n : Set value
iOUT
2
pin's input signal (Note 2)
3.6
Function
shows the timer Ai mode register
OUT
pin’s polarity is reversed
13. Timer A
– –
R
W
13.2

Related parts for M30802FCGP#D3