Electronic Components Datasheet Search
  English  ▼

X  

EM78P257AP Datasheet(PDF) 42 Page - ELAN Microelectronics Corp

Part # EM78P257AP
Description  8-BIT MICROCONTROLLER
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  EMC [ELAN Microelectronics Corp]
Direct Link  http://www.emc.com.tw
Logo EMC - ELAN Microelectronics Corp

EM78P257AP Datasheet(HTML) 42 Page - ELAN Microelectronics Corp

Back Button EM78P257AP Datasheet HTML 38Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 39Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 40Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 41Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 42Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 43Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 44Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 45Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 46Page - ELAN Microelectronics Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 91 page
background image
EM78P257
OTP ROM
This specification is subject to change without prior notice.
07.27.2004 (V1.4)
42
4.7 Timer/Counter
1. Overview
Timer1 (TCCA ) and Timer3 (TCCC) are eight-bit clock counters. Timer2 (TCCB) is a 16-bit clock counter. TCCA,
TCCB, and TCCC can be read and written, and cleared at every reset condition.
2. Function Description
Fig.14 shows the TIMER block diagram. Each signal and block is described as follows :
Set predict value
Osci
input
or
External input
Osci
input
or
External input
Osci
input
or
External input
TCCC
Set TCCCIF
TCCCEN
Overflow
TCCA
Set TCCAIF
TCCAEN
Overflow
TCCB
Set TCCBIF
TCCBEN
Overflow
Set predict value
Set predict value
Fig. 14 TIMER Block Diagram
• Osci input : Input clock.
• TCCX: Timer 1~3 register; TCCX increases until it matches with zero, and then reload the previous
value. If TCCXIE is enabled, TCCXIF will be set at the same time.
3. Programming the Related Registers
When defining TCCX, refer to the related registers of its operation as shown in the Table 10 and Table 11 below.
Table 10 Related Control Registers of the TCCX
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0x0A
TCR(1)/RA
0
0
0
0
0
TCCAIE/0 TCCATS/0 TCCATE/0
0x0B
TCR(2)/RB
0
TCCBIE/0 TCCBTS/0 TCCBTE/0
0
TCCCIE/0 TCCCTS/0 TCCCTE/0
0x08
TCCCR/IOC80 TCC2E
TCC4E
TCC6E
TCCBE
0
0
0
0
Table 11 Related Status/Data Registers of TCCX
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0x09
TCCSR/R9
CMPOUT4 CMPOUT3 CMPOUT2 CMPOUT1
0
TCCCIF
TCCBIF
TCCAIF
0x05
TCCA/IOC51
TCCA7
TCCA6
TCCA5
TCCA4
TCCA3
TCCA2
TCCA1
TCCA0
0x06
TCCBL/IOC61
TCCBL7
TCCBL6
TCCBL5
TCCBL4
TCCBL3
TCCBL2
TCCBL1
TCCBL0
0x07
TCCBH/IOC71 TCCBH7
TCCBH6
TCCBH5
TCCBH4
TCCBH3
TCCBH2
TCCBH1
TCCBH0
0x08
TCCC/IOC81
TCCC7
TCCC6
TCCC5
TCCC4
TCCC3
TCCC2
TCCC1
TCCC0
0x09
LTR/IOC91
LTR7
LTR6
LTR5
LTR4
LTR3
LTR2
LTR1
LTR0
0x0A
HTR/IOCA1
HTR7
HTR6
HTR5
HTR4
HTR3
HTR2
HTR1
HTR0
0x0B
PTR/IOCB1
PTR7
PTR6
PTR5
PTR4
PTR3
PTR2
PTR1
PTR0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com