1 """Hifive Unleashed pin names"""
3 from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
27 # ordered as spiId, sckId, mosiId, misoId
28 SPI_PORTS = ((1, SPI0_SCLK, SPI0_DOUT, SPI0_DIN))
30 # ordered as uartId, txId, rxId
32 (0, UART0_TXD, UART0_RXD),
34 (1, UART1_TXD, UART1_RXD))
36 # ordered as spiId, spiSCA, spiSCL
38 (0, I2C0_SCA, I2C0_SCL))