Auto Page CPX-3600 Spécifications Page 237

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 243
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 236
ST72321xx-Auto Known limitations
Doc ID 13829 Rev 1 237/243
; check for falling edge
cp A,#$02
jrne OUT
TNZ Y
jrne OUT
LD A,#$01
LD sema,A
; set the semaphore to '1' if edge is detected
RIM
; reset the interrupt mask
LD A,sema
; check the semaphore status
CP A,#$01
jrne OUT
call call_routine
; call the interrupt routine
RIM
OUT:
RIM
JP while_loop
.call_routine
; entry to call_routine
PUSH A
PUSH X
PUSH CC
.ext1_rt
; entry to interrupt routine
LD A,#$00
LD sema,A
IRET
Vue de la page 236

Commentaires sur ces manuels

Pas de commentaire