Implemented gpio_clear() for LPC17xx.

This commit is contained in:
Taylor Vesely
2012-03-27 16:42:36 -06:00
parent f7bf15343d
commit 66c5f91a87
3 changed files with 10 additions and 4 deletions

View File

@@ -23,3 +23,8 @@ void gpio_set(u32 gpioport, u32 gpios)
{
GPIO_SET(gpioport) = gpios;
}
void gpio_clear(u32 gpioport, u32 gpios)
{
GPIO_CLR(gpioport) = gpios;
}