/* Copyright (C) 2024 Alif Semiconductor - All Rights Reserved. * Use, distribution and modification of this code is permitted under the * terms stated in the Alif Semiconductor Software License Agreement * * You should have received a copy of the Alif Semiconductor Software * License Agreement with this file. If not, please write to: * contact@alifsemi.com, or visit: https://alifsemi.com/license * */ /****************************************************************************** * @file DPHY_DSI.h * @author Prasanna Ravi * @email prasanna.ravi@alifsemi.com * @version V1.0.0 * @date 14-May-2024 * @brief Driver Specific Header file for DPHY CSI2 Driver. ******************************************************************************/ #ifndef DPHY_CSI2_H_ #define DPHY_CSI2_H_ #include /** \fn int32_t CSI2_DPHY_Initialize (uint32_t frequency, uint8_t n_lanes) \brief Initialize MIPI CSI2 DPHY Interface. \param[in] frequency to configure DPHY PLL. \param[in] n_lanes number of lanes. \return \ref execution_status */ int32_t CSI2_DPHY_Initialize (uint32_t frequency, uint8_t n_lanes); /** \fn int32_t CSI2_DPHY_Uninitialize (void) \brief Uninitialize MIPI CSI2 DPHY Interface. \return \ref execution_status */ int32_t CSI2_DPHY_Uninitialize (void); #endif /* DPHY_CSI2_H_ */