/* --- Generated the 13/5/2019 at 10:21 --- */ /* --- heptagon compiler, version 1.05.00 (compiled mon. may. 13 10:18:8 CET 2019) --- */ /* --- Command line: /local/STATOR/packages/opam-root/4.07.1/bin/heptc -target c -hepts -s main -target ctrln radiotrans.ept --- */ #include #include #include #include "_main.h" #include "../clock.h" #include "../dm_random.c" static inline int get_bool(void) { return dm_random_uint32() & 1; } Radiotrans__main_mem mem; int main(int argc, char** argv) { int step_c; int step_max; int enter_tx; int enter_rx; int exit_rx; int calibrate; int sleep; int wake_up; int irq_tx_done; int irq_on_packet; int irq_end_of_packet; int irq_end_of_calibration; int irq_fifo_threshold; int adc_on; int adc_off; Radiotrans__main_out _res; step_c = 0; step_max = 1000; if ((argc==2)) { step_max = atoi(argv[1]); }; clock_prepare(); clock_start(); Radiotrans__main_reset(&mem); while ((!(step_max)||(step_c