Universal Remote Control R7 - SPECS SHEET Manual do Utilizador Página 21

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 31
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 20
IR REMOTE CONTROLLER S3F80KB_AN_REV 0.00 (Preliminary Spec)
20
source 4 receive.src
;=============================================================================;
; @brief IR reception ;
; @input NONE ;
; @output NONE ;
; @ToDo ;
;=============================================================================;
; Used register description ;
; R0 - CheckNoise Count ;
; R1 - 4time count (Custom,Custom,Data,Databar) ;
; R2 - 8Bit counter ;
; R3 - calcaurate temp ;
; RR4 - signal start ;
; RR6 - signal last ;
; RR8 - IP address ;
; R10 - calcurate temp ;
; R11 - Data buffer pointer ;
; RR12 - Old Time ;
; RR14 - pulse count ;
;=============================================================================;
RcvMain::
DI
AND P3,#0FEH ;\
LD P0CONH,#0AAH ; | Set 7segment to display the learned code
LD P0,#00H ; |
LD P1,#00H ;/
OR P3CON,#11000110B ;enable capture mode
LD IMR,#00000011B ;Mask IRQ0 and IRQ1 interrupts
LD SYM,#00000110B ;Enable IRQ fast int
;LD T1CON,#00101010B ;Enable T1 capt int. , falling edge
LD T1CON,#00011010B ;rising edge
;Disable T1 overflow int
;Reset timer1
;Set FOSC/4
;T1 overflow enable
LD T0CON,#01111100B ;Enable T0 overflow int
;Reset timer0
Vista de página 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 30 31

Comentários a estes Manuais

Sem comentários