1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2018-2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef INTERNAL_I2C_DEPEND_H
9 #define INTERNAL_I2C_DEPEND_H
10 
11 #include <internal/i2c_driver.h>
12 
13 #include <stdint.h>
14 
15 typedef enum { I2C_EN_CH0, I2C_EN_CH1, I2C_EN_CH2 } I2C_EN_CH_t;
16 
17 I2C_ST_PACKET_INFO_t *i2c_get_channel_structure(I2C_EN_CH_t ch);
18 
19 void i2c_construction(void);
20 void i2c_destruction(void);
21 I2C_ERR_t f_i2c_api_initialize(
22     I2C_ST_PACKET_INFO_t *packet_info,
23     uint32_t reg_base,
24     I2C_TYPE type,
25     const I2C_PARAM_t *param);
26 
27 #endif /* INTERNAL_I2C_DEPEND_H */
28