Tizen HAL API  1.0
The Basics of Tizen HAL API Reference

Tizen HAL Interface is carefully selected and tightly managed APIs from the Tizen HAL API subsystems.
The Tizen HAL Interface Specification available in the Tizen Homepage shows full list of the selected HAL subsystem.
The HAL Interface is divided into dozens of API modules; each module represents a logically similar set of submodule interfaces
which can be grouped into the same category.

The Tizen HAL Interface Reference provides descriptions for All interfaces and follows basic principles listed below:

tizen-hal-half.png
Figure: Tizen HAL Interface

Supported version of HAL Interface

Name Interface version Platform version Package name HAL API Git Repority HAL Backend Git Repority
Audio 1.0 10.0 hal-api-audio https://git.tizen.org/cgit/platform/hal/api/audio https://git.tizen.org/cgit/platform/adaptation/ap_broadcom/audio-hal-bcm2837
https://git.tizen.org/cgit/platform/adaptation/emulator/audio-hal-emul
Bluetooth 1.0 10.0 hal-api-bluetooth https://git.tizen.org/cgit/platform/hal/api/bluetooth https://git.tizen.org/cgit/platform/hal/backend/bluetooth-usb
https://git.tizen.org/cgit/platform/hal/backend/vim3/bluetooth-vim3
Camera 1.2 10.0 hal-api-camera https://git.tizen.org/cgit/platform/hal/api/camera https://git.tizen.org/cgit/platform/hal/backend/camera-v4l2
Codec 1.2 10.0 hal-api-codec https://git.tizen.org/cgit/platform/hal/api/codec https://git.tizen.org/cgit/platform/hal/backend/codec-v4l2
Common 1.0 10.0 hal-api-common https://git.tizen.org/cgit/platform/hal/api/common -
DRM 1.0 10.0 hal-api-drm https://git.tizen.org/cgit/platform/hal/api/drm https://git.tizen.org/cgit/platform/hal/backend/drm-generic
Device - Battery 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Bezel 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Board 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Display 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - External Connection 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Haptic 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Input 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Ir 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Led 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Memory 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Power 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Thermal 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
Device - Touchscreen 1.0 10.0 hal-api-device https://git.tizen.org/cgit/platform/hal/api/device https://git.tizen.org/cgit/platform/hal/backend/rpi/device-rpi
HDCP 1.0 10.0 hal-api-hdcp https://git.tizen.org/cgit/platform/hal/api/hdcp https://git.tizen.org/cgit/platform/hal/backend/hdcp-generic
Location 1.0 10.0 hal-api-location https://git.tizen.org/cgit/platform/hal/api/location https://git.tizen.org/cgit/platform/core/location/lbs-server-plugin-replay
Nfc 1.0 10.0 hal-api-nfc https://git.tizen.org/cgit/platform/hal/api/nfc -
Power 1.0 10.0 hal-api-power https://git.tizen.org/cgit/platform/hal/api/power https://git.tizen.org/cgit/platform/adaptation/rpi/pass-hal-rpi
Radio 1.0 10.0 hal-api-radio https://git.tizen.org/cgit/platform/hal/api/radio -
Security - Auth 1.0 10.0 hal-api-security https://git.tizen.org/cgit/platform/hal/api/security https://git.tizen.org/cgit/platform/hal/backend/emulator/security-certs
Security - Certs 1.0 10.0 hal-api-security https://git.tizen.org/cgit/platform/hal/api/security https://git.tizen.org/cgit/platform/hal/backend/emulator/security-auth
Security - Keys 1.0 10.0 hal-api-security https://git.tizen.org/cgit/platform/hal/api/security https://git.tizen.org/cgit/platform/hal/backend/emulator/security-keys
Sensor 1.0 10.0 hal-api-sensor https://git.tizen.org/cgit/platform/hal/api/sensor https://git.tizen.org/cgit/platform/hal/backend/rpi/sensor-rpi
TBM 1.1 10.0 hal-api-tbm https://git.tizen.org/cgit/platform/hal/api/tbm https://git.tizen.org/cgit/platform/adaptation/broadcom/libtbm-vc4
https://git.tizen.org/cgit/platform/adaptation/amlogic/libtbm-meson
https://git.tizen.org/cgit/platform/adaptation/libtbm-dumb
https://git.tizen.org/cgit/platform/adaptation/libtbm-shm
TDM 1.0 10.0 hal-api-tdm https://git.tizen.org/cgit/platform/hal/api/tdm https://git.tizen.org/cgit/platform/adaptation/broadcom/libtdm-vc4
https://git.tizen.org/cgit/platform/adaptation/libtdm-drm
Wi-Fi 1.0 10.0 hal-api-wifi https://git.tizen.org/cgit/platform/hal/api/wifi -

Required Header

To be able to use an HAL Interface, you need to include a header in which HAL Interface is defined.
You can find required headers in HAL API reference as illustrated below:

1-required-header.JPG
Figure:Required Header


HAL Interface description

In the function documentation for each module, the HAL interfaces are described using a unified structure, illustrated in the below example.

2-hal-interface-description.JPG
Figure:HAL Interface description