RV32 SoC DS UG
High-Perf RV32 SoC DS UG
RV64 SoC DS UG API and Examples
Embedded IDE UG
Loading...
Searching...
No Matches
cam_config.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2026 Efinix Inc. All rights reserved.
3// Full license header bsp/efinix/EfxSapphireSocRV64/include/LICENSE.MD
5
6#ifndef CAM_CONFIG_H
7#define CAM_CONFIG_H
8
19
20#include "userDef.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
32
33/* ========================================================================== */
34/* SUB-GROUP: DRIVER SELECTION LOGIC */
35/* ========================================================================== */
36
50
51#if (ACTIVE_CAM_TYPE == CAM_TYPE_IMX708)
52 #include "cam/device/IMX708.h"
53
57 #define CAM_CTRL CAM_IMX708_ADDR
58
62 #define CAM_DRIVER IMX708_DRIVER
63
64#elif (ACTIVE_CAM_TYPE == CAM_TYPE_IMX219)
65 #include "cam/device/IMX219.h"
66
70 #define CAM_CTRL CAM_IMX219_ADDR
71
75 #define CAM_DRIVER IMX219_DRIVER
76#else
77 #warning "Unsupported ACTIVE_CAM_TYPE"
78 #warning "Make sure to include the custom driver !!"
79#endif
80 // End of Automatic Driver Selection
82 // End of cam_Config Group
84
85#ifdef __cplusplus
86}
87#endif // __cplusplus
88
89#endif // cam_CONFIG_H
IMX219 Driver API definitions. This file provides data structures and APIs for controlling the IMX219...
imx708 Driver API definitions. This file provides data structures and APIs for controlling the imx708...