| Motore di ricerca datesheet componenti elettronici |
|
DS83C320-WNL Scheda tecnica(PDF) 126 Page - Dallas Semiconductor |
|
|
|||||||||||||||||||||||||||||
DS83C320-WNL Scheda tecnica(HTML) 126 Page - Dallas Semiconductor |
|
126 / 175 page ![]() High-Speed Microcontroller User’s Guide 126 of 175 TIMER/COUNTER 0 MODE 3 Figure 11-3 In Mode 3, Timer 1 stops counting and holds its value. Thus Timer 1 has no practical application while in Mode 3. As mentioned above, when Timer 0 is in Mode 3, it uses some of Timer 1’s resources (i.e., TR1 and TF1). Timer 1 can still be used in Modes 0, 1, and 2 in this situation, but its flexibility becomes somewhat limited. While it maintains its basic functionality, its inputs and outputs are no longer available. Therefore when Timer 0 is in Mode 3, Timer 1 can only count oscillator cycles, and it does not have an interrupt or flag. With these limitations, baud rate generation is its most practical application, but other time-base functions may be achieved by reading the registers. TIMER 2 Like Timers 0 and 1, Timer 2 is a full function timer/ counter, however it has several additional capabilities that make it more useful. Timer 2 has independent control registers in T2CON and T2MOD, and is based on count registers TL2 and TH2. All of these registers are described in detail below. T2CON REGISTER SUMMARY TIMER TWO CONTROL T2CON; C8h T2CON.7 TF2 - Timer 2 Overflow Flag. Hardware will set TF2 when the Timer 2 overflows from FFFFh or from the count equal to the capture register in down count mode. It must be cleared to 0 by software. TF2 will only be set to a 1 if RCLK and TCLK are both cleared to a 0. T2CON.6 EXF2 - Timer 2 External Flag. Hardware will set EXF2 when a reload or capture is caused by a falling transition on the T2EX pin (P1.1). EXEN2 must be set for this function. This flag must be cleared to 0 by software. Writing a one to this bit will force a timer interrupt if enabled. OSC INPUT TO TIMER CLK MODE TIMER INPUT DIVIDE BY 4 OSC/1 PMM1 OSC/16 PMM2 OSC/256 DIVIDE BY 12 DIVIDE BY 4 T0 = P3.4 TR0 = TCON.4 GATE = TMOD.3 TL0 0 7 0 7 TH0 0 1 0 1 T0M = CKCON.3 TR1 = TCON.6 TF0 = TCON.5 INTERRUPT TF1 = TCON.7 C/ T = TMOD.2 INT0 = P3.2 CLK INTERRUPT |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |