|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
27#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_DIGILENT_PMOD_H_
28#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_DIGILENT_PMOD_H_
43#define PMOD_IO(n) ((n) - 1)
51#define PMOD_SPI_CS PMOD_IO(1)
57#define PMOD_SPI_MOSI PMOD_IO(2)
63#define PMOD_SPI_MISO PMOD_IO(3)
69#define PMOD_SPI_SCK PMOD_IO(4)
77#define PMOD_EXP_SPI_CS PMOD_IO(1)
83#define PMOD_EXP_SPI_MOSI PMOD_IO(2)
89#define PMOD_EXP_SPI_MISO PMOD_IO(3)
95#define PMOD_EXP_SPI_SCK PMOD_IO(4)
101#define PMOD_EXP_SPI_INT PMOD_IO(5)
107#define PMOD_EXP_SPI_RESET PMOD_IO(6)
113#define PMOD_EXP_SPI_CS2 PMOD_IO(7)
119#define PMOD_EXP_SPI_CS3 PMOD_IO(8)
127#define PMOD_EXP_UART_INT PMOD_IO(5)
133#define PMOD_EXP_UART_RESET PMOD_IO(6)
141#define PMOD_HBRIDGE_DIR PMOD_IO(1)
147#define PMOD_HBRIDGE_EN PMOD_IO(2)
155#define PMOD_DUAL_HBRIDGE_DIR1 PMOD_IO(1)
161#define PMOD_DUAL_HBRIDGE_EN1 PMOD_IO(2)
167#define PMOD_DUAL_HBRIDGE_DIR2 PMOD_IO(3)
173#define PMOD_DUAL_HBRIDGE_EN2 PMOD_IO(4)
181#define PMOD_EXP_DUAL_HBRIDGE_DIR1 PMOD_IO(1)
187#define PMOD_EXP_DUAL_HBRIDGE_EN1 PMOD_IO(2)
193#define PMOD_EXP_DUAL_HBRIDGE_DIR2 PMOD_IO(5)
199#define PMOD_EXP_DUAL_HBRIDGE_EN2 PMOD_IO(6)
207#define PMOD_I2C_INT PMOD_IO(1)
213#define PMOD_I2C_RESET PMOD_IO(2)
219#define PMOD_I2C_SCL PMOD_IO(3)
225#define PMOD_I2C_SDA PMOD_IO(4)