msp430f5529呼吸灯.ccxml这个文件有什么用

当前位置:
文件名称:msp430_ascii
所属分类:
资源属性:
Linux,gcc,C/C++,源码
上传时间:
文件大小:
浏览/下载:
166次 / 0次
提 供 者:
相关连接:
下载说明:
别用迅雷下载,失败请重下,重下不扣分!
msp430F5529系列单片机在10264LCD上显示汉字字符的程序-msp430F5529 MCU display Chinese characters in the program 10264LCD
(系统自动生成,下载前可以参看下载内容)下载文件列表
...\.imports.xml
...\...\.ccsproject
...\...\.cdtbuild
...\...\.cdtbuild_initial
...\...\.cdtproject
...\...\.cproject
...\...\.project
...\...\.project_initial
...\...\lnk_msp430f5529.cmd
...\...\lnk_msp430f5529_USB.cmd
...\...\macros.ini
...\...\MSP430F5529.ccxml
...\...\system_pre_init.c
...\CCS_Code_Size_Limited
...\.....................\.ccsproject
...\.....................\.cdtbuild
...\.....................\.cdtbuild_initial
...\.....................\.cdtproject
...\.....................\.cproject
...\.....................\.project
...\.....................\.project_initial
...\.....................\lnk_msp430f5529.cmd
...\.....................\lnk_msp430f5529_USB.cmd
...\.....................\macros.ini
...\.....................\MSP-EXP430F5529_UE.lib
...\.....................\MSP430F5529.ccxml
...\.....................\system_pre_init.c
...\...\CTS_HAL.c
...\...\CTS_HAL.h
...\...\CTS_Layer.c
...\...\CTS_Layer.h
...\...\structure.c
...\...\structure.h
...\Drivers
...\.......\MSP430_CDC.inf
...\F5xx_F6xx_Core_Lib
...\..................\HAL_FLASH.c
...\..................\HAL_FLASH.h
...\..................\HAL_MACROS.h
...\..................\HAL_PMAP.c
...\..................\HAL_PMAP.h
...\..................\HAL_PMM.c
...\..................\HAL_PMM.h
...\..................\HAL_TLV.c
...\..................\HAL_TLV.h
...\..................\HAL_UCS.c
...\..................\HAL_UCS.h
...\.....\00readme.txt
...\.....\diskio.h
...\.....\ff.c
...\.....\ff.h
...\.....\ffconf.h
...\.....\integer.h
...\.....\mmc.c
...\.....\mmc.h
...\.....\option
...\.....\......\cc932.c
...\.....\......\cc936.c
...\.....\......\cc949.c
...\.....\......\cc950.c
...\.....\......\ccsbcs.c
...\.....\......\syscall.c
...\...\Backup of MSP-EXP430F5529_User_Experience.ewd
...\...\Backup of MSP-EXP430F5529_User_Experience.ewp
...\...\Debug
...\...\.....\Exe
...\...\.....\List
...\...\.....\Obj
...\...\low_level_init.c
...\...\MSP-EXP430F5529_User_Experience.dep
...\...\MSP-EXP430F5529_User_Experience.ewd
...\...\MSP-EXP430F5529_User_Experience.ewp
...\...\MSP-EXP430F5529_User_Experience.eww
...\...\path.txt
...\...\settings
...\...\........\MSP-EXP430F5529_User_Experience.cspy.bat
...\...\........\MSP-EXP430F5529_User_Experience.dbgdt
...\...\........\MSP-EXP430F5529_User_Experience.dni
...\...\........\MSP-EXP430F5529_User_Experience.wsdt
...\ImageDog
...\........\.classpath
...\........\.project
...\........\.settings
...\........\.........\org.eclipse.jdt.core.prefs
...\........\ImageDog.bat
...\........\ImageDog.class
...\........\ImageDog.java
...\........\readme.txt
...\MSP-EXP430F5529 User Experience Manifest.pdf
...\MSP-EXP430F5529_HAL
...\...................\HAL_AppUart.c
...\...................\HAL_AppUart.h
...\...................\HAL_Board.c
...\...................\HAL_Board.h
...\...................\HAL_Buttons.c
暂无评论内容.
*快速评论:
和说明不符
不是源码或资料
纯粹是垃圾
*内  容:
*验 证 码:
搜珍网是交换下载平台,下载的内容请自行研究使用或咨询上传人.
资源属性分别代表:系统平台,开发平台,开发语言,文件格式四部分.
本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用进行解压.
如果您发现此软件无法下载,请稍后再次尝试;或者.
本站提供下载的内容为网上收集或会员上传提供,若无意中侵犯了您的版权,.
如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
如下载后发现下载的内容跟说明不相乎,可以联系本站的客服,经确认可以退回消费了的积分.
联系我们网站
·电话:(0)
All Rights Reserved.网站已改版,请使用新地址访问:
DAC8571 用于F5529的 的示例程序,测试通过 SCM 单片机开发 266万源代码下载-
&文件名称: DAC8571& & [
& & & & &&]
&&所属分类:
&&开发工具: C-C++
&&文件大小: 50 KB
&&上传时间:
&&下载次数: 28
&&提 供 者:
&详细说明:用于F5529的DAC8571的示例程序,测试通过-an implementation of DAC8571 on MSP430F5529
文件列表(点击判断是否您需要的文件,如果是垃圾请在下面评价投诉):
&&DAC8571&&.......\.ccsproject&&.......\.cproject&&.......\.launches&&.......\.........\DAC8571.launch&&.......\.project&&.......\.settings&&.......\.........\org.eclipse.cdt.codan.core.prefs&&.......\.........\org.eclipse.cdt.debug.core.prefs&&.......\.........\org.eclipse.core.resources.prefs&&.......\Debug&&.......\.....\ccsObjs.opt&&.......\.....\DAC8571.map&&.......\.....\DAC8571.out&&.......\.....\DAC8571_linkInfo.xml&&.......\.....\main.obj&&.......\.....\main.pp&&.......\.....\makefile&&.......\.....\objects.mk&&.......\.....\sources.mk&&.......\.....\subdir_rules.mk&&.......\.....\subdir_vars.mk&&.......\lnk_msp430f5529.cmd&&.......\main.c&&.......\targetConfigs&&.......\.............\MSP430F5529.ccxml&&.......\.............\readme.txt
&[]:纯粹是垃圾&[]:一般,勉强可用
&近期下载过的用户:
&&&&&&&&[]
&相关搜索:
&输入关键字,在本站266万海量源码库中尽情搜索:
&[] - LPC2378基于ADS编译器的源码,其中包括了UART、TIMER、EINT等常用的片内外设。
&[] - Altium DEsigner 4D Footprint
&[] - 在89C51单片机上实现DAC7811的数模转换,c语言
&[] - 本源码维MSP430F149控制IIC协议的AD芯片DAC5571,并再1602液晶上显示数据
MCU的P1.0、P1.1 端口与DAC5571 的SDA、SCK端口连接,通过在两个GPIO上模拟
I2C时序从而实现对DAC的操作。可以看到,DAC5571
的输出端Vout连接到了跳线座P
&[] - msp430g2553 驱动DAC8571例程
&[] - msp430f169单片机在DAC8571上的应用
&[] - 基于stm32单片机实现对芯片DAC8571控制,输出频率可调的正弦波,经试验调试,效果显著。
&[] - TI单片机 MSP430F5438A 采用I2C模式读取BOSCH公司的大气压力传感器BMP085
&[] - 基于MSP430的四轴飞行器算法.(MSP430G2553不能作为飞控芯片)
&[] - 在LPC2292下使用I2C写DAC7571芯片的程序涓婁紶鍙戝竷
禄 eusci_a_uart.c
eusci_a_uart.c ( 鏂囦欢娴忚? )
/* --COPYRIGHT--,BSD
* Copyright (c) 2012, Texas Instruments Incorporated
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of Texas Instruments Incorporated nor the names of
its contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --/COPYRIGHT--*/
//*****************************************************************************
//eusci_a_uart.c - Driver for the UART Module.
//*****************************************************************************
#include "inc/hw_regaccess.h"
#include "assert.h"
#include "eusci_a_uart.h"
#include "eusci_a_uartbaudrate.h"
__IAR_SYSTEMS_ICC__
#include "deprecated/IAR/msp430xgeneric.h"
#include "deprecated/CCS/msp430xgeneric.h"
//*****************************************************************************
//! DEPRECATED. Please use EUSCI_A_UART_initAdvance() to initialize the
//! EUSCI_A_UART module
//! Initializes the UART block.
//! \param baseAddress is the base address of the UART module.
//! \param selectClockSource selects Clock source. Valid values are
\b EUSCI_A_UART_CLOCKSOURCE_SMCLK
\b EUSCI_A_UART_CLOCKSOURCE_ACLK
//! \param clockSourceFrequency is the frequency of the slected clock source
//! \param desiredUartClock is the desired clock rate for UART communication
//! \param parity is the desired parity. Valid values are
\b EUSCI_A_UART_NO_PARITY
[Default Value],
\b EUSCI_A_UART_ODD_PARITY,
\b EUSCI_A_UART_EVEN_PARITY
//! \param msborLsbFirst controls direction of receive and transmit shift
register. Valid values are
\b EUSCI_A_UART_MSB_FIRST
\b EUSCI_A_UART_LSB_FIRST [Default Value]
//! \param numberofStopBits indicates one/two STOP bits
Valid values are
\b EUSCI_A_UART_ONE_STOP_BIT [Default Value]
\b EUSCI_A_UART_TWO_STOP_BITS
//! \param uartMode selects the mode of operation
Valid values are
\b EUSCI_A_UART_MODE
[Default Value],
\b EUSCI_A_UART_IDLE_LINE_MULTI_PROCESSOR_MODE,
\b EUSCI_A_UART_ADDRESS_BIT_MULTI_PROCESSOR_MODE,
\b EUSCI_A_UART_AUTOMATIC_BAUDRATE_DETECTION_MODE
//! \param overSampling indicates low frequency or oversampling baud generation
Valid values are
\b EUSCI_A_UART_OVERSAMPLING_BAUDRATE_GENERATION
\b EUSCI_A_UART_LOW_FREQUENCY_BAUDRATE_GENERATION
//! Upon successful initialization of the UART block, this function
//! will have initialized the module, but the UART block still remains
//! disabled and must be enabled with EUSCI_A_UART_enable()
//! Modified bits are \b UCPEN, \b UCPAR, \b UCMSB, \b UC7BIT, \b UCSPB,
//! \b UCMODEx, \b UCSYNC bits of \b UCAxCTL0 and \b UCSSELx,
//! \b UCSWRST bits of \b UCAxCTL1
//! \return STATUS_SUCCESS or
STATUS_FAIL of the initialization process
//*****************************************************************************
unsigned short EUSCI_A_UART_init ( uint32_t baseAddress,
uint8_t selectClockSource,
uint32_t clockSourceFrequency,
uint32_t desiredUartBaudRate,
uint8_t parity,
uint16_t msborLsbFirst,
uint16_t numberofStopBits,
uint16_t uartMode,
uint8_t overSampling
(EUSCI_A_UART_MODE == uartMode) ||
(EUSCI_A_UART_IDLE_LINE_MULTI_PROCESSOR_MODE == uartMode) ||
(EUSCI_A_UART_ADDRESS_BIT_MULTI_PROCESSOR_MODE == uartMode) ||
(EUSCI_A_UART_AUTOMATIC_BAUDRATE_DETECTION_MODE == uartMode)
(EUSCI_A_UART_CLOCKSOURCE_ACLK == selectClockSource) ||
(EUSCI_A_UART_CLOCKSOURCE_SMCLK == selectClockSource)
(EUSCI_A_UART_MSB_FIRST == msborLsbFirst) ||
(EUSCI_A_UART_LSB_FIRST == msborLsbFirst)
(EUSCI_A_UART_ONE_STOP_BIT == numberofStopBits) ||
(EUSCI_A_UART_TWO_STOP_BITS == numberofStopBits)
(EUSCI_A_UART_NO_PARITY == parity) ||
(EUSCI_A_UART_ODD_PARITY == parity) ||
(EUSCI_A_UART_EVEN_PARITY == parity)
if(EUSCI_A_UART_LOW_FREQUENCY_BAUDRATE_GENERATION == overSampling)
assert ( clockSourceFrequency >= (desiredUartBaudRate * 3));
if( clockSourceFrequency = (desiredUartBaudRate * 6));
if( clockSourceFrequency < (6 * desiredUartBaudRate))
return STATUS_FAIL;
uint8_t retVal = STATUS_SUCCESS;
uint16_t UCAxBRW_value = 0x00;
uint16_t UCAxMCTL_value = 0x00;
//Disable the USCI Module
HWREG16(baseAddress + OFS_UCAxCTLW0) |= UCSWRST;
//Clock source select
HWREG16(baseAddress + OFS_UCAxCTLW0) &= ~UCSSEL_3;
HWREG16(baseAddress + OFS_UCAxCTLW0) |= selectClockS
//MSB, LSB select
HWREG16(baseAddress + OFS_UCAxCTLW0) &= ~UCMSB;
HWREG16(baseAddress + OFS_UCAxCTLW0) |= msborLsbF
//UCSPB = 0(1 stop bit) OR 1(2 stop bits)
HWREG16(baseAddress + OFS_UCAxCTLW0) &= ~UCSPB;
HWREG16(baseAddress + OFS_UCAxCTLW0) |= numberofStopB
switch (parity){
case EUSCI_A_UART_NO_PARITY:
//No Parity
HWREG16(baseAddress + OFS_UCAxCTLW0) &= ~UCPEN;
case EUSCI_A_UART_ODD_PARITY:
//Odd Parity
HWREG16(baseAddress + OFS_UCAxCTLW0) |= UCPEN;
HWREG16(baseAddress + OFS_UCAxCTLW0) &= ~UCPAR;
case EUSCI_A_UART_EVEN_PARITY:
//Even Parity
HWREG16(baseAddress + OFS_UCAxCTLW0) |= UCPEN;
HWREG16(baseAddress + OFS_UCAxCTLW0) |= UCPAR;
//Calculate Baud rate divider values for Modulation control registers
if ( STATUS_FAIL == EUSCI_A_UARTBAUDRATE_calculateBaudDividers(clockSourceFrequency,
desiredUartBaudRate,
&UCAxBRW_value,
&UCAxMCTL_value,
overSampling
return ( STATUS_FAIL) ;
//Modulation Control Registers
HWREG16(baseAddress + OFS_UCAxBRW ) = UCAxBRW_
HWREG16(baseAddress + OFS_UCAxMCTLW) = UCAxMCTL_
//Asynchronous mode & 8 bit character select & clear mode
HWREG16(baseAddress + OFS_UCAxCTLW0) &=
~(UCSYNC +
//Configure
UART mode.
HWREG16(baseAddress + OFS_UCAxCTLW0) |= uartM
//Reset UCRXIE, UCBRKIE, UCDORM, UCTXADDR, UCTXBRK
HWREG16(baseAddress + OFS_UCAxCTLW0)
&= ~(UCRXEIE + UCBRKIE + UCDORM +
UCTXADDR + UCTXBRK
return ( retVal) ;
//*****************************************************************************
//! Advanced initialization routine for the UART block. The values to be written
//! into the UCAxBRW and UCAxMCTLW registers should be pre-computed and passed
//! into the initialization function
//! \param baseAddress is the base address of the UART module.
//! \param selectClockSource selects Clock source. Valid values are
\b EUSCI_A_UART_CLOCKSOURCE_SMCLK
\b EUSCI_A_UART_CLOCKSOURCE_ACLK
//! \param clockPrescalar is the value to be written into UCBRx bits
//! \param firstModReg
is First modulation stage register setting. This value
is a pre-calculated value which can be obtained from the Device User抯
Guide.This value is written into UCBRFx bits of UCAxMCTLW.
//! \param secondModReg is Second modulation stage register setting.
This value is a pre-calculated value which can be obtained from the Device
User抯 Guide. This value is written into UCBRSx bits of UCAxMCTLW.
//! \param parity is the desired parity. Valid values are
\b EUSCI_A_UART_NO_PARITY
[Default Value],
\b EUSCI_A_UART_ODD_PARITY,
\b EUSCI_A_UART_EVEN_PARITY
//! \param msborLsbFirst controls direction of receive and transmit shift
register. Valid values are
\b EUSCI_A_UART_MSB_FIRST
\b EUSCI_A_UART_LSB_FIRST [Default Value]
//! \param numberofStopBits indicates one/two STOP bits
Valid values are
\b EUSCI_A_UART_ONE_STOP_BIT [Default Value]
\b EUSCI_A_UART_TWO_STOP_BITS
//! \param uartMode selects the mode of operation
Valid values are
\b EUSCI_A_UART_MODE
[Default Value],
\b EUSCI_A_UART_IDLE_LINE_MULTI_PROCESSOR_MODE,
锛堟枃浠惰秴闀匡紝鏈?畬鍏ㄦ樉绀猴紝璇蜂笅杞藉悗闃呰?鍓╀綑閮ㄥ垎锛}

我要回帖

更多关于 msp430f5529ipnr 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信