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),
37 # ordered as i2cId, sclId, sdaId
38 I2C_PORTS = (0, I2C0_SDA, I2C0_SCL)