Tizen(Headless) Native API  6.5
Peripheral IO

The Peripheral IO API provides functions to make use of peripherals connected to the IoT device.

Required Header

#include <peripheral_io.h>

Overview

This Peripheral IO API provides access to the low level device providers, including GPIO, I2C, PWM, ADC, UART and SPI.


Enumeration Type Documentation

Enumeration for peripheral-io error.

Since :
4.0
Enumerator:
PERIPHERAL_ERROR_NONE 

Successful

PERIPHERAL_ERROR_IO_ERROR 

I/O error

PERIPHERAL_ERROR_NO_DEVICE 

No such device

PERIPHERAL_ERROR_TRY_AGAIN 

Try again

PERIPHERAL_ERROR_OUT_OF_MEMORY 

Out of memory

PERIPHERAL_ERROR_PERMISSION_DENIED 

Permission denied

PERIPHERAL_ERROR_RESOURCE_BUSY 

Device or resource busy

PERIPHERAL_ERROR_INVALID_PARAMETER 

Invalid parameter

PERIPHERAL_ERROR_NOT_SUPPORTED 

Not supported

PERIPHERAL_ERROR_UNKNOWN 

Unknown error