| Electronic Components Datasheet Search |
|
EM78P257AP Datasheet(PDF) 42 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78P257AP Datasheet(HTML) 42 Page - ELAN Microelectronics Corp |
|
42 / 91 page ![]() 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 |
|
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 |
| 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 |