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

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
13. Timer A
e
E
1
v
J
6
Figure 13.1 Block diagram of timer A
Figure 13.2 Timer A-related registers (1)
1 .
0
C
Figure 13.1 shows the block diagram of timer A. Figures 13.2 to 13.4 show the timer A-related registers.
Except in event counter mode, timers A0 through A4 all have the same function. Use the timer Ai mode
register (i = 0 to 4) bits 0 and 1 to choose the desired mode.
Timer A has the four operation modes listed as follows:
9
0 .
8 /
B
• Timer mode: The timer counts an internal count source.
• Event counter mode: The timer counts pulses from an external source or a timer over flow.
• One-shot timer mode: The timer stops counting when the count reaches “0000
• Pulse width modulation (PWM) mode: The timer outputs pulses of a given width.
0
TAk overflow
(k = i + 1. Note, however, that k = 0 when i = 4)
TB2 overflow
TAj overflow
(j = i – 1. Note, however, that j = 4 when i = 0)
0
0
TAi
(i = 0 to 4)
1
TAi
(i = 0 to 4)
A
f
8
G
f
C32
f
f
8
u
1
32
IN
7
OUT
o r
. g
0 -
Clock source
selection
u
1
0
selection
p
Polarity
Timer Ai mode register
0
b7
, 2
0
2
b6
0
0
b5
5
Pulse output
Page 94
b4
b3
b2
• Timer
• One shot
• PWM
• Timer
• Event counter
Clock selection
b1
(gate function)
f o
b0
3
Bit symbol
2
TMOD0
TMOD1
MR0
MR1
MR2
MR3
TCK0
TCK1
9
External
trigger
Symbol
TAiMR(i=0 to 4)
This bit is invalid in M16C/80 series.
Port output control is set by the function select registers A and B.
Function varies with each operation mode
Count source select bit
Operation mode select bit
(Address 0344
(Function varies with each operation mode)
Up/down flag
Count start flag
(Address 0340
Down count
Toggle flip-flop
Bit name
0356
Address
16
16
to 035A
)
16
Data bus high-order bits
)
Data bus low-order bits
16
Reload register (16)
When reset
00000X00
Low-order
8 bits
Counter (16)
b1 b0
0 0 : Timer mode
0 1 : Event counter mode
1 0 : One-shot timer mode
1 1 : Pulse width modulation
Timer A0 0347
Timer A1 0349
Timer A2 034B
Timer A3 034D
Timer A4 034F
(PWM) mode
TAi
Up count/down count
2
Always down count except
in event counter mode
Function
Addresses
16
16
16
16
16
High-order
8 bits
0346
0348
034A
034C
034E
16
”.
16
16
16
16
16
Timer A4
Timer A0
Timer A1
Timer A2
Timer A3
TAj
R
– –
13. Timer A
W
Timer A1
Timer A2
Timer A3
Timer A4
Timer A0
TAk

Related parts for M30802FCGP#D3