mirror of
https://github.com/licsber/micropython.git
synced 2024-09-22 10:00:24 +08:00
7ea192af05
Changes in this commit: - Add the timeout and timeout_char keyword options. - Make uart.read() non-blocking. - Add uart.any(). - Add ioctl MP_STREAM_POLL handling. - Change uart.write() into non-busy waiting. uart.write() still waits until all data has been sent, but calls MICROPY_EVENT_POLL_HOOK while waiting. uart.write() uses DMA for transfer. One option would be to add a small local buffer, such that transfers up to the size of the buffer could be done without waiting. - As a side effect to the change of uart.write(), uart.txdone() and ioctl flush now report/wait correctly for the end of transmission. - Change machine_hard_uart_buf_t in machine_hard_uart_obj_t to an instance of that struct, rather than a pointer to one. |
||
---|---|---|
.. | ||
adc.c | ||
adc.h | ||
i2c.c | ||
i2c.h | ||
modmachine.c | ||
modmachine.h | ||
pin.c | ||
pin.h | ||
pwm.c | ||
pwm.h | ||
rtcounter.c | ||
rtcounter.h | ||
soft_pwm.c | ||
spi.c | ||
spi.h | ||
temp.c | ||
temp.h | ||
timer.c | ||
timer.h | ||
uart.c | ||
uart.h |