diff options
author | robert-hh <robert@hammelrath.com> | 2025-02-07 21:43:36 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-03-03 10:59:15 +1100 |
commit | 62ed69b016d98167db01c5283758bfde95c6aec9 (patch) | |
tree | ff5b3bfb3bb87fccdbdeec64d19a0ee30e918b24 /py/modmicropython.c | |
parent | 213f1c1ee07016c1a4d21cc3b1ea4ea85ba33c98 (diff) | |
download | micropython-62ed69b016d98167db01c5283758bfde95c6aec9.tar.gz micropython-62ed69b016d98167db01c5283758bfde95c6aec9.zip |
samd/machine_spi: Support default instance and SCK/MOSI/MISO pin values.
If a board configures a default SPI instance and/or SCK/MOSI/MISO pins,
then the user can create a default SPI object using `machine.SPI()`.
Also, if MISO is not going to be used, then MISO can be set to `None` with
`miso=None`.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'py/modmicropython.c')
0 files changed, 0 insertions, 0 deletions