| Os motores de busca de Datasheet de Componentes eletrônicos |
|
DSPIC30F6010 Folha de dados(PDF) 61 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
DSPIC30F6010 Folha de dados(HTML) 61 Page - Microchip Technology |
|
61 / 222 page ![]() © 2006 Microchip Technology Inc. DS70119E-page 59 dsPIC30F6010 9.4 Timer Interrupt The 16-bit timer has the ability to generate an interrupt on period match. When the timer count matches the period register, the T1IF bit is asserted and an interrupt will be generated, if enabled. The T1IF bit must be cleared in software. The timer interrupt flag T1IF is located in the IFS0 control register in the Interrupt Controller. When the Gated Time Accumulation mode is enabled, an interrupt will also be generated on the falling edge of the gate signal (at the end of the accumulation cycle). Enabling an interrupt is accomplished via the respec- tive Timer Interrupt Enable bit, T1IE. The Timer Inter- rupt Enable bit is located in the IEC0 control register in the Interrupt Controller. 9.5 Real-Time Clock Timer1, when operating in Real-Time Clock (RTC) mode, provides time-of-day and event time stamping capabilities. Key operational features of the RTC are: • Operation from 32 kHz LP oscillator • 8-bit prescaler • Low power • Real-Time Clock Interrupts These operating modes are determined by setting the appropriate bit(s) in the T1CON Control register FIGURE 9-2: RECOMMENDED COMPONENTS FOR TIMER1 LP OSCILLATOR RTC 9.5.1 RTC OSCILLATOR OPERATION When the TON = 1, TCS = 1 and TGATE = 0, the timer increments on the rising edge of the 32 kHz LP oscilla- tor output signal, up to the value specified in the period register, and is then reset to ‘0’. The TSYNC bit must be asserted to a logic ‘0’ (Asynchronous mode) for correct operation. Enabling LPOSCEN (OSCCON<1>) will disable the normal Timer and Counter modes and enable a timer carry-out wake-up event. When the CPU enters Sleep mode, the RTC will con- tinue to operate, provided the 32 kHz external crystal oscillator is active and the control bits have not been changed. The TSIDL bit should be cleared to ‘0’ in order for RTC to continue operation in Idle mode. 9.5.2 RTC INTERRUPTS When an interrupt event occurs, the respective inter- rupt flag, T1IF, is asserted and an interrupt will be gen- erated, if enabled. The T1IF bit must be cleared in software. The respective Timer interrupt flag, T1IF, is located in the IFS0 status register in the Interrupt Controller. Enabling an interrupt is accomplished via the respec- tive Timer Interrupt Enable bit, T1IE. The Timer Inter- rupt Enable bit is located in the IEC0 control register in the Interrupt Controller. SOSCI SOSCO R C1 C2 dsPIC30FXXXX 32.768 kHz XTAL C1 = C2 = 18 pF; R = 100K |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |