diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-11-24 10:22:30 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-25 08:03:44 +0000 |
commit | c8437f97ae1b9849bbb8e3abbf82a832cc901622 (patch) | |
tree | c8c89037ff837be798bbcbaba37da815dd0fba17 /py/mpstate.c | |
parent | 90202b4c0de9f38c69b0cedc659d62432e2168e8 (diff) | |
download | micropython-c8437f97ae1b9849bbb8e3abbf82a832cc901622.tar.gz micropython-c8437f97ae1b9849bbb8e3abbf82a832cc901622.zip |
stmhal: Increase the priority of UART IRQ.
The UARTs have no FIFOs, so if interrupts are disabled
for more than a character time (10 usec at 1 Mbit/sec)
then characters get dropped.
The overhead for handling a UART ISR is about 0.5 usec,
so even at baud rates of 1 Mbit/sec this only corresponds
to about 5% of the CPU. Lower baud rates will have less
of an impact.
Diffstat (limited to 'py/mpstate.c')
0 files changed, 0 insertions, 0 deletions