代码搜索结果
找到约 10,000 项符合
C 的代码
hardware.h
#ifndef __HARDWARE_H__
#define __HARDWARE_H__
// write your header here
//========================================================================================
// Progarm: The file be included by
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-algo-bit.c
/* ------------------------------------------------------------------------- */
/* i2c-algo-bit.c i2c driver algorithms for bit-shift adapters */
/* ---------------------------------------------
portextender.c
#include "hpa449lib.h"
int WriteExpandedGPIO (int PortExtenderAddress, int Value)
{
int fOK;
// Start condition
I2C_B_Start();
// address to port extender
fOK = I2C_B_SendByte(0x70 | (Po
main.c
/****************************************************************************
* 文件名:main.c
* 功 能:串口实验程序
*
* 说 明:
************************************************************************
hardware.h
#ifndef __HARDWARE_H__
#define __HARDWARE_H__
// write your header here
//========================================================================================
// Progarm: The file be included by
i2c.c
/*24C64子程序 */
bit I2C_Start(void);
void I2C_Stop(void);
void I2C_Ack(void);
void I2C_Nack(void);
bit I2C_Send_Byte( uchar);
uchar I2C_Receive_Byte(void);
void AT24C64_R(void *mcu_addres
inherit__graph__1.md5
1b65dbe81a2c7e33910862bbd21c096c
pid_c.asm
.include "x24x_app.h"
.def PID_ref_c, PID_in_c, PID_out_c
.def VE2_c,VE1_c,VE0_c
.def PIDTMP1_c,PIDTMP2_c,PIDTMP3_c
.def KP_c,KI_c,KD_c
.def PID_max_c,PID_min_c
.def PID_I
mysql_create_system_tables
#!/bin/sh
# Copyright (C) 1997-2003 MySQL AB
# For a more info consult the file COPYRIGHT distributed with this file
# This script writes on stdout SQL commands to generate all not
# existing MySQL s