diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-01-15 15:20:43 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-01-27 14:27:10 +0000 |
| commit | 8f54c08691faa3dd859852d211230fd7d9791abd (patch) | |
| tree | 5cc82db6ea4d9d6538c6a876a09592a85fca4242 /docs/library/pyb.LED.rst | |
| parent | 3d42aa07dd6e94942b3721ee42ba5454cd0edf55 (diff) | |
py/inlineasm: Add ability to specify return type of asm_thumb funcs.
Supported return types are: object, bool, int, uint.
For example:
@micropython.asm_thumb
def foo(r0, r1) -> uint:
add(r0, r0, r1)
Diffstat (limited to 'docs/library/pyb.LED.rst')
0 files changed, 0 insertions, 0 deletions
