| Electronic Components Datasheet Search |
|
Z86L997 Datasheet(PDF) 47 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
Z86L997 Datasheet(HTML) 47 Page - Zilog, Inc. |
|
47 / 102 page ![]() Z86D990/Z86D991 OTP and Z86L99X ROM Low-Voltage Microcontrollers with ADC PS003807-1002 P R E L I M I N A R Y 40 The time interval (i) until end-of-count, is given by i = t x p x v where t is 8 divided by XTAL frequency, p is the prescaler value (1 – 64), and v is the counter/timer value (1 – 256). The prescaler and counter/timer are true divide- by-n counters. TOUT Modes The Timer Mode register TMR (F1h) (Figure 25) is used in conjunction with the Port 5 Mode register P5M to configure P56 for TOUT operation. In order for TOUT to function, P56 must be defined as an output line by setting P5M bit D6 to 0. Output is controlled by one of the counter/timers (T0 or T1) or the internal clock. R241 TMR Timer Mode Register (F1h; Read/Write) Figure 25. Timer Mode Register TOUT Operation The P56 output is selected by TMR bits D7 and D6. T1 is selected by setting D7 and D6 to 1 and 0, respectively. The counter/timer TOUT mode is turned off by set- ting TMR bits D7 and D6 both to 0, freeing P36 to be a data output line. TOUT is initialized to a logic 1 whenever the TMR Load bit D2 is set to 1. At end-of-count, the interrupt request line IRQ5 clocks a toggle flip-flop. The out- put of this flip-flop drives the TOUT line P56. In all cases, when the counter/timer reaches its end-of-count, TOUT toggles to its opposite state (see Figure 26). If, for example, the counter/timer is in continuous counting mode, TOUT has a 50% duty cycle output. You can control the duty cycle by varying the initial values after each end-of-count. D7 D6 D2 0 = No function 1 = Load T1 TOUT modes TOUT off = 00 Reserved = 01 T1 out = 10 Internal clock out = 11 |
|
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 |