代码搜索结果

找到约 20,284 项符合 I2C 的代码

i2c.c

/***************************************************************************** * i2c.c: I2C C file for NXP LPC23xx/24xx Family Microprocessors * * Copyright(C) 2006, NXP Semiconductor *

i2c.h

/***************************************************************************** * i2c.h: Header file for NXP LPC23xx/24xx Family Microprocessors * * Copyright(C) 2006, NXP Semiconductor *

i2c.c

/***************************************************************************** * i2c.c: I2C C file for NXP LPC23xx/24xx Family Microprocessors * * Copyright(C) 2006, NXP Semiconductor *

i2c.h

/***************************************************************************** * i2c.h: Header file for NXP LPC23xx/24xx Family Microprocessors * * Copyright(C) 2006, NXP Semiconductor *

i2c.c

#include "I2C.h" void I2C_Initial( void ) { P1DIR |= BIT2; //将SCL管脚(P1.2)设置为输出管脚 I2C_Set_sck_low(); I2C_STOP(); Delay_ms(10); return; } void I2C_Set_sda_high( void )

i2c.h

// I2C模块的头文件 #include //定义管脚 #define SCL BIT1 #define SDA BIT2 //定义函数 void I2C_Initial(void); void I2C_Set_sda_high(void); void I2C_Set_sda_low (void); void I2C_Set_sck_high(vo

i2c.h

/* * Freescale I2C Controller * * This software may be used and distributed according to the * terms of the GNU Public License, Version 2, incorporated * herein by reference. * * Copyright 2004

i2c.c

/* * (C) Copyright 2003 * Gleb Natapov * Some bits are taken from linux driver writen by adrian@humboldt.co.uk * * Hardware I2C driver for MPC107 PCI bridge. * * See file CRE

i2c.c

/*****************************************************************************/ /* I2C Bus interface initialisation and I2C Commands */ /* for PPC405GP

i2c.c

/* * i2c Support for Atmel's AT91RM9200 Two-Wire Interface * * (c) Rick Bronson * * Borrowed heavily from original work by: * Copyright (c) 2000 Philip Edelbrock