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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 31
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 13
S3F80KB_AN_REV 0.00 (Preliminary Spec) IR REMOTE CONTROLLER
13
source 1 signal.src
;=============================================================================;
; @brief 1 Bit transmission ;
; @input : T1match = Timer1 match interrupt counter ;
; @input : High_DataH = Bit 1's period ;
; @input : Low_DataH = Bit 0's period ;
; @output : NONE ;
; @ToDo : T1match = #00H , Bit 1 and 0's period ;
;=============================================================================;
BIT_HIGH: ;transmit Bit 1 high & low
LDW T1DATAH,High_DataH
LD T1match,#01H
OR CACON,#00000100B ;\ clear counterA
AND CACON,#~00000100B ;/
EnableREM
TurnIrOn
OR T1CON,#00001000B
BIT_HIGH_LOOP:
TM T1match,#02H
JR Z,BIT_HIGH_LOOP
BIT_LOW: ;transmit Bit 0 high &l ow
LDW T1DATAH,Low_DataH
DisableREM
TurnIrOff
OR T1CON,#00001000B
BIT_LOW_LOOP:
TM T1match,#04H
JR Z,BIT_LOW_LOOP
BIT_END:
RET
Vista de pagina 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 30 31

Comentarios a estos manuales

Sin comentarios