|
BMP581 Driver 0.1.0
API reference
|
CRTP base of the platform SPI port. More...
#include <bmp581_spi_interface.hpp>
Public Member Functions | |
| SpiInterface (const SpiInterface &)=delete | |
| Ports are not copied: the driver holds a reference. | |
| SpiInterface & | operator= (const SpiInterface &)=delete |
| Ports are not copied: the driver holds a reference. | |
Protected Member Functions | |
| SpiInterface () noexcept=default | |
| Only the derived port is constructed. | |
| ~SpiInterface () noexcept=default | |
| Destroyed through the derived port only. | |
CRTP base of the platform SPI port.
Derive class MyPort : public bmp581::SpiInterface<MyPort> and implement the hooks in this file's description. The base declares no hook itself and no data; the driver checks your class with the SpiPort concept, so a missing or misdeclared hook is a compile error that names it.
| Derived | Your port class. |