Adds the description for APIs : resource_write_led 78/220178/1 master
authorEunyoung Lee <ey928.lee@samsung.com>
Sat, 14 Dec 2019 02:35:04 +0000 (11:35 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Sat, 14 Dec 2019 02:35:04 +0000 (11:35 +0900)
Change-Id: I686536ac40afc4ad29fb76cfb9dfb5bf1053162f

inc/resource/resource_led.h

index 1a0c227..078a85d 100644 (file)
 #ifndef __RCC_RESOURCE_LED_H__
 #define __RCC_RESOURCE_LED_H__
 
+/**
+ * @brief Writes the value of gpio connected to the led.
+ * @param[in] pin_num The number of the gpio pin connected to the led
+ * @param[in] write_value The value for led (zero or non-zero)
+ * @return 0 on success, otherwise a negative error value
+ */
 extern int resource_write_led(int pin_num, int write_value);
 
 #endif /* __RCC_RESOURCE_LED_H__ */