boards changes

This commit is contained in:
NIIBE Yutaka
2012-05-25 15:36:09 +09:00
parent 6b47ee56b8
commit 2113d5b751
8 changed files with 48 additions and 55 deletions

View File

@@ -21,21 +21,3 @@ hwinit1(void)
palClearPad (IOPORT5, GPIOE_LED);
palClearPad (IOPORT3, GPIOC_SHUTDOWN);
}
void
USB_Cable_Config (FunctionalState NewState)
{
if (NewState != DISABLE)
palClearPad (IOPORT4, GPIOD_DISC);
else
palSetPad (IOPORT4, GPIOD_DISC);
}
void
set_led (int value)
{
if (value)
palClearPad (IOPORT5, GPIOE_LEDR);
else
palSetPad (IOPORT5, GPIOE_LEDR);
}