mbed-os/drivers
Kevin Bracey 0bb4c050b7 SingletonPtr: API extensions, make constexpr
* Adjust definition to make the default constructor `constexpr`.
  This permits use in classes that want lazy initialization and their
  own `constexpr` constructor, such as `mstd::mutex`.

* Add `get_no_init()` method to allow an explicit optimisation for
  paths that know they won be the first call (such as
  `mstd::mutex::unlock`).

* Add `destroy()` method to permit destruction of the contained object.
  (`SingletonPtr`'s destructor does not call its destructor - a cheat
  to omit destructors of static objects). Needed if using in a class
  that needs proper destruction.
2019-07-18 20:02:04 +03:00
..
AnalogIn.cpp
AnalogIn.h
AnalogOut.h
BusIn.cpp
BusIn.h
BusInOut.cpp
BusInOut.h
BusOut.cpp
BusOut.h
CAN.cpp
CAN.h
DigitalIn.h
DigitalInOut.h
DigitalOut.h
Ethernet.cpp
Ethernet.h
FlashIAP.cpp
FlashIAP.h
I2C.cpp
I2C.h
I2CSlave.cpp
I2CSlave.h
InterruptIn.cpp
InterruptIn.h
InterruptManager.cpp
InterruptManager.h
LICENSE-mit.txt
LICENSE.md
LowPowerTicker.h
LowPowerTimeout.h
LowPowerTimer.h
MbedCRC.cpp
MbedCRC.h
PortIn.h
PortInOut.h
PortOut.h
PwmOut.h
QSPI.cpp
QSPI.h
RawSerial.cpp
RawSerial.h
ResetReason.cpp
ResetReason.h
SPI.cpp
SPI.h
SPISlave.cpp
SPISlave.h
Serial.cpp
Serial.h
SerialBase.cpp
SerialBase.h
SerialWireOutput.h
TableCRC.cpp
TableCRC.h
Ticker.cpp
Ticker.h
Timeout.cpp
Timeout.h
Timer.cpp
Timer.h
TimerEvent.cpp
TimerEvent.h
UARTSerial.cpp
UARTSerial.h
Watchdog.cpp
Watchdog.h
mbed_lib.json