Universal Remote Control R7 - SPECS SHEET Manual de usuario Pagina 10

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 31
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 9
S3F80KB_AN_REV 0.00 (Preliminary Spec) IR REMOTE CONTROLLER
9
Bit 1 Bit 0
0.56ms
1.69ms
0.56ms 0.56ms
REM
ON
REM
OFF
REM
OFF
REM
ON
Figure 4. Timer1 IR Transmission
2.5.3 Port
Port 0 and Port 1 is used to implement Key matrix. Port 0.0 ~ 0.3 is configured as Input mode with external
interrupt. Pull up resistor is enabled to generate interrupt at falling edge. Port 1.0 ~ 1.3 is configured as open drain
mode. When the key is pressed, port 0.0 ~ 0.3 will be low by port 1.0~1.3, then external interrupt will be
generated.
Port 3.1 is dedicated for IR drive pin. P3.7 is not configured for I/O pin and it only used to control carrier signal
on/off.
2.6 RECEPTION MODE
2.6.1 Timer 1
When the remote controller mode is IR reception mode, Timer1 interrupt is configured as capture mode and fast
inerrupt. Timer1 is used to generate a capture interrupt when falling edge is detected from IR signal which is
received by IR sensor. Timer1 fast interrupt service routine stores up time when fast interrupt is generated. It is to
count between falling edge and next falling edge of the IR signal. At the same time fast interrupt service routine
countes the number of times of the fast interrupt. It is to counte a distance of the high and low signal.
2.6.2 Timer 0
Timer0 countes learning mode operation time. Timer 0 is configured as pwm mode and it generates overflow
interrupt to compute a duration from start time to end time of the learning mode.
Vista de pagina 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 30 31

Comentarios a estos manuales

Sin comentarios