| Datenblatt-Suchmaschine für elektronische Bauteile |
|
COP888CF Datenblatt(PDF) 19 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
COP888CF Datenblatt(HTML) 19 Page - National Semiconductor (TI) |
|
19 / 44 page ![]() Timers (Continued) The timer mode control bits (TxC3, TxC2 and TxC1) are detailed below: Mode TxC3 TxC2 TxC1 Description Interrupt A Source Interrupt B Source Timer Counts On 1 1 0 1 PWM: TxA Toggle Autoreload RA Autoreload RB t C 1 0 0 PWM: No TxA Toggle Autoreload RA Autoreload RB t C 2 0 0 0 External Event Counter Timer Underflow Pos. TxB Edge Pos. TxA Edge 0 0 1 External Event Counter Timer Underflow Pos. TxB Edge Pos. TxA Edge 3 0 1 0 Captures: Pos. TxA Edge Pos. TxB Edge t C TxA Pos. Edge or Timer TxB Pos. Edge Underflow 1 1 0 Captures: Pos. TxA Neg. TxB t C TxA Pos. Edge Edge or Timer Edge TxB Neg. Edge Underflow 0 1 1 Captures: Neg. TxA Neg. TxB t C TxA Neg. Edge Edge or Timer Edge TxB Neg. Edge Underflow 1 1 1 Captures: Neg. TxA Neg. TxB t C TxA Neg. Edge Edge or Timer Edge TxB Neg. Edge Underflow Power Save Modes The device offers the user two power save modes of opera- tion: HALT and IDLE. In the HALT mode, all microcontroller activities are stopped. In the IDLE mode, the on-board oscil- lator circuitry and timer T0 are active but all other microcon- troller activities are stopped. In either mode, all on-board RAM, registers, I/O states, and timers (with the exception of T0) are unaltered. HALT MODE The device is placed in the HALT mode by writing a “1” to the HALT flag (G7 data bit). All microcontroller activities, includ- ing the clock, timers, and A/D converter, are stopped. The WatchDog logic is disabled during the HALT mode. However, the clock monitor circuitry if enabled remains active and will cause the WatchDog output pin (WDOUT) to go low. If the HALT mode is used and the user does not want to activate the WDOUT pin, the Clock Monitor should be disabled after the device comes out of reset (resetting the Clock Monitor control bit with the first write to the WDSVR register). In the HALT mode, the power requirements of the device are mini- mal and the applied voltage (V CC) may be decreased to Vr (V r = 2.0V) without altering the state of the machine. The device supports three different ways of exiting the HALT mode. The first method of exiting the HALT mode is with the Multi-Input Wakeup feature on the L port. The second method is with a low to high transition on the CKO (G7) pin. This method precludes the use of the crystal clock configura- tion (since CKO becomes a dedicated output), and so may be used with an RC clock configuration. The third method of exiting the HALT mode is by pulling the RESET pin low. Since a crystal or ceramic resonator may be selected as the oscillator, the Wakeup signal is not allowed to start the chip running immediately since crystal oscillators and ceramic resonators have a delayed start up time to reach full ampli- tude and frequency stability. The IDLE timer is used to gen- erate a fixed delay to ensure that the oscillator has indeed stabilized before allowing instruction execution. In this case, upon detecting a valid Wakeup signal, only the oscillator cir- cuitry is enabled. The IDLE timer is loaded with a value of 256 and is clocked with the t c instruction cycle clock. The tc clock is derived by dividing the oscillator clock down by a fac- tor of 10. The Schmitt trigger following the CKI inverter on the chip ensures that the IDLE timer is clocked only when the oscillator has a sufficiently large amplitude to meet the Schmitt trigger specifications. This Schmitt trigger is not part of the oscillator closed loop. The startup timeout from the IDLE timer enables the clock signals to be routed to the rest of the chip. If an RC clock option is being used, the fixed delay is intro- duced optionally. A control bit, CLKDLY, mapped as configu- ration bit G7, controls whether the delay is to be introduced or not. The delay is included if CLKDLY is set, and excluded if CLKDLY is reset. The CLKDLY bit is cleared on reset. The device has two mask options associated with the HALT mode. The first mask option enables the HALT mode feature, while the second mask option disables the HALT mode. With the HALT mode enable mask option, the device will enter and exit the HALT mode as described above. With the HALT disable mask option, the device cannot be placed in the HALT mode (writing a “1” to the HALT flag will have no ef- fect). The WatchDog detector circuit is inhibited during the HALT mode. However, the clock monitor circuit if enabled remains active during HALT mode in order to ensure a clock monitor error if the device inadvertently enters the HALT mode as a result of a runaway program or power glitch. www.national.com 19 |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |