Update 'soft/PjtKEIL_StepSon/Src/GestionSon.s'
This commit is contained in:
parent
9225c89640
commit
351e5755d1
1 changed files with 8 additions and 3 deletions
|
@ -1,8 +1,13 @@
|
||||||
PRESERVE8
|
PRESERVE8
|
||||||
THUMB
|
THUMB
|
||||||
|
|
||||||
|
import LongueurSon
|
||||||
|
import PeriodeSonMicroSec
|
||||||
|
import Son
|
||||||
|
|
||||||
; ====================== zone de réservation de données, ======================================
|
include Driver/DriverJeuLaser.inc
|
||||||
|
|
||||||
|
; ====================== zone de réservation de données, ======================================
|
||||||
;Section RAM (read only) :
|
;Section RAM (read only) :
|
||||||
area mesdata,data,readonly
|
area mesdata,data,readonly
|
||||||
|
|
||||||
|
@ -26,7 +31,7 @@ Index equ 0
|
||||||
|
|
||||||
;Section ROM code (read only) :
|
;Section ROM code (read only) :
|
||||||
area moncode,code,readonly
|
area moncode,code,readonly
|
||||||
; écrire le code ici
|
; écrire le code ici
|
||||||
|
|
||||||
;short int SortieSon;
|
;short int SortieSon;
|
||||||
;int LongueurSon 5512
|
;int LongueurSon 5512
|
||||||
|
@ -43,7 +48,7 @@ Index equ 0
|
||||||
CallbackSon proc
|
CallbackSon proc
|
||||||
push {lr}
|
push {lr}
|
||||||
|
|
||||||
ldr r0,=son ; tableau de données
|
ldr r0,=son ; tableau de données
|
||||||
ldr r1,=SortieSon ; resultat
|
ldr r1,=SortieSon ; resultat
|
||||||
|
|
||||||
ldr r2,[r1,#LongueurSon] ; point fini
|
ldr r2,[r1,#LongueurSon] ; point fini
|
||||||
|
|
Loading…
Reference in a new issue