summaryrefslogtreecommitdiff
path: root/tests/inlineasm/asmbitops.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-08-10 22:35:31 +1000
committerDamien George <damien@micropython.org>2025-09-26 13:44:43 +1000
commit03b4c60fc1cf85e10b88dad3d7b04046b6393a15 (patch)
tree9341e5fc3591a818db6a76cd3c7c4bc47f3fea3d /tests/inlineasm/asmbitops.py
parent72867bce1d2cf39abe164bebf4d239c6974c9122 (diff)
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>
Diffstat (limited to 'tests/inlineasm/asmbitops.py')
0 files changed, 0 insertions, 0 deletions