-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: stubs and docstrings for python binding
- Loading branch information
1 parent
0574204
commit 70237af
Showing
8 changed files
with
1,246 additions
and
472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from __future__ import annotations | ||
import bitstruct as bitstruct | ||
__all__ = ['UioReg', 'UioRegTest', 'bitstruct'] | ||
class UioReg: | ||
def __getattr__(self, name): | ||
... | ||
def __init__(self, intf, offs, fields = None): | ||
... | ||
def __setattr__(self, name, value): | ||
... | ||
def rd(self): | ||
... | ||
def wr(self, val = None): | ||
... | ||
class UioRegTest: | ||
def __init__(self): | ||
... | ||
def _rd32(self, offs): | ||
... | ||
def _wr32(self, offs, val): | ||
... | ||
def test(self): | ||
... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.