/**
 * \file    sys_i2c.h
 * \brief   I2C slave process engine
 *
 * \par     Copyright (c) 2016 UWE Technologies Corp., Ltd. All Rights Reserved.
 * \author  James
 * \date    2016-05-19
 * \version 
 * 
 * \history 
 *  Date        Note
 *  2016-05-19  Original Creation
 * 
 */
 
#ifndef __SYS_I2C_H_
#define __SYS_I2C_H_

#include "types.h"
#include "drv_i2c.h"

void sys_i2c_handler(DRV_I2C_ID_t i2c_id);
void sys_i2c_rx_handler(DRV_I2C_ID_t i2c_id, u8_t* received_data, u8_t received_len);
u8_t sys_i2c_tx_handler(DRV_I2C_ID_t i2c_id, u8_t tx_data_len_max, u8_t* transmit_data);

#endif /* #ifndef __SYS_I2C_H_ */

