Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Jeffrey Lee
HAL_OMAP3
Commits
cbbce198
Commit
cbbce198
authored
10 years ago
by
Robert Sprowson
Browse files
Options
Download
Email Patches
Plain Diff
Changed to use simpler HAL_IICDevice
Version 0.96. Tagged as 'OMAP3-0_96'
parent
3eb78ffd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
34 deletions
+16
-34
VersionNum
VersionNum
+10
-10
s/I2C
s/I2C
+6
-24
No files found.
VersionNum
View file @
cbbce198
/* (0.9
5
)
/* (0.9
6
)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.9
5
#define Module_MajorVersion_CMHG 0.9
6
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG
08 Ma
r 2014
#define Module_Date_CMHG
14 Ap
r 2014
#define Module_MajorVersion "0.9
5
"
#define Module_Version 9
5
#define Module_MajorVersion "0.9
6
"
#define Module_Version 9
6
#define Module_MinorVersion ""
#define Module_Date "
08 Ma
r 2014"
#define Module_Date "
14 Ap
r 2014"
#define Module_ApplicationDate "
08-Ma
r-14"
#define Module_ApplicationDate "
14-Ap
r-14"
#define Module_ComponentName "OMAP3"
#define Module_ComponentPath "castle/RiscOS/Sources/HAL/OMAP3"
#define Module_FullVersion "0.9
5
"
#define Module_HelpVersion "0.9
5
(
08 Ma
r 2014)"
#define Module_LibraryVersionInfo "0:9
5
"
#define Module_FullVersion "0.9
6
"
#define Module_HelpVersion "0.9
6
(
14 Ap
r 2014)"
#define Module_LibraryVersionInfo "0:9
6
"
This diff is collapsed.
Click to expand it.
s/I2C
View file @
cbbce198
...
...
@@ -176,34 +176,16 @@ HAL_IICType
; HAL_IICDevice
; in:
; r0 = irq_descriptor ptr
; r1 = bus number
; r0 = bus number
; out:
; r0 filled in
; typedef struct irq_descriptor
; {
; int device;
; union {
; struct {
; unsigned char *addr;
; int maskandpolarity;
; } bit;
; struct {
; int (*forme)(void *handle);
; void *handle;
; } func;
; } sub;
; } irq_descriptor;
;
; r0 = device number
HAL_IICDevice
LDRB
a3
,
[
sb
,
#
BoardConfig_NumI2C
]
CMP
a
2
,
a3
MOVHS
a
2
,
#-
1
CMP
a
1
,
a3
MOVHS
a
1
,
#-
1
ADDLO
a3
,
sb
,
#
BoardConfig_HALI2CIRQ
LDRLOB
a2
,
[
a3
,
a2
]
MOV
a3
,
#
0
MOV
a4
,
#
0
STMIA
a1
,
{
a2
-
a4
}
LDRLOB
a1
,
[
a3
,
a1
]
MOV
pc
,
lr
; HAL_IICTransfer
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment