em78p809n ELAN Microelectronics Corp, em78p809n Datasheet - Page 47

no-image

em78p809n

Manufacturer Part Number
em78p809n
Description
8-bit Microcontroller
Manufacturer
ELAN Microelectronics Corp
Datasheet
Product Specification (V1.0) 07.26.2005
(This specification is subject to change without further notice)
TC3 pin
fc/2
fc/2
fc/2
7
10
12
,
,
fs/2
fs/2
4
2
INT3ES
4.10.1 Timer Mode:
4.10.2
4.10.3
M
In Timer mode, counting up is performed using the internal clock. When the contents of
the up-counter matched with the TCR3DA, then interrupt is generated and the counter
is cleared. Counting up resumes after the counter is cleared. The current contents of
the up-counter are loaded into the TCR3DB by setting TC3CAP to “1” and the TC3CAP
is cleared to “0” after capture automatically.
In Counter mode, counting up is performed using the external clock input pin (TC3 pin)
and either rising or falling edge can be selected by INT3ES0 but both edge cannot
be used. When the contents of the up-counter matched with the TCR3DA, then
interrupt is generated and the counter is cleared. Counting up resumes after the
counter is cleared. The current contents of the up-counter are loaded into the TCR3DB
by setting TC3CAP to “1” and the TC3CAP is cleared to “0” after capture automatically.
In Capture mode, the pulse width, period and duty of the TC3 input pin are measured in
this mode, which can be used in decoding the remote control signal. The counter is
free running by the internal clock. On the rising (falling) edge of TC3 pin input, the
contents of the counter is loaded into TCR3DA, then the counter is cleared and
interrupt is generated. On the falling (rising) edge of TC3 pin input, the contents of the
counter are loaded into TCR3DB. The counter is still counting, on the next rising edge
of the TC3 pin input, the contents of the counter are loaded into TCR3A, counter is
TC2CK
MUX
Detector
TC3CR
Counter Mode:
Capture mode:
Edge
2
TC3M
TC3S
Rising
Falling
CAP
Capture
Capture
Control
Inhibit
Fig. 23. Configuration of Timer/Counter3
TCR3B
8-bit Up-counter
TCR3A
Capture
Overflow
Comparator
8-Bit Microcontroller
EM78P809N
Interrupt
TC3
• 43

Related parts for em78p809n