diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-11-25 18:54:14 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-26 22:19:42 +0000 |
commit | 30484338092bfaad9f4ecff13b4219d94157fa06 (patch) | |
tree | ad6c247c8db54b25e924c8c89961c527c848a8e0 /py/modstruct.c | |
parent | 61e85a8ce00a81421e6eb948e98f55ad39b3c1ec (diff) | |
download | micropython-30484338092bfaad9f4ecff13b4219d94157fa06.tar.gz micropython-30484338092bfaad9f4ecff13b4219d94157fa06.zip |
stmhal: Make stm.mem* support large integers.
With these you can now do things like:
stm.mem32[0x20000000] = 0x80000000
and read 32-bit values. You can also read all the way to the end
of memory using either stm.mem32[0xfffffffc] or stm.mem32[-4].
IRQs shouldn't use mem32 at all since they'd fail if the top 2 bits
weren't equal, so IRQs should be using 16-bit I/O.
Diffstat (limited to 'py/modstruct.c')
0 files changed, 0 insertions, 0 deletions