summaryrefslogtreecommitdiff
path: root/ucoo/hal/frame_buffer/dsi.stm32f4.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/hal/frame_buffer/dsi.stm32f4.hh')
-rw-r--r--ucoo/hal/frame_buffer/dsi.stm32f4.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ucoo/hal/frame_buffer/dsi.stm32f4.hh b/ucoo/hal/frame_buffer/dsi.stm32f4.hh
index bb92d6d..5f785aa 100644
--- a/ucoo/hal/frame_buffer/dsi.stm32f4.hh
+++ b/ucoo/hal/frame_buffer/dsi.stm32f4.hh
@@ -24,6 +24,7 @@
//
// }}}
#include "ucoo/hal/frame_buffer/ltdc.stm32f4.hh"
+#include "ucoo/arch/interrupt.arm.hh"
#include "ucoo/utils/function.hh"
#include <initializer_list>
@@ -49,6 +50,10 @@ class Dsi : public Ltdc
private:
/// Number of data lanes.
int lanes_;
+ /// Refresh is being done.
+ static bool refreshing_;
+ private:
+ friend void interrupt<Irq::DSI> ();
};
} // namespace ucoo