ek-lm4f120xl/include/board.h

Board specific definitions for the Stellaris Launchpad LM4F120 board.

LED0_PIN
1
GPIO_PIN(5, 7)
LED1_PIN
1
GPIO_PIN(5, 2)
LED2_PIN
1
GPIO_PIN(5, 1)
LED_PORT
1
(GPIO_PORTF_DATA_R)
LED0_MASK
1
(1 << 7)
LED1_MASK
1
(1 << 2)
LED2_MASK
1
(1 << 1)
LED0_ON
1
(LED_PORT |=  LED0_MASK)
LED0_OFF
1
(LED_PORT &= ~LED0_MASK)
LED0_TOGGLE
1
(LED_PORT ^=  LED0_MASK)
LED1_ON
1
(LED_PORT |=  LED1_MASK)
LED1_OFF
1
(LED_PORT &= ~LED1_MASK)
LED1_TOGGLE
1
(LED_PORT ^=  LED1_MASK)
LED2_ON
1
(LED_PORT |=  LED2_MASK)
LED2_OFF
1
(LED_PORT &= ~LED2_MASK)
LED2_TOGGLE
1
(LED_PORT ^=  LED2_MASK)
void board_init(void)

Initialize board specific hardware, including clock, LEDs and std-IO.