37#define LED_PORT PORT->Group[PA]
39#define LED0_PIN GPIO_PIN(PA, 18)
40#define LED0_MASK (1 << 18)
41#define LED0_NAME "LED(BLUE_RX)"
43#define LED0_OFF (LED_PORT.OUTSET.reg = LED0_MASK)
44#define LED0_ON (LED_PORT.OUTCLR.reg = LED0_MASK)
45#define LED0_TOGGLE (LED_PORT.OUTTGL.reg = LED0_MASK)
47#define LED1_PIN GPIO_PIN(PA, 19)
48#define LED1_MASK (1 << 19)
49#define LED1_NAME "LED(BLUE_TX)"
51#define LED1_OFF (LED_PORT.OUTSET.reg = LED1_MASK)
52#define LED1_ON (LED_PORT.OUTCLR.reg = LED1_MASK)
53#define LED1_TOGGLE (LED_PORT.OUTTGL.reg = LED1_MASK)
55#define LED2_PIN GPIO_PIN(PA, 17)
56#define LED2_MASK (1 << 17)
57#define LED2_NAME "LED(YELLOW_USER)"
59#define LED2_OFF (LED_PORT.OUTSET.reg = LED2_MASK)
60#define LED2_ON (LED_PORT.OUTCLR.reg = LED2_MASK)
61#define LED2_TOGGLE (LED_PORT.OUTTGL.reg = LED2_MASK)
68#define INTERNAL_PERIPHERAL_VID (0x239A)
69#define INTERNAL_PERIPHERAL_PID (0x0057)
Configuration of CPU peripherals for the Serpente board.
Low-level GPIO peripheral driver interface definitions.