aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/board_pyportal.go
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2020-07-07 18:52:27 +0200
committerAyke <[email protected]>2020-07-23 22:45:23 +0200
commitd1c4ed664e540e00b3d18ff340d6798c45b382cf (patch)
tree75c135fb8a87e1846f2e8517e077ae01ec9c7b7a /src/machine/board_pyportal.go
parentfdaddf6917a37a243af085ff5de1fc4db448566a (diff)
downloadtinygo-d1c4ed664e540e00b3d18ff340d6798c45b382cf.tar.gz
tinygo-d1c4ed664e540e00b3d18ff340d6798c45b382cf.zip
all: changeover to eliminate all direct use of master/slave terminology
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'src/machine/board_pyportal.go')
-rw-r--r--src/machine/board_pyportal.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/machine/board_pyportal.go b/src/machine/board_pyportal.go
index 2eaf0b880..ff3ad1a1a 100644
--- a/src/machine/board_pyportal.go
+++ b/src/machine/board_pyportal.go
@@ -26,9 +26,9 @@ const (
D26 = PB09 // TFT_WR
D27 = PB02 // SDA
D28 = PB03 // SCL
- D29 = PA12 // MOSI
+ D29 = PA12 // SDO
D30 = PA13 // SCK
- D31 = PA14 // MISO
+ D31 = PA14 // SDI
D32 = PB30 // SD_CS
D33 = PA01 // SD_CARD_DETECT
D34 = PA16 // LCD_DATA0
@@ -114,13 +114,13 @@ const (
// SPI pins
const (
- SPI0_SCK_PIN = PA13 // SCK: SERCOM1/PAD[1]
- SPI0_MOSI_PIN = PA12 // MOSI: SERCOM1/PAD[3]
- SPI0_MISO_PIN = PA14 // MISO: SERCOM1/PAD[2]
+ SPI0_SCK_PIN = PA13 // SCK: SERCOM1/PAD[1]
+ SPI0_SDO_PIN = PA12 // SDO: SERCOM1/PAD[3]
+ SPI0_SDI_PIN = PA14 // SDI: SERCOM1/PAD[2]
- NINA_MOSI = SPI0_MOSI_PIN
- NINA_MISO = SPI0_MISO_PIN
- NINA_SCK = SPI0_SCK_PIN
+ NINA_SDO = SPI0_SDO_PIN
+ NINA_SDI = SPI0_SDI_PIN
+ NINA_SCK = SPI0_SCK_PIN
)
// USB CDC identifiers