You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.3 KiB

1 year ago
//////////////////////////////////////////////////////////////////////////
/// COPYRIGHT NOTICE
/// Copyright (c) 2018, ���ؿƼ�
/// All rights reserved.
///
/// @file iic_sim
/// @brief iic ģ��io �汾�� ��cpu�޹أ�Ψһ��Ҫ�޸ĵľ���ͷ�����еĹܽŶ���
/// @info ����io���� ,�����ط����ޱ�Ҫ�����޸�
///�����ļ�ʵ�ֵĹ��ܵ�������
///
/// @version 1.1 CCsens technology
/// @author CC
/// @date 20180102
//
//////////////////////////////////////////////////////////////////////////
#ifndef _SIIC3_H_
#define _SIIC3_H_
#include "../clib/type.h"
#include "../clib/clib.h"
#include "../ctask/tick.h"
///>>>�˿�λ���壬���޸�!!!!!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
#include "../bsp/bsp_config.h"
#include "msp_siicx.h"
#define L0_SDA3_OUT() D_P85_OUT()
#define L0_SDA3_IN() D_P85_IN()
#define L0_SDA3_ON() D_P85_ON()
#define L0_SDA3_OFF() D_P85_OFF()
#define L0_SDA3_AT() D_P85_AT()
#define L0_SCL3_OUT() D_P84_OUT()
#define L0_SCL3_IN() D_P84_IN()
#define L0_SCL3_ON() D_P84_ON()
#define L0_SCL3_OFF() D_P84_OFF()
#define D_SIIC3_DELAY 100
//<<<<�˿�λ���壬���޸�!!!!!!<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
extern TS_siic ts_siic3;
extern void L1_siic3_INIT(void);
#endif// #ifndef _IIC_H_