Coding style fixes.
[bertos.git] / bertos / cpu / cortex-m3 / drv / gpio_lm3s.c
index 770e55b4fd376283d228fae3dcdf68d4303fed8e..2f887b59243f16f9b8a21bc8a81f065677085cb9 100644 (file)
 
 #include <cfg/compiler.h>
 #include <cfg/debug.h>
-#include "io/lm3s.h"
+#include <io/lm3s.h>
 #include "gpio_lm3s.h"
 
-/* Write a value to the specified pin(s) */
-void lm3s_gpio_pin_write(uint32_t port, uint8_t pins, uint8_t val)
-{
-       HWREG(port + (GPIO_O_DATA + (pins << 2))) = val;
-}
-
 /**
  * Configure a GPIO pin
  *
- * @port: the base address of the GPIO port
- * @pins: the bit-packed representation of the pin(s)
- * @mode: the pin(s) configuration mode
- * @strength: the output drive strength
- * @type: the pin(s) type
+ * \param port Base address of the GPIO port
+ * \param pins Bit-packed representation of the pin(s)
+ * \param mode Pin(s) configuration mode
+ * \param strength Output drive strength
+ * \param type Pin(s) type
  *
  * Return 0 on success, otherwise a negative value.
  */