* buzzer sequences: first draft, does not work on hardware yet (but in simulator) * buzzer sequences: add changes to movement.c * buzzer sequences: add demo face to Makefile * buzzer sequences: fix problem of interrupted sounds. Add logic for repeating sub sequences. Tidy up (move logic to watch_buzzer files, remove buzzer_demo_face) * buzzer sequences: tidy up even more * buzzer sequences: disable registering a 32 Hz tick callback for watch faces, so it will be used exclusively by the buzzer sequences functionality * buzzer sequences: add callback slot functionality to watch_rtc and make watch_buzzer use it. Switch internal buzzer sequences tick frequency to 64 Hz. Revert changes to movement.c * buzzer sequences: fix parameter sanity check in watch_rtc code * stock stopwatch: first fully functional implementation * stock stopwatch: fix typo in comment * stock stopwatch: handle resuming from deep sleep mode properly * buzzer sequences/watch_rtc: optimize calling tick callbacks in RTC_Handler * buzzer sequences/watch_rtc: fix error in calling callback functions * stock stopwatch: implement workaround for sleep mode * stock stopwatch: merge current main into stock-stopwatch * stock stopwatch: use TC counters as source for callbacks * stock-stopwatch: revert unnecessary changes to watch_buzzer Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
68 lines
2.3 KiB
C
68 lines
2.3 KiB
C
/*
|
|
* MIT License
|
|
*
|
|
* Copyright (c) 2022 Joey Castillo
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in all
|
|
* copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
* SOFTWARE.
|
|
*/
|
|
|
|
#ifndef MOVEMENT_FACES_H_
|
|
#define MOVEMENT_FACES_H_
|
|
|
|
#include "simple_clock_face.h"
|
|
#include "world_clock_face.h"
|
|
#include "preferences_face.h"
|
|
#include "set_time_face.h"
|
|
#include "pulsometer_face.h"
|
|
#include "thermistor_readout_face.h"
|
|
#include "thermistor_logging_face.h"
|
|
#include "thermistor_testing_face.h"
|
|
#include "character_set_face.h"
|
|
#include "beats_face.h"
|
|
#include "day_one_face.h"
|
|
#include "voltage_face.h"
|
|
#include "stopwatch_face.h"
|
|
#include "totp_face.h"
|
|
#include "totp_face_lfs.h"
|
|
#include "lis2dw_logging_face.h"
|
|
#include "demo_face.h"
|
|
#include "hello_there_face.h"
|
|
#include "sunrise_sunset_face.h"
|
|
#include "countdown_face.h"
|
|
#include "sailing_face.h"
|
|
#include "counter_face.h"
|
|
#include "blinky_face.h"
|
|
#include "moon_phase_face.h"
|
|
#include "accelerometer_data_acquisition_face.h"
|
|
#include "mars_time_face.h"
|
|
#include "orrery_face.h"
|
|
#include "astronomy_face.h"
|
|
#include "tomato_face.h"
|
|
#include "probability_face.h"
|
|
#include "wake_face.h"
|
|
#include "frequency_correction_face.h"
|
|
#include "alarm_face.h"
|
|
#include "ratemeter_face.h"
|
|
#include "rpn_calculator_alt_face.h"
|
|
#include "weeknumber_clock_face.h"
|
|
#include "stock_stopwatch_face.h"
|
|
// New includes go above this line.
|
|
|
|
#endif // MOVEMENT_FACES_H_
|