Universal Remote Control R7 - SPECS SHEET Bedienungsanleitung Seite 25

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 31
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 24
IR REMOTE CONTROLLER S3F80KB_AN_REV 0.00 (Preliminary Spec)
24
This module process reception 32-bit signal and the end bit after the leader signal is received. If there is not error,
data code is stored in the buffer.
source 5 receive.src
;=============================================================================;
; @brief bit signal capture ;
;=============================================================================;
BitHInit:
LDW RR14,#0000H
LDW RR4,RR6
Wait3: ;Wait for the low signal
DJNZ R0,Wait3 ;192us
CP R15,#10H ;\
JP lt,InitFast ; |signal min,max
CP R15,#1AH ; |
JP gt,InitFast ;/
BitLInit:
LDW RR14,#0000H
LDW RR4,RR6
LD T1FastFlag,#00H
Wait4: ;wait for next bit pulse
TM T1FastFlag,#01H
JR NZ,BitL_Start
JR Wait4
BitL_Start:
CP R6,R4
JR lt,BitL_T1Ovr
LastSubStart
JR BitL_Min1
BitL_T1Ovr:
T1OvrCal
BitL_Min1: ;\
BTJRT BitL_Min1_L,R6.3 ; |;If R6>#08H
CP R6,#03H ; |
JP lt,InitFast ; |
JR nz,BitL_Max1 ; |
CP R7,#04CH ; |
Seitenansicht 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 31

Kommentare zu diesen Handbüchern

Keine Kommentare