Module alarm_test

Source
Expand description

Test the behavior of a single alarm. To add this test, include the line

   alarm_test::run_alarm(alarm);

to the imix boot sequence, where alarm is a kernel::hil::Alarm. The test sets up a series of alarms of different durations and prints out when they fire. They are large enough (and spaced out enough that you should be able to tell if things are working reasonably well. The module also uses debug_gpio on pin XX so you can more precisely check the timings with a logic analyzer.

Functions§

run_alarm
static_init_alarm_test 🔒