rapidstm32

所属分类:其他
开发工具:Others
文件大小:473KB
下载次数:104
上传日期:2010-01-12 17:17:04
上 传 者cybernox
说明:  RapidSTM32 is a free set of MATLAB blocks for automatic code generation (digital filters, control systems...) for your STM32 processors

文件列表:
rapidstm32 (0, 2009-08-02)
rapidstm32\blocks (0, 2009-08-02)
rapidstm32\blocks\adc1_callback.p (2679, 2009-08-02)
rapidstm32\blocks\comrx_callback.p (2035, 2009-08-02)
rapidstm32\blocks\comsetup_callback.p (829, 2009-08-02)
rapidstm32\blocks\dac_callback.p (943, 2009-08-02)
rapidstm32\blocks\digitalin_callback.p (903, 2009-08-02)
rapidstm32\blocks\digitalout_callback.p (904, 2009-08-02)
rapidstm32\blocks\pwm_callback.p (1599, 2009-08-02)
rapidstm32\blocks\rapidstm32_addon_lib.mdl (22445, 2009-07-13)
rapidstm32\blocks\rapidstm32_config_lib.mdl (21333, 2009-07-08)
rapidstm32\blocks\rapidstm32_lib.mdl (21180, 2009-06-28)
rapidstm32\blocks\rapidstm32_onchip_lib.mdl (40065, 2009-08-02)
rapidstm32\blocks\rtstep_callback.p (480, 2009-08-02)
rapidstm32\blocks\slblocks.m (475, 2009-05-23)
rapidstm32\blocks\sysclk_callback.p (1807, 2009-08-02)
rapidstm32\blocks\tlc_c (0, 2009-08-02)
rapidstm32\blocks\tlc_c\adc1.mexw32 (23040, 2009-05-17)
rapidstm32\blocks\tlc_c\adc1.tlc (20400, 2009-08-02)
rapidstm32\blocks\tlc_c\comrx.p (1715, 2009-08-02)
rapidstm32\blocks\tlc_c\com_config.p (634, 2009-08-02)
rapidstm32\blocks\tlc_c\com_config.tlc (318, 2009-07-03)
rapidstm32\blocks\tlc_c\dac_config.p (932, 2009-08-02)
rapidstm32\blocks\tlc_c\dac_config.tlc (7081, 2009-07-31)
rapidstm32\blocks\tlc_c\digital_in.p (884, 2009-08-02)
rapidstm32\blocks\tlc_c\digital_in.tlc (5011, 2009-07-08)
rapidstm32\blocks\tlc_c\digital_out.p (668, 2009-08-02)
rapidstm32\blocks\tlc_c\digital_out.tlc (5248, 2009-07-06)
rapidstm32\blocks\tlc_c\disp_debug_info.tlc (8947, 2009-07-01)
rapidstm32\blocks\tlc_c\pwm.mexw32 (18944, 2009-06-02)
rapidstm32\blocks\tlc_c\pwm.tlc (7294, 2009-06-02)
rapidstm32\blocks\tlc_c\rapidstm32_conf.tlc (2034, 2009-05-12)
rapidstm32\blocks\tlc_c\rapidstm32_it.tlc (1774, 2009-06-17)
rapidstm32\blocks\tlc_c\rtstep.p (407, 2009-08-02)
rapidstm32\blocks\tlc_c\rtstep.tlc (310, 2009-07-03)
rapidstm32\blocks\tlc_c\sysclk_config.mexw32 (21504, 2009-07-08)
rapidstm32\blocks\tlc_c\sysclk_config.tlc (17036, 2009-07-08)
rapidstm32\blocks\tlc_c\usarttx.mexw32 (20480, 2009-06-29)
rapidstm32\blocks\tlc_c\usarttx.tlc (12728, 2009-07-31)
rapidstm32\blocks\tlc_c\usart_config.mexw32 (18432, 2009-06-27)
... ...

The followings summarise changes made to the STM3210x firmware library downloaded from STMicroelectronics websites. These changes are needed to make the firmware compatible/optimized for use with Rapid STM32 Blockset. ******************************* stm32f10x.h ******************************* 1. Add #include "rapidstm32_hwdrvlib.h" at the top of stm32f10x.h such that users must, at least, provide definitions of the followings in rapidstm32_hwdrvlib.h 1.1 One of the following to config the device #define STM32F10X_LD /*!< STM32 Low density devices */ #define STM32F10X_MD /*!< STM32 Medium density devices */ #define STM32F10X_HD /*!< STM32 High density devices */ 1.2 Define USE_STDPERIPH_DRIVER or not using #define USE_STDPERIPH_DRIVER 1.3 Define Crystal speed using #define HSE_Value ((uint32_t)8000000) /* 8MHz Crystal */ 2. Comment out the line /* typedef enum {FALSE = 0, TRUE = !FALSE} bool; */ This is to avoid conflicting typedef from Realtime Workshop rtwtypes.h In rtwtypes.h the following is also defined #ifndef TRUE # define TRUE (1U) #endif #ifndef FALSE # define FALSE (0U) #endif This means that "bool" type defined in stm32f10x.h is no longer available. However TRUE/FALSE is still available via definitions in "rtwtypes.h".

近期下载者

相关文件


收藏者