Utilisation du DataSend global pour la transmission. Ainsi qu'appel de Run_Timer3 pour lancer la clock du timer3
This commit is contained in:
parent
3832cd5355
commit
4b84f75bb6
3 changed files with 67 additions and 1 deletions
|
@ -315,6 +315,70 @@
|
|||
<ExecCommand></ExecCommand>
|
||||
<Expression></Expression>
|
||||
</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>
|
||||
<MemoryWindow1>
|
||||
<Mm>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
;***************IMPORT/EXPORT**********************************************
|
||||
|
||||
IMPORT DataSend
|
||||
EXPORT Set_SCLK
|
||||
EXPORT Reset_SCLK
|
||||
EXPORT DriverGlobal
|
||||
|
@ -38,7 +39,6 @@ SIN1 EQU 7
|
|||
MILSEC EQU 1304
|
||||
|
||||
PF DCD (1<<31)
|
||||
DataSend DCB 1
|
||||
|
||||
;**************************************************************************
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
; IMPORT/EXPORT de procédure
|
||||
|
||||
IMPORT Init_Cible
|
||||
IMPORT Run_Timer3
|
||||
|
||||
IMPORT Eteint_LED
|
||||
IMPORT Allume_LED
|
||||
|
@ -51,6 +52,7 @@
|
|||
main PROC
|
||||
;*******************************************************************************
|
||||
|
||||
BL Run_Timer3 ;Allumage du Timer 3
|
||||
LDR R4, [pc,#-2124] ;***********************************************
|
||||
MOV R5, #1 ;RetroEngineering : 0x40021000 << 18 -> Argument ?
|
||||
STR R5,[R4,#0x18] ;***********************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue