Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
c6586f9e
Commit
c6586f9e
authored
Mar 30, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added function declaration
parent
636a8f86
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
x393.h
py393/generated/x393.h
+3
-0
x393_export_c.py
py393/x393_export_c.py
+3
-0
No files found.
py393/generated/x393.h
View file @
c6586f9e
...
@@ -8,6 +8,9 @@
...
@@ -8,6 +8,9 @@
#include "elphel/x393_types.h"
#include "elphel/x393_types.h"
//#include "elphel/x393_defs.h // alternative variant"
//#include "elphel/x393_defs.h // alternative variant"
// init_mmio_ptr() should be called once before using any of the other declared functions
int
init_mmio_ptr
(
void
);
// R/W addresses to set up memory arbiter priorities. For sensors (chn = 8..11), for compressors - 12..15
// R/W addresses to set up memory arbiter priorities. For sensors (chn = 8..11), for compressors - 12..15
...
...
py393/x393_export_c.py
View file @
c6586f9e
...
@@ -127,6 +127,9 @@ class X393ExportC(object):
...
@@ -127,6 +127,9 @@ class X393ExportC(object):
# Includes section
# Includes section
txt
=
'
\n
#include "elphel/x393_types.h"
\n
'
txt
=
'
\n
#include "elphel/x393_types.h"
\n
'
txt
+=
'//#include "elphel/x393_defs.h // alternative variant"
\n\n
'
txt
+=
'//#include "elphel/x393_defs.h // alternative variant"
\n\n
'
txt
+=
'// init_mmio_ptr() should be called once before using any of the other declared functions
\n\n
'
txt
+=
'int init_mmio_ptr(void);
\n
'
for
d
in
ld
:
for
d
in
ld
:
fd
=
self
.
expand_define_maxi0
(
d
,
mode
=
"func_decl"
,
frmt_spcs
=
None
)
fd
=
self
.
expand_define_maxi0
(
d
,
mode
=
"func_decl"
,
frmt_spcs
=
None
)
if
fd
:
if
fd
:
...
...
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