代码搜索结果
找到约 242 项符合
BLE 的代码
trans_dat_16.c
void Trans_Dat_16(unsigned int data1)
{
unsigned char high8=data1>>8;
unsigned char low8=data1;
Cs=0;
Dc=1;
//Rd=1;
Wr=1;
ble=1;
P0=high8;
ble=0;
P0=low8;
Wr=0;
Wr=1;
trans_romdat.c
void Trans_romdat(unsigned char high8,unsigned char low8)
{
Cs=0;
Dc=1;
Wr=1;
P0=high8;
ble=1;
ble=0;
P0=low8;
Wr=0;
Wr=1;
//Rd=1;
Cs=1;
Dc=0;
board.c
sbit Cs =P3^0;
sbit Reset =P3^1;
sbit Dc =P3^2;
//sbit Wr =P3^6;
//sbit Rd =P3^7;
sbit Wr =P3^3;
sbit Rd =P3^4;
//sbit ble =P1^5;
sbit ble =P1^6;
sbit rom_a16
trans_com_16.c
void Trans_Com_16(unsigned int data1)
{
unsigned char high8=data1>>8;
unsigned char low8=data1;
Cs=0;
Dc=0;
//Rd=1;
Wr=1;
ble=1;
P0=high8;
ble=0;
P0=low8;
Wr=0;
Wr=1;
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F
parallelpro.h
// ParallelPro.h: interface for the CParallelPro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARALLELPRO_H__302E2FBD_2828_44E3_AE8D_0B201DA7F