Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite - base
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Production Test Suite - base
Commits
c2e55263
Commit
c2e55263
authored
Dec 06, 2013
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
many: Change interrupt scheme, now uses two stages (eic + vic).
parent
e1613c48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
gn4124.py
common/gn4124.py
+3
-1
No files found.
common/gn4124.py
View file @
c2e55263
...
...
@@ -124,8 +124,10 @@ class CGN4124:
# Wait for interrupt
def
wait_irq
(
self
,
verbose
=
False
):
if
verbose
:
print
(
"[GN4124] Waiting
IRQ
..."
)
print
(
"[GN4124] Waiting
interrupt
..."
)
ret
=
self
.
bus
.
irqwait
()
if
verbose
:
print
(
"[GN4124] Interrupt occured"
)
# re-enable the interrupt
self
.
bus
.
irqena
()
return
ret
...
...
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