knx
ETS configurable knx-stack
stm32_platform.h
Go to the documentation of this file.
1
#ifdef ARDUINO_ARCH_STM32
2
#include "
arduino_platform.h
"
3
4
class
Stm32Platform
:
public
ArduinoPlatform
5
{
6
public
:
7
Stm32Platform
();
8
Stm32Platform
( HardwareSerial* s);
9
~Stm32Platform
();
10
11
// unique serial number
12
uint32_t
uniqueSerialNumber
()
override
;
13
14
// basic stuff
15
void
restart
();
16
17
//memory
18
uint8_t*
getEepromBuffer
(uint32_t size);
19
void
commitToEeprom
();
20
private
:
21
uint8_t* _eepromPtr =
nullptr
;
22
uint16_t _eepromSize = 0;
23
};
24
25
#endif
arduino_platform.h
ArduinoPlatform
Definition:
arduino_platform.h:14
Stm32Platform
Definition:
stm32_platform.h:5
Stm32Platform::restart
void restart()
Definition:
stm32_platform.cpp:32
Stm32Platform::Stm32Platform
Stm32Platform()
Definition:
stm32_platform.cpp:11
Stm32Platform::~Stm32Platform
~Stm32Platform()
Definition:
stm32_platform.cpp:22
Stm32Platform::Stm32Platform
Stm32Platform(HardwareSerial *s)
Stm32Platform::uniqueSerialNumber
uint32_t uniqueSerialNumber() override
Definition:
stm32_platform.cpp:27
Stm32Platform::getEepromBuffer
uint8_t * getEepromBuffer(uint32_t size)
Definition:
stm32_platform.cpp:37
Stm32Platform::commitToEeprom
void commitToEeprom()
Definition:
stm32_platform.cpp:58
src
stm32_platform.h
Generated by
1.9.1