circuitpython/ports/nrf/modules
robert-hh 7ea192af05 nrf/modules/machine/uart: Add timeout keyword options and "any" method.
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.
2023-03-20 16:08:35 +11:00
..
ble all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
board py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
machine nrf/modules/machine/uart: Add timeout keyword options and "any" method. 2023-03-20 16:08:35 +11:00
music nrf: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
nrf py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
scripts nrf/modules/scripts: Add file system formatting script. 2021-08-08 23:17:55 +10:00
ubluepy py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
uos ports: Rename remaining "Micro Python" to "MicroPython". 2023-03-10 10:54:00 +11:00
utime all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
manifest.py all: Update all manifest.py files to use new features. 2022-09-05 18:43:18 +10:00