TVSetting HAL 0.2.0
 
Loading...
Searching...
No Matches
tvError.h
Go to the documentation of this file.
1/*
2* If not stated otherwise in this file or this component's LICENSE file the
3* following copyright and licenses apply:
4*
5* Copyright 2016 RDK Management
6*
7* Licensed under the Apache License, Version 2.0 (the "License");
8* you may not use this file except in compliance with the License.
9* You may obtain a copy of the License at
10*
11* http://www.apache.org/licenses/LICENSE-2.0
12*
13* Unless required by applicable law or agreed to in writing, software
14* distributed under the License is distributed on an "AS IS" BASIS,
15* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16* See the License for the specific language governing permissions and
17* limitations under the License.
18*/
19
20/**
21 * @addtogroup HPK Hardware Porting Kit
22 * @{
23 * @par The Hardware Porting Kit
24 * HPK is the next evolution of the well-defined Hardware Abstraction Layer
25 * (HAL), but augmented with more comprehensive documentation and test suites
26 * that OEM or SOC vendors can use to self-certify their ports before taking
27 * them to RDKM for validation or to an operator for final integration and
28 * deployment. The Hardware Porting Kit effectively enables an OEM and/or SOC
29 * vendor to self-certify their own Video Accelerator devices, with minimal RDKM
30 * assistance.
31 *
32 */
33
34/**
35 * @addtogroup TV_Settings TV Settings Module
36 * @{
37 */
38
39
40/**
41* @addtogroup TV_Settings_HAL TV Settings HAL
42* @{
43*/
44
45/**
46* @defgroup TV_Error_H TV Error Header
47* @{
48*/
49#ifndef _TV_ERROR_H
50#define _TV_ERROR_H
51#ifdef __cplusplus
52extern "C"
53{
54#endif
55
56/* Error codes returned by tvSetting HAL */
57typedef enum {
58 tvERROR_NONE = 0, //!< No error
59 tvERROR_GENERAL, //!< Other errors from drivers
60 tvERROR_OPERATION_NOT_SUPPORTED, //!< Operation not supported
61 tvERROR_INVALID_PARAM, //!< Invalid Parameter error
62 tvERROR_INVALID_STATE //!< Invalid State error
64#ifdef __cplusplus
65}
66#endif
67#endif //_TV_ERROR_H
68
69/** @} */ // End of TV_Error_H
70/** @} */ // End of TV_Settings_HAL
71/** @} */ // End of TV_Settings
72/** @} */ // End of HPK
tvError_t
Definition tvError.h:57
@ tvERROR_INVALID_STATE
Invalid State error.
Definition tvError.h:62
@ tvERROR_NONE
No error.
Definition tvError.h:58
@ tvERROR_INVALID_PARAM
Invalid Parameter error.
Definition tvError.h:61
@ tvERROR_OPERATION_NOT_SUPPORTED
Operation not supported.
Definition tvError.h:60
@ tvERROR_GENERAL
Other errors from drivers.
Definition tvError.h:59