summaryrefslogtreecommitdiffstats
path: root/r503.h
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-05-06 07:55:12 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-05-06 07:55:12 +0800
commitd3949ef1b98d6ef2a135d9b31b26d86314acce60 (patch)
treebc6cefd88c7545c509c6837ca8a3e199260e217c /r503.h
parent52080fed19d6cbc2461e3c74d63f4408ea70b590 (diff)
downloadavr-fpm-drivers-d3949ef1b98d6ef2a135d9b31b26d86314acce60.tar.gz
LED ctrl functions.
Diffstat (limited to 'r503.h')
-rw-r--r--r503.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/r503.h b/r503.h
index 980fb9c..66ab5eb 100644
--- a/r503.h
+++ b/r503.h
@@ -3,6 +3,16 @@
#include <stdint.h>
+typedef enum {
+ RED = 0x01,
+ BLUE = 0x02,
+ PURPLE = 0x03
+} FPM_LED_COLOR;
+
uint8_t fpm_init(void);
+void fpm_led_on(FPM_LED_COLOR color);
+
+void fpm_led_off(void);
+
#endif /* FPM_R50_H */