m30833fjgp Renesas Electronics Corporation., m30833fjgp Datasheet - Page 166

no-image

m30833fjgp

Manufacturer Part Number
m30833fjgp
Description
Renesas 16/32-bit Single-chip Microcomputer M16c Family / M32c/80 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m30833fjgp D5
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
m30833fjgp#U3
Manufacturer:
NXP
Quantity:
1 003
Part Number:
m30833fjgp#U3
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
m30833fjgp#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R
R
M
e
E
3
. v
J
Table 14.4 Specifications in Event Counter Mode (when not processing two-phase pulse signal)
2
0
Count Source
Counting Operation
Divide Ratio
Counter Start Condition
Counter Stop Condition
Interrupt Request Generation Timing The timer counter overflows or underflows
TAi
TAi
Read from Timer
Write to Timer
Selectable Function
14.1.2 Event Counter Mode
1
9
C
3 .
B
In event counter mode, the timer counts how many external signals are applied or how many times
another timer overflows and underflows. The timers A2, A3 and A4 can count externally generated two-
phase signals. Table 14.4 lists specifications in event counter mode (when not handling a two-phase
pulse signal). Table 14.5 lists specifications in event counter mode (when handling a two-phase pulse
signal with the timer A2, A3 and A4). Figure 14.9 shows the TAiMR (i=0 to 4) register in event counter
mode.
8 /
IN
OUT
0
1
3
0
Pin Function
3
J
G
4
a
Pin Function
0 -
n
o r
3 .
1
Item
u
, 1
3
p
1
2
(
M
0
0
3
6
2
C
Page 143
8 /
, 3
M
3
• External signal applied to the TAi
• Timer B2 overflow or underflow signal, timer Aj overflow or underflow signal (j=i-1,
• External signal and program can determine whether the timer increments or decre-
• When the timer counter underflows or overflows, the content of the reload register is
• 1/(FFFF
• 1/(n + 1) for counter decrement
The TAiS bit in the TABSR register is set to "1" (starts counting)
The TAiS bit is set to "0" (stops counting)
Programmable I/O port or count source input
Programmable I/O port, pulse output or input selecting a counter increment or decrement
The TAi register indicates counter value
• When the timer counter stops,
• While counting,
• Free-running count function
• Pulse output function
2
(It is transferred to the counter at the next reload timing)
program)
except j=4 if i=0) and timer Ak overflow or underflow signal (k=i+1, except k=0 if i=4)
ments the counter
reloaded into the count register and counting resumes. When the free-running count
function is selected, the timer counter continues running without reloading.
the value written to the TAi register is also written to both reload register and counter
the value written to the TAi register is written to the reload register
Content of the reload register is not reloaded even if the timer counter overflows or
underflows
The polarity of the TAi
underflows
C
f o
8 /
4
3
8
) T
8
16
- n + 1) for counter increment
OUT
pin is inversed whenever the timer counter overflows or
Specification
n : setting value of the TAi register 0000
IN
pin (i = 0 to 4) (valid edge can be selected by
14. Timer (Timer A)
16
to FFFF
16

Related parts for m30833fjgp