You are on page 1of 10

MICROCONTROLADORES

Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

TEMPORIZADORES

MICROCONTROLADORES
Docente

Ing. ILBER ADONAYT RUGE

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

MODULO TIMER0
El modulo TIMER0 (Timer/Counter) tiene las siguientes caracteristicas:

Contador/Temporizador de 8 bits
Lectura/Escritura
Preescaler programable
Seleccin de reloj interno/externo
Interrupcion por sobreflujo (overflow)
Seleccin de flanco para reloj externo

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

REGISTROS ASOCIADOS A MODULO TIMER0

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

REGISTROS ASOCIADOS A MODULO TIMER0

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

MODULO TIMER1
El modulo TIMER1 es un contador/temporizador a 16 bits y contiene dos (2)
registros de 8 bits (TMR1H y TMR1L)que se pueden leer y escribir.
Puede funcionar como:
Contador
Temporizador
La interrupcin de TMR1 (TMR1IE) es habilitado en el registro PIE1<0> y su
activacin (TMR1IF) se indica en el registro PIR1<0>.

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

REGISTROS ASOCIADOS A MODULO TIMER1

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

REGISTROS ASOCIADOS A MODULO TIMER1

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

MODULO TIMER2

El Timer2 es un temporizador de 8 bits con Preescaler y Postescaler. Este


puede ser usado como base de tiempo para el modulo CCP en modo
PWM.

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

REGISTROS ASOCIADOS A MODULO TIMER2

MICROCONTROLADORES
Docente: Ing. M.Sc. Ilber Adonayt Ruge Ruge

REGISTROS ASOCIADOS A MODULO TIMER2

You might also like