summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_private.h
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-08-29 17:40:44 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-08-29 17:40:44 -0400
commit6353d25d46979efed36c50ec186c8006f266d78a (patch)
tree37725afdd72ffb87f6e2965aaff122457b1f0738 /watch-library/watch/watch_private.h
parent7dc4b0fdc60b6240515d6c4143a5310b343dc8a5 (diff)
downloadSensor-Watch-6353d25d46979efed36c50ec186c8006f266d78a.tar.gz
Sensor-Watch-6353d25d46979efed36c50ec186c8006f266d78a.tar.bz2
Sensor-Watch-6353d25d46979efed36c50ec186c8006f266d78a.zip
big PWM refactor: drive both LEDs and buzzer from TCC
Diffstat (limited to 'watch-library/watch/watch_private.h')
-rw-r--r--watch-library/watch/watch_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/watch-library/watch/watch_private.h b/watch-library/watch/watch_private.h
index 51c78ae1..abee085a 100644
--- a/watch-library/watch/watch_private.h
+++ b/watch-library/watch/watch_private.h
@@ -25,5 +25,11 @@
/// Called by main.c while setting up the app. You should not call this from your app.
void _watch_init();
+/// Called by buzzer and LED setup functions. You should not call this from your app.
+void _watch_enable_tcc();
+
+/// Called by buzzer and LED teardown functions. You should not call this from your app.
+void _watch_disable_tcc();
+
/// Called by main.c if plugged in to USB. You should not call this from your app.
void _watch_enable_usb();