litex/software/include/hw/gpio.h

19 lines
387 B
C

#ifndef __HW_GPIO_H
#define __HW_GPIO_H
/* Inputs */
#define GPIO_BTN1 (0x00000001)
#define GPIO_BTN2 (0x00000002)
#define GPIO_BTN3 (0x00000004)
#define GPIO_PCBREV0 (0x00000008)
#define GPIO_PCBREV1 (0x00000010)
#define GPIO_PCBREV2 (0x00000020)
#define GPIO_PCBREV3 (0x00000040)
/* Outputs */
#define GPIO_LED1 (0x00000001)
#define GPIO_LED2 (0x00000002)
#endif /* __HW_GPIO_H */