3-phase PV router
Loading...
Searching...
No Matches
halt_after_tests.h File Reference

Stops the MCU once an embedded test suite has run. More...

#include <Arduino.h>
#include <avr/interrupt.h>
#include <avr/sleep.h>
Include dependency graph for halt_after_tests.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void haltAfterTests ()
 

Detailed Description

Stops the MCU once an embedded test suite has run.

Call it right after UNITY_END(). The suite then runs exactly once instead of being repeated by loop(), and the simavr simulator exits: it quits as soon as the CPU sleeps with interrupts disabled.

Definition in file halt_after_tests.h.

Function Documentation

◆ haltAfterTests()

void haltAfterTests ( )
inline

Definition at line 17 of file halt_after_tests.h.

Here is the caller graph for this function: