CRC

所属分类:嵌入式/单片机/硬件编程
开发工具:C++
文件大小:7KB
下载次数:57
上传日期:2010-04-01 15:22:35
上 传 者wsrylb
说明:  stm32的CRC代码 需要的可以下载!
(stm32 the CRC code can be downloaded in need!)

文件列表:
CRC\main.c (4826, 2009-04-06)
CRC\stm32f10x_conf.h (3213, 2009-04-06)
CRC\stm32f10x_it.c (4368, 2009-04-06)
CRC\stm32f10x_it.h (1894, 2009-04-06)
CRC (0, 2002-01-01)

/** @page CRC_Example CRC_Example @verbatim ******************** (C) COPYRIGHT 2009 STMicroelectronics ******************* * @file Examples/CRC/readme.txt * @author MCD Application Team * @version V3.0.0 * @date 04/06/2009 * @brief Description of the CRC Example. ****************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. ****************************************************************************** @endverbatim @par Example Description This example shows how to use CRC (cyclic redundancy check) calculation unit to get a CRC code of a given buffer of data word(32-bit), based on a fixed generator polynomial(0x4C11DB7). @par Directory contents - Examples/CRC/stm32f10x_conf.h Library Configuration file - Examples/CRC/stm32f10x_it.c Interrupt handlers - Examples/CRC/stm32f10x_it.h Header for stm32f10x_it.c - Examples/CRC/main.c Main program @par Hardware and Software environment - This example runs on STM32F10x High-Density, STM32F10x Medium-Density and STM32F10x Low-Density Devices. - This example has been tested with STMicroelectronics STM3210E-EVAL (STM32F10x High-Density) and STM3210B-EVAL (STM32F10x Medium-Density) evaluation boards and can be easily tailored to any other supported device and development board. @par How to use it ? In order to make the program work, you must do the following : - Create a project and setup all project configuration - Add the required Library files : - stm32f10x_rcc.c - stm32f10x_crc.c - system_stm32f10x.c - Edit stm32f10x.h file to select the device you are working on. @b Tip: You can tailor the provided project template to run this example, for more details please refer to "stm32f10x_stdperiph_lib_um.chm" user manual; select "Peripheral Examples" then follow the instructions provided in "How to proceed" section. - Link all compiled files and load your image into target memory - Run the example @note - Low-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Medium-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 32 and 128 Kbytes. - High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. *

© COPYRIGHT 2009 STMicroelectronics

*/

近期下载者

相关文件


收藏者