Introduction to the mbed OS API
mbed OS lets you write applications that run on embedded devices, by providing the layer that interprets your application’s code in a way the hardware can understand.
Your application code is written in C++. It uses the application programing interfaces (APIs) that mbed OS provides. These APIs allow your code to work on different microcontrollers in a uniform way. This reduces a lot of the challenges in getting started with microcontrollers and integrating large amounts of software.
The APIs in this document are organized by the feature, or group of features, they enable.
- Task management: handling tasks and events in mbed OS.
- Inputs and outputs: analog, digital, bus, port, PwmOut and interrupts.
- Digital interfaces: serial, SPI, I2C and CAN.
- Communication: network sockets, Ethernet, Wi-Fi, mesh networking and BLE.
- Security: working with mbed uVisor and mbed TLS in the context of mbed OS.
We also provide guidelines for using the API documentation in the mbed Online Compiler.