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
13
#include <
semf/hardwareabstraction/stm32/stm32.h
>
14
15
#if defined(STM32)
16
#include <
semf/system/criticalsection.h
>
17
#include <cstdint>
18
19
namespace
semf
20
{
24
class
Stm32CriticalSection
:
public
CriticalSection
25
{
26
public
:
28
using
CriticalSection::CriticalSection
;
30
void
halEnter
()
override
;
31
void
halExit
()
override
;
32
33
private
:
34
uint32_t m_criticalCount = 0;
35
};
36
}
/* namespace semf */
37
#endif
38
#endif
/* SEMF_HARDWAREABSTRACTION_STM32_STM32CRITICALSECTION_H_ */
semf::CriticalSection
Class for handle CriticalSections.
Definition:
criticalsection.h:19
semf::CriticalSection::CriticalSection
CriticalSection()
Definition:
criticalsection.cpp:15
semf::Stm32CriticalSection
CriticalSection implementation for STM32.
Definition:
stm32criticalsection.h:25
semf::Stm32CriticalSection::halExit
void halExit() override
Definition:
stm32criticalsection.cpp:29
semf::Stm32CriticalSection::halEnter
void halEnter() override
Definition:
stm32criticalsection.cpp:17
criticalsection.h
semf
Definition:
batterymodelwithoutdataset.h:18
stm32.h
semf
hardwareabstraction
stm32
stm32criticalsection.h
Generated by
1.9.4