em78f644nso28s ELAN Microelectronics Corp, em78f644nso28s Datasheet - Page 33

no-image

em78f644nso28s

Manufacturer Part Number
em78f644nso28s
Description
Flash Series 8-bit Microcontroller
Manufacturer
ELAN Microelectronics Corp
Datasheet
Product Specification (V1.0) 05.05.2010
(This specification is subject to change without further notice)
TC1 pin
fc/2
fc/2
fc/2
10
12
7
TC1ES
M
Bit 2 (TC1ES):
Bits 1 ~ 0:
TC1CK
In Timer mode, counting up is performed using the internal clock. When the
contents of the up-counter matched with the TCR1DA, 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 TCR1DB by setting TC1CAP to “1”
and the TC1CAP is automatically cleared to “0” after capture is completed.
In Counter mode, counting up is performed using the external clock input pin (TC1
pin) and either rising or falling edge can be selected by TC1ES, but both edges
cannot be used. When the contents of the up-counter matched with the TCR1DA,
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
TCR1DB by setting TC1CAP to “1” and the TC1CAP is automatically cleared to “0”
after capture is completed.
Timer/Counter 1 Configuration
MUX
detector
TC1CR
edge
2
Figure 6-3a Timer/Counter 1 Configuration Block Diagram
TC1M
TC1S
rising
falling
TC1CAP
capture
TC1 signal edge
0: Increment if the transition from low to high (rising edge) takes
1: Increment if the transition from high to low (falling edge) takes
Not used, set to “0” all the time.
capture
inhibit
control
place on the TC1 pin.
place on TC1 pin.
TCR1DB
EM78F648/644/642/641/548/544/542/541N
8-bit up counter
TCR1DA
capture
overflow
Comparator
8-Bit Microcontroller
interrupt
TC1
• 23

Related parts for em78f644nso28s