summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEunyoung Lee <ey928.lee@samsung.com>2019-12-14 11:35:04 +0900
committerEunyoung Lee <ey928.lee@samsung.com>2019-12-14 11:35:04 +0900
commitdedc8a4ea80902bc7d5756fd3fa8e7b75d0c2972 (patch)
tree274feeba96390ac3e25a1d12d289583db68a2948
parentb5870718ddedba39e1d45c521c39c7e837ef0fd8 (diff)
downloadrcc-dedc8a4ea80902bc7d5756fd3fa8e7b75d0c2972.tar.gz
rcc-dedc8a4ea80902bc7d5756fd3fa8e7b75d0c2972.tar.bz2
rcc-dedc8a4ea80902bc7d5756fd3fa8e7b75d0c2972.zip
Adds the description for APIs : resource_write_ledHEADmaster
Change-Id: I686536ac40afc4ad29fb76cfb9dfb5bf1053162f
-rw-r--r--inc/resource/resource_led.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/resource/resource_led.h b/inc/resource/resource_led.h
index 1a0c227..078a85d 100644
--- a/inc/resource/resource_led.h
+++ b/inc/resource/resource_led.h
@@ -22,6 +22,12 @@
#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__ */