Utilisation du DataSend global pour la transmission. Ainsi qu'appel de Run_Timer3 pour lancer la clock du timer3

This commit is contained in:
Yohan Boujon 2023-03-29 23:24:22 +02:00
parent 3832cd5355
commit 4b84f75bb6
3 changed files with 67 additions and 1 deletions

View file

@ -315,6 +315,70 @@
<ExecCommand></ExecCommand> <ExecCommand></ExecCommand>
<Expression></Expression> <Expression></Expression>
</Bp> </Bp>
<Bp>
<Number>11</Number>
<Type>0</Type>
<LineNumber>48</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>0</BreakIfRCount>
<Filename>.\Principale.asm</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
<Bp>
<Number>12</Number>
<Type>0</Type>
<LineNumber>64</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>0</BreakIfRCount>
<Filename>.\Principale.asm</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
<Bp>
<Number>13</Number>
<Type>0</Type>
<LineNumber>68</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>0</BreakIfRCount>
<Filename>.\Principale.asm</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
<Bp>
<Number>14</Number>
<Type>0</Type>
<LineNumber>94</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>0</BreakIfRCount>
<Filename>.\Principale.asm</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
</Breakpoint> </Breakpoint>
<MemoryWindow1> <MemoryWindow1>
<Mm> <Mm>

View file

@ -11,6 +11,7 @@
;***************IMPORT/EXPORT********************************************** ;***************IMPORT/EXPORT**********************************************
IMPORT DataSend
EXPORT Set_SCLK EXPORT Set_SCLK
EXPORT Reset_SCLK EXPORT Reset_SCLK
EXPORT DriverGlobal EXPORT DriverGlobal
@ -38,7 +39,6 @@ SIN1 EQU 7
MILSEC EQU 1304 MILSEC EQU 1304
PF DCD (1<<31) PF DCD (1<<31)
DataSend DCB 1
;************************************************************************** ;**************************************************************************

View file

@ -21,6 +21,7 @@
; IMPORT/EXPORT de procédure ; IMPORT/EXPORT de procédure
IMPORT Init_Cible IMPORT Init_Cible
IMPORT Run_Timer3
IMPORT Eteint_LED IMPORT Eteint_LED
IMPORT Allume_LED IMPORT Allume_LED
@ -51,6 +52,7 @@
main PROC main PROC
;******************************************************************************* ;*******************************************************************************
BL Run_Timer3 ;Allumage du Timer 3
LDR R4, [pc,#-2124] ;*********************************************** LDR R4, [pc,#-2124] ;***********************************************
MOV R5, #1 ;RetroEngineering : 0x40021000 << 18 -> Argument ? MOV R5, #1 ;RetroEngineering : 0x40021000 << 18 -> Argument ?
STR R5,[R4,#0x18] ;*********************************************** STR R5,[R4,#0x18] ;***********************************************