代码搜索结果
找到约 10,000 项符合
MCU 的代码
mcu.h
/***************************************************************************************
****************************************************************************************
* FILE : mcu.h
*
mcu.h
//----------------------------------------------------------------------------------------------------
// ID Code : Mcu.h No.0000
// Update Note :
//
//-------------------------------------
mcu.h
/*
*************************************************************************************************************
*
* ATmega128 driver
*
* File : mcu.h
* B
mcu.c
/*光纤收发嚣监控程序,CPU--AT89C2051-12PI*/
#include
sbit TRCONL=P3^7;
sbit MDC=P3^4;
sbit MDIO=P3^5;
sbit INTB=P3^2;
sbit CLK1=P1^7;
sbit CLK2=P1^6;
sbit CONL=P1^5;
sbit MA
mcu.c
/*************************************************************************
* DISCLAIMER *
* Services performed by FREESCALE in this matte
mcu.h
/*************************************************************************
* DISCLAIMER *
* Services performed by FREESCALE in this matte
mcu.h
#define LED PTC_PTC4 //系统工作指示灯
unsigned char LED_count=0; //系统工作指示灯计数器
typedef union {
byte Byte;
struct {
byte BIT0 :1;
byte BIT1 :1;
byte BIT2 :1;
mcu.h
#define LED PTC_PTC4 //系统工作指示灯
unsigned char LED_count=0; //系统工作指示灯计数器
typedef union {
byte Byte;
struct {
byte BIT0 :1;
byte BIT1 :1;
byte BIT2 :1;
mcu.h
#define LED PTC_PTC4 //定义工作指示灯
#define BAT_EN PTC_PTC5 //LM2576-5V使能(0有效)
#define RST_6606 PTC_PTC6 //6606复位引脚
#define buzz_en PTB_PTB0 //蜂鸣器
#defin
mcu.h
#define LED PTC_PTC4 //系统工作指示灯
typedef union {
byte Byte;
struct {
byte BIT0 :1;
byte BIT1 :1;
byte BIT2 :1;
byte BIT3 :1;
byte BIT4