diff options
-rw-r--r-- | inc/resource/resource_led.h | 6 |
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__ */ |