Files
Damien George 03b4c60fc1 nrf/modules/machine/spi: Print SPI baudrate, polarity and phase.
On most ports, printing an instance of machine.SPI gives something like:

    >>> machine.SPI(1)
    SPI(1, baudrate=328125, polarity=0, phase=0, bits=8)

This commit makes the nrf port do the same.

The reason for this change is:
- make nrf consistent with other ports
- allow the `tests/extmod/machine_spi_rate.py` to run on the nrf port (this
  tests parses the output of str(spi) to get the actual baudrate)

Signed-off-by: Damien George <damien@micropython.org>
2025-09-26 13:44:43 +10:00
..