]> rtime.felk.cvut.cz Git - sysless.git/commit
LMC1 board LEDs declared by PORT_PIN macro.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 21 Dec 2010 11:00:03 +0000 (12:00 +0100)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 21 Dec 2010 11:00:03 +0000 (12:00 +0100)
commit46b8d1b93b75a89f4e1101a5723900927f8340da
tree61328524129736f4610ed7df05fdf5ad8aaf4beb
parent5c36ac25a52fa5c7aa73087b60c8f255aca6a431
LMC1 board LEDs declared by PORT_PIN macro.

This allows to use pin specification with HAL GPIO
code

  hal_pin_conf(LED1_PIN);
  hal_pin_conf(LED2_PIN);

  hal_gpio_set_value(LED1_PIN,0);
  hal_gpio_set_value(LED2_PIN,1);

This specification has been used in A4M38KRP lecture
USBLED example.
board/arm/lpc17xx-common/defines/system_def-lmc1.h