|
Tizen Native API
10.0
|
Peripheral IO
The Peripheral IO API provides functions to make use of peripherals connected to the IoT device.
The Peripheral IO API provides access to the low level device providers, including GPIO, I2C, PWM, ADC, UART and SPI.
Required Header
#include <peripheral_io.h>
Overview
This Peripheral IO API can be used to get access to peripherals connected to the IoT device. It provides access to the following protocols:
- GPIO
- I2C
- PWM
- ADC
- UART
- SPI All of these APIs are provided by the single peripheral_io.h header. The entirety of the API is thread-unsafe.
Enumeration Type Documentation
| enum peripheral_error_e |
Enumeration for error codes returned by the peripheral-io API.
Most peripheral-io API functions can return one of these codes to specify an error.
- Since :
- 4.0
- Enumerator: