PDK API Guide for J721E
csirx_cfg.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Texas Instruments Incorporated 2018-2019
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the
15  * distribution.
16  *
17  * Neither the name of Texas Instruments Incorporated nor the names of
18  * its contributors may be used to endorse or promote products derived
19  * from this software without specific prior written permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32  */
33 
48 #ifndef CSIRX_CFG_H_
49 #define CSIRX_CFG_H_
50 
51 /* ========================================================================== */
52 /* Include Files */
53 /* ========================================================================== */
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 
59 /* ========================================================================== */
60 /* Macros & Typedefs */
61 /* ========================================================================== */
71 #define CSIRX_NUM_CH (CSIRX_NUM_CH_MAX)
72 
73 #define CSIRX_CH_ID_DEFAULT ((uint32_t) 0x00U)
74 
76 #define CSIRX_VC_NUM_DEFAULT ((uint32_t) 0x00U)
77 
78 #define CSIRX_IN_DT_DEFAULT (FVID2_CSI2_DF_RGB888)
79 
81 #define CSIRX_CAPT_QUEUE_DEPTH_PER_CH ((uint32_t)10U)
82 
83 #define CSIRX_TIMEOUT_VAL_MS ((uint32_t)10U)
84 /* @} */
85 
87 #define CsirxTrace ((uint32_t) GT_INFO |\
88  (uint32_t) GT_TraceState_Enable)
89 
92 #define CSIRX_DRV_ENABLE_DEBUG (0U)
93 
94 #define CSIRX_DRV_LOG_CNT (2000U)
95 /* ========================================================================== */
96 /* Structure Declarations */
97 /* ========================================================================== */
98 
99 /* ========================================================================== */
100 /* Internal/Private Function Declarations */
101 /* ========================================================================== */
102 /* None */
103 
104 /* ========================================================================== */
105 /* Function Declarations */
106 /* ========================================================================== */
107 
108 /* None */
109 
110 /* ========================================================================== */
111 /* Static Function Definitions */
112 /* ========================================================================== */
113 /* None */
114 
115 #ifdef __cplusplus
116 }
117 #endif
118 
119 #endif /* #ifndef CSIRX_CFG_H_ */
120 
121 /* @} */