时钟模块外文文献及翻译

时钟模块外文文献及翻译

ID:6600368

大小:38.00 KB

页数:3页

时间:2018-01-19

时钟模块外文文献及翻译_第1页
时钟模块外文文献及翻译_第2页
时钟模块外文文献及翻译_第3页
资源描述:

《时钟模块外文文献及翻译》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、TheMSP430x14x(1)hasasecondhardwareuniversalsynchronous/asynchronousreceivetransmit(USART1)peripheralmodulethatisusedforserialdatacommunication.TheUSARTsupportssynchronousSPI(3or4pin)andasynchronousUARTcommunicationprotocols,usingdouble-bufferedtransmitandreceivechannels.Operati

2、onofUSART1isidenticaltoUSART0TheclocksystemintheMSP430x13xandMSP43x14x(1)familyofdevicesissupportedbythebasicclockmodulethatincludessupportfora32768-Hzwatchcrystaloscillator,aninternaldigitally-controlledoscillator(DCO)andahighfrequencycrystaloscillator.Thebasicclockmoduleisdes

3、ignedtomeettherequirementsofbothlowsystemcostandlow-powerconsumption.TheinternalDCOprovidesafastturn-onclocksourceandstabilizesinlessthan6µs.Thebasicclockmoduleprovidesthefollowingclocksignals:1,Auxiliaryclock(ACLK),sourcedfroma32768-Hzwatchcrystalorahighfrequencycrystal.,2,Mai

4、nclock(MCLK),thesystemclockusedbytheCPU.3,Sub-Mainclock(SMCLK),thesub-systemclockusedbytheperipheralmodules.Theprimaryfunctionofthewatchdogtimer(WDT)moduleistoperformacontrolledsystemrestartafterasoftwareproblemoccurs.Iftheselectedtimeintervalexpires,asystemresetisgenerated.Ift

5、hewatchdogfunctionisnotneededinanapplication,themodulecanbeconfiguredasanintervaltimerandcangenerateinterruptsatselectedtimeintervals.hardwaremultiplier(MSP430x14xandMSP430x14x1Only)Themultiplicationoperationissupportedbyadedicatedperipheralmodule.Themoduleperforms1616,168,816,

6、and88bitoperations.Themoduleiscapableofsupportingsignedandunsignedmultiplicationaswellassignedandunsignedmultiplyandaccumulateoperations.Theresultofanoperationcanbeaccessedimmediatelyaftertheoperandshavebeenloadedintotheperipheralregisters.Noadditionalclockcyclesarerequired.osc

7、illatorandsystemclockUSART0Voidmain()While(){P1OUT^=BIT0;_delay_cycles(100000);}WDTCTL=WDTPW+WDTHOLD;       BCSCTL1

8、=XT2OFF;BCSCTL3

9、=LFXT1S_2;//BCSCTL3

10、=LFXT1S_0;IE1&=~OFIE;IFG1&=~OFIFG;BCSCTL2

11、=SELM_3+SELS;//BCSCTL2

12、=SELM_0+SELS;__delay_cycles(1000);P1DIR=BIT0;P1OUT=BIT0;在MSP4

13、30单片机中一共有四个时钟源:(1)LFXT1CLK,为低速/高速晶振源,通常接32.768kHz晶振(2)

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。