辽宁快乐12走势图

全国服务热线:18929363263

辽宁快乐12走势图 PRODUCT DISPLAY

单片机低功耗技术及应用

来源: 发布时间:2017-09-29 415 次浏览

JIESHAODANPIANJIDEDIGONGHAOSHEJIJISHUTEDIANJIDANPIANJIYINGYONGXITONGZHONGDEDIGONGHAOSHEJIYAOZHUYIDEJIGEWENTI,BINGLIEJULECHONGFENLIYONGPIANNEIZI

辽宁快乐12走势图DANPIANJIDIGONGHAOJISHUJIYINGYONG

ZUOZHE:SHANXIDAXUEJISUANJIXIQINGHUADAXUEFANGWENXUEZHE LIYUEXIANG QINGHUADAXUEZIDONGHUAXI YUAN TAO MUHETAER


辽宁快乐12走势图ZHAIYAO:JIESHAODANPIANJIDEDIGONGHAOSHEJIJISHUTEDIANJIDANPIANJIYINGYONGXITONGZHONGDEDIGONGHAOSHEJIYAOZHUYIDEJIGEWENTI,BINGLIEJULECHONGFENLIYONGPIANNEIZIYUANSHIXIANDIGONGHAOJICYUYANYUANCHENGXU。 

GUANJIANCI:DANPIANJI DIGONGHAO SHEJI


SUIZHEJICHENGDIANLUJISHUHEGONGYIDEFEISUFAZHAN,ZHENZHENGDANPIANHUADEDANPIANJIYIJINGCHENGWEIZHULIUCHANPIN。TADEJUEZAIBUFENZIYUANDOUZAIDANPIANJIXINPIANNEIBU;GUOQUXUYAOYONGWAIBUKUOZHANQIJIANCAINENGSHIXIANDEGONGNENG,RUROM、RAM、A/D、D/A、SHUZILIANGI/O、XIANSHIQUDONGDENGGONGNENG,XIANZAIZAIDANPIANJINEIBUJIUKEYIWANCHENG。DANPIANJIZHENZHENGDANPIANHUA,SHENGQULEDALIANGDEYINGJIANKAIFADIAOSHIGONGZUO,DADADITIGAOLEGONGZUOXIAOLV;XITONGXIANTIANDEKEKAOXING、KANGGANRAONENGLIDEDAOLEXIANZHUDEGAISHAN。JINGSHIYANCESHI,SHIXIANTONGYANGGONGNENGDEXITONG,CAIYONGDANPIANFANGSHIBIZONGXIANKUOZHANFANGSHIJUYOUGENGDUODEYOUDIAN。XITONGBUJINGONGNENGQIANG、XINGNENGKEKAO、CHENGBENJIANGDI,ERQIEJINYIBUWEIXINGHUAHEBIANXIEHUA。YINCI,SHIYONGDIANCHIZUOWEIXITONGDEDIANYUANYEYUELAIYUEPUBIAN。XITONGDEZUIXIAODIANYUANXIAOCHUHEZUIDADEDIANCHISHOUMINGJIUCHENGWEIZHUYAODEJISHUYAOQIU。LIRU1999NIANDEDUOGUOYIQIYIBIAOZHANLANHUISHANG,BUZHIYIJIAGUOWAIGONGSIZHANCHULESHIYONGDIANCHIDEGONGYELIULIANGJI,5~10NIANDOUBUBIGENGHUANDIANCHIHEJINXINGWEIHU。SUOYIDIGONGHAODANSHUIYAOTONGDEYINGYONGYOUZHEFEICHANGGUANGKUODETIANDI。DIGONGHAODANPIANJIYINGYONGFUHEXIANDAIDIANZIZHONGDUANCHANPINDEYAOQIU:BIANXIE、JIENENG、KEKAODENG。MUQIANGUOJISHANGXIANJINDEDANPIANJISHENGCHANCHANGSHANG,RURIBENNEC、FUSHITONG、AIPUSENHEMEIGUOTIDENGGONGSIDOUCAIYONGLEDIGONGHAOSHEJI。BIZHEZAIYIXIEYINGYONGZHONGSHIYONGLERIBENNECGONGSIDE78k0HE78K0SXILIEDEDANPIANJI,QIXIUMIANZHUANGTAIXIADEGONGHAODIANLIUKEDADAO0.05~0.01μA。


1 DANPIANJIDEDIGONGHAOSHEJIJISHU


1.1 GAOJICHENGDUDEWANQUANDANPIANHUASHEJI


辽宁快乐12走势图JIANGHENDUOWAIWEIYINGJIANJICHENGDAOLECPUXINPIANZHONG,ZENGDAYINGJIANRONGYU。NEIBUYIDIGONGHAO、DIDIANYADEYUANZESHEJI,ZHEIJIDANPIANJIDEDIGONGHAOSHEJITIGONGLEHENQIANGDEZHICHI。


1.2 NEIBUDIANLUKEXUANZEXINGGONGZUO


辽宁快乐12走势图TONGGUOTESHUGONGNENGJICUNQIXUANZESHIYONGBUTONGDEGONGNENGDIANLU,JIYIKAORUANJIANXUANZEQIZHONGBUTONGDEYINGJIAN;DUIYUBUSHIYONGDEGONGNENGSHIQITINGZHIGONGZUO,YIJIANSHAOWUXIAOGONGHAO。


1.3 KUANDIANYUANDIANYAFANWEI


辽宁快乐12走势图XIANJINDEDANPIANJIXINPIANGONGYITEBIEJUEDINGLEDANPIANJIZAIHENKUANDEDIANYUANDIANYAFANWEINEIBUNENGZHENGCHANGGONGZUO。LIRU,NECGONGSIDE78K0HE78K0SXILIEDEDANPIANJI,KEYIZAI1.8V~5.5VDIANYUANDIANYAFANWEINEIZHENGCHANGGONGZUO。DANPIANJIGONGDIANDIANYAFANWEIDEFANGKUAN,KEYIJINYIBUTUOKUANDANPIANJIDEYINGYONGLINGYU,YOUQISHIBIANXIESHIHUOZHANGSHANGXINGYIQIHUOZHUANGZHI,KEYIFANGXINDISHIYONGDIANCHIZUOWEIDIANYUAN,ERBUBIGUANXINDIANGUOCHENGDIANYAQUXIANSHIFOUPINGHENG、SHIFOUHUIYINGXIANGDANPIANJIZHENGCHANGGONGZUO,GENGBUBIYINDIANCHIGONGDIANERZHUANMENZENGJIAWENYADIANLU,CONGERKEJIANSHAODAYUE1/3DEGONGLVXIAOHAO。


1.4 JUYOUGAOSUHEDISULIANGTAOSHIZHONG


辽宁快乐12走势图XITONGYUNXINGPINLVYUEGAO,DIANYUANGONGHAOJIUHUIXIANGYINGZENGDA。WEIGENGHAODIJIANGDIGONGHAO,NEIBUJICHENGLELIANGTAODULIDESHIZHONGXITONG,GAOSUDEZHUSHIZHONGHE32.768kHzDEFUSHIZHONG。YEKEZAIMANZUGONGNENGXUYAODEQINGKUANGXIAANYIDINGBILIJIANGDICPUZHUSHIZHONGPINLV,YIJIANGDIDIANYUANGONGHAO。ZAIBUXUYAOGAOSUYUNXINGDEQINGKUANGXIA,KEXUANYONGFUSHIZHONGDISUYUNXING,JINYIBUJIANGDIGONGHAO。TONGGUORUANJIANDUITESHUGONGNENGJICUNQIFUZHIKEGAIBIANCPUDESHIZHONGPINLV,HUOJINXINGZHUSHIZHONGHEFUSHIZHONGQIEHUAN。

 


1.5 ZAIXIANGAIBIANCPUDEGONGZUOPINLV


辽宁快乐12走势图KEGENJUCPUCHULIRENWUDEBUTONG,ZAIWAIBUZHENDANGQIBUBIANDEQINGKUANGXIA,TONGGUOCHENGXUGAIBIANCHULIQISHIZHONGKONGZHIJICUNQIPCCDEZHI,ZAIXIANGAIBIANCPUDEPINLV。CPUZAIJIZHONGBUTONGPINLVXIAGONGZUODEDIANYUANGONGHAOBIJIAORUTU1SUOSHI。


1.6 HOUBEIGONGNENG


HOUBEIGONGNENGSHIWEILEJINYIBUJIANGDIXITONGGONGHAO。CPUYONGZHUSHIZHONGSHIYOUHALT(DAIJI)MOSHIHESTOP(XIUMIAN)MOSHI,YONGFUXITONGSHIZHONGSHIYOUFUSHIZHONGYUNXINGMOSHIHEHALTMOSHI。RUBIAO1SUOSHI。


BIAO1 NECDANPIANJIHOUBEIMOSHI


SHIZHONGYUAN MO SHI MIAO SHU 

辽宁快乐12走势图ZHUXITONGSHIZHONG HALT CPUSHIZHONGGUANBI,WAIWEISHIZHONGGONGZUO 

STOP ZHUSHIZHONGTINGZHEN,CHUZHONGDUANKONGZHIQIWAIDEQITAWAIWEIDIANLUTINGZHIGONGZUO 

FUSHIZHONGXITONG FUSHIZHONGYUNXING ZHUSHIZHONGTINGZHEN,CPUSHIYONGFUSHIZHONG,ZHONGBIAODINGSHIQIGONGZUO,QITAWAIWEIDIANLUTINGZHIGONGZUO 

辽宁快乐12走势图HALT ZHUSHIZHONGTINGZHEN,CPUSHIZHONGGUANBI,ZHONGBIAODINGSHIQIGONGZUO,QITAWAIWEIDIANLUTINGZHIGONGZUO


1.7 NEIBUZHONGBIAODINGSHIQI


辽宁快乐12走势图NCEDANPIANJINEIBUTIGONGLESHIZHONGDINGSHIQI,MEIGE0.5sCHANSHENGYICIZHONGDUAN。ZAIXITONGCHUYUXIUMIANZHUANGTAISHI,RENGKEDINGSHIBEIHUANXING。DUIYUDANPIANJIZHIXUJIANXIEGONGZUO、DANYOUXUYAOSHISHIJISHIGONGNENGDEYINGYONGCHANGHE,TIGONGLEFEICHANGYOUXIAODEJIENENGFANGFA。CPUZAIBUGONGZUOSHIKEJINRUSTOPMOSHIHUOHALTMOSHI,JINRUDIGONGHAODEHOUBEIGONGNENGZHUANGTAI。DANGSHIZHONGZHONGDUANDAOLAISHI,CPUHUIDAOZHENGCHANGGONGZUOZHUANGTAI,JINRUSHIZHONGZHONGDUANCHULICHENGXUZUOSHIZHONGGENGXINCHULI,RANHOUZAIJINRUHOUBEIGONGNENGZHUANGTAI。


辽宁快乐12走势图2 DANPIANJIYINGYONGXITONGZHONGDEDIGONGHAOSHEJIZHUYAOZHUYIDEWENTI

(1)XITONGZHONGDANPIANJIYIWAIDEQITADIANLUQIJIANJINKENENGXUANYONGJINGTAIGONGHAODIDEQIJIAN,RUXUANYONGCMOSDIANLUXINPIAN。

(2)外部设备的选择也要尽可能支持低功耗设计。

(3)SHEJIWAIBUZHONGDUANHUANXINGDIANLU,SHIDANPIANJIZAIDENGDAISHIKEJINRUXIUMIANMOSHIHUODAIJIMOSHI,XUYAOSHIYOUWAIBUZHONGDUANXINHAOHUANXING。

(4)SHEJIWAIBUQIJIANDEDIANYUANKONGZHIDIANLU,SHIWAIBUQIJIANHUOSHEBEIZAIBUGONGZUOSHIGUANDUANGONGDIAN,JIANSHAOWUXIAOGONGHAO。

辽宁快乐12走势图(5)SHEJICHONGFENLIYONGXITONGDIGONGHAOTEDIANDERUANJIAN。

3 ZAIXIANGAIBIANCPUDESHIZHONGPINLVYIJIANGDIGONGLILIANGDECYUYANCHENGXUJULI


辽宁快乐12走势图CPUZAIBUXUYAOGAOSUYUNXINGSHI,KESHEZHIZAIJIAODIDESHIZHONGPINLVXIAGONGZUO,ZAIYUNXINGGUOCHENGZHONGKEGENJUXUYAOZAIXIANGAIBIANCPUDESHIZHONGPINLV。XIAMIANSHIYIGETONGGUOANJIANCHANSHENGWAIBUZHONGDUANXINHAOGAIBIANNCEDANPIANJIμPD780058DECPUSHIZHONGPINLVDECHENGXU,TASHICPUZAIZHU、FUSHIZHONGQIEHUANYUNXING。TONGGUOI/OKOUP6DEWEI0YINJIAOLIANJIE1GELEDXIAODENG,MEIANXIAYICIANJIANJIUSHICPUDESHIZHONGPINLVGAIBIAN。ZAIZHUSHIZHONGHEFUSHIZHONGPINLVXIAGONGZUOSHI,YONGTONGYANGDERUANJIANYANSHICHENGXUKONGZHIXIAODENGDIANLIANGDESHIJIAN,YICIGUANCHACPUDEYUNXINGSUDU。

CHENGXUQINGDAN:

辽宁快乐12走势图//**************HONGDINGYI**************

#define PCCMODEM 0x00 //CPUSHIZHONGKONGZHIJICUNQIPCC

辽宁快乐12走势图//DINGYIWEIXUANZHUXITONGSHIZHONG

#define PCCMODES 0xf0 //CPUSHIZHONGKONGZHIJICUNQIPCC

//DINGYIWEIXUANFUXITONGSHIZHONG

#define PORT60 1 /P6KOUWEI0FUCHUZHI/

#define PORTM600 //P6KOUWEI0SHEWEISHUCHU

辽宁快乐12走势图#define INTM0M 0x00 //DINGYIWAIBUZHONGDUANINTP1DE

//ZHONGDUANCHUFAYANWEIXIAJIANGYAN

//*****DANPIANJINEIBUGONGNENGSHIYONGDEDINGYI*****

辽宁快乐12走势图#pragma sfr //SHIYONGTESHUGONGNENGJICUNQI

#pragma HALT //SHIYONGHALTGONGNENG

辽宁快乐12走势图#pragma interrupt INTP1 inter RB1 //SHIYONGZHONGDUANGONGNENG

辽宁快乐12走势图#pragma DI //SHIYONGGUANZHONGDUANGONGNENG

辽宁快乐12走势图#pragma EI //SHIYONGKAIZHONGDUANGONGNENG

//*************BIANLIANGDINGYI*************

unsigned int b; //DINGYIRUANJIANYANSHIJISHUBIANLIANG

辽宁快乐12走势图char msflag; //DINGYIZHU、FUSHIZHONGQIEHUANBIAOZHI

//**************ZHUHANSHU**************

void main()

{

辽宁快乐12走势图PCC=PCCMODEM; //CPUYONGZHUXITONGSHIZHONG

辽宁快乐12走势图P6.0=PORTM60; //P6KOUDEWEI0FUCHUZHI

辽宁快乐12走势图PM6.0=PORTM60; //P6KOUDEWEI0WEISHUCHU

INTM0=INTM0M; //INTP1XIAJIANGYANCHUFA

PMK1=0; //QINGCHUINTP1ZHONGDUANPINGBI

Msflag=0; //XUANYONGZHUFUSHIZHONGDEBIAOZHI

EI(); //KAIZHONGDUAN

While(1)

{

辽宁快乐12走势图if(msflag= =0) //SHIZHONGQIEHUANBIAOZHIWEI0SHI

msflag=1; //BIAOZHIBIANWEI1

辽宁快乐12走势图else msflag=0; //FOUZEBIAOZHIBIANWEI0

P6.0=0; //DIANLIANGLEDDENG

辽宁快乐12走势图b=0; //RUANJIANYANSHIDEJISHUZHIFUCHUZHI

while(b<=10000)

{

b++; //RUANJIANYANSHI(ZHUYIXITONGSHIZHONGWEI)

辽宁快乐12走势图//ZHUSHIZHONGYUFUSHIZHONGYANSHI

//SHIJIANDEZHANGDUANSHIBUTONGDE)

}

辽宁快乐12走势图P6.0=1; //XIMIELEDDENG

HALT(); //JINRUHALTZHUANGTAI

}

}

//************ZHONGDUANFUWUHANSHU************

辽宁快乐12走势图void inter(void)

{

if(msflag= =0) //RUOSHIZHONGQIEHUANBIAOZHIWEI0

PCC=PCCMODES; //CPUSHIYONGFUSHIZHONG

Else //FOUZE

PCC=PCCMODEM; //CPUSHIYONGZHUSHIZHONG

}


辽宁快乐12走势图DIGONGHAODANPIANJIDEYINGYONGSHIDIANZICHANPIN、KONGZHIXITONGGENGFUHEDANGJINSHIZHONGDEYAOQIU,DADAOBIANXIE、DIGONGHAOHEGAOKEKAOXING。JIAZHIYONGGAOJIYUYAN(RUCYUYAN)DUIDANPIANJIJINXINGKAIFADEGONGJURIZHENWANSHAN。GENGWEIKUAISUGAOXIAODEKAIFAYINGYONGTIGONGLELIANGHAODETIAOJIANHEHUANJING。DIGONGHAODEJIENENGDANPIANJIYINGYONGXITONGJIANGHUIDAILAIHENHAODESHEHUIXIAOYIHEJINGJIXIAOYI。