2019-12-14 10:56:22 +00:00
|
|
|
// Copyright 2018 The Periph Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed under the Apache License, Version 2.0
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package spi
|
|
|
|
|
2021-09-01 19:41:28 +00:00
|
|
|
import "periph.io/x/conn/v3/pin"
|
2019-12-14 10:56:22 +00:00
|
|
|
|
|
|
|
// Well known pin functionality.
|
|
|
|
const (
|
|
|
|
CLK pin.Func = "SPI_CLK" // Clock
|
|
|
|
CS pin.Func = "SPI_CS" // Chip select
|
|
|
|
MISO pin.Func = "SPI_MISO" // Master in
|
|
|
|
MOSI pin.Func = "SPI_MOSI" // Master out
|
|
|
|
)
|