semf
stm32criticalsection.h
Go to the documentation of this file.
1
10#ifndef SEMF_HARDWAREABSTRACTION_STM32_STM32CRITICALSECTION_H_
11#define SEMF_HARDWAREABSTRACTION_STM32_STM32CRITICALSECTION_H_
12
14
15#if defined(STM32)
17#include <cstdint>
18
19namespace semf
20{
25{
26public:
30 void halEnter() override;
31 void halExit() override;
32
33private:
34 uint32_t m_criticalCount = 0;
35};
36} /* namespace semf */
37#endif
38#endif /* SEMF_HARDWAREABSTRACTION_STM32_STM32CRITICALSECTION_H_ */
Class for handle CriticalSections.
CriticalSection implementation for STM32.