FabGL
ESP32 Display Controller and Graphics Library
fabgl::AutoSuspendInterrupts Struct Reference

Helper class to disable fabgl interrupts and automatically resume them on scope exit. More...

#include <fabutils.h>

Detailed Description

Helper class to disable fabgl interrupts and automatically resume them on scope exit.

Example:

void func() {
  AutoSuspendInterrupts autoInt; // now fabgl interrupts are suspended
  ...do something...
}  // on exit interrupts are resumed

The documentation for this struct was generated from the following file: