summaryrefslogtreecommitdiffstatshomepage
path: root/py/objfloat.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-06-14 16:22:56 +1000
committerDamien George <damien@micropython.org>2020-06-30 22:33:41 +1000
commitf84145bea1bc962b5aecf24bef6ea64202d905ee (patch)
treeb78c3660aebbd195e6d77b7e64083eaed62a9e82 /py/objfloat.c
parent9d5edb35596b0ff5943bf1cb756dc3c42e8566d9 (diff)
downloadmicropython-f84145bea1bc962b5aecf24bef6ea64202d905ee.tar.gz
micropython-f84145bea1bc962b5aecf24bef6ea64202d905ee.zip
zephyr: Implement machine.Pin.irq() for setting callbacks on pin change.
Supports hard and soft interrupts. In the current implementation, soft interrupt callbacks will only be called when the VM is executing, ie they will not be called during a blocking kernel call like k_msleep. And the behaviour of hard interrupt callbacks will depend on the underlying device, as well as the amount of ISR stack space. Soft and hard interrupts tested on frdm_k64f and nucleo_f767zi boards. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objfloat.c')
0 files changed, 0 insertions, 0 deletions