你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

查看: 3660|回复: 0

Primer1 PWM analysis and CAN! V1.0

[复制链接]

134

主题

4489

回帖

239

蝴蝶豆

版主

最后登录
2020-12-9
发表于 2010-6-22 09:34:49 | 显示全部楼层 |阅读模式
转载外国的例程,包含有操作系统。

/********************* (C) COPYRIGHT RAISONANCE S.A.S. *********************************/
/********************* (C) COPYRIGHT STMicroelectronics ********************************/
/********************* (C) Matthias ****************************************************/
/* optimized for PRIMER1, extended and amended by Matthias email webmaster@tg-info.de

Project &quotrimer1 PWM analysis"

!! Hardware change !!
There must be two interruptions tracks and two new connections are soldered.
The Can driver is connected the external.
see: "_Hardware_change\Primer_bot.png"

What goes
- LEds
- CAN
- Vbat
- Temp sensor
- Shutdown
- 3 axis acceleration sensor
- Backlight ON/Off
- Display
- More fronts         generate with &quotrimer_Fonts_V1.1.xls"
- Background image    Background image is &quotictures/bmp_background_image.h" generate with "Create_background_image.xls"
- Symbols images with Transparent  generate with "Create_BMP_header.xls"


/* ------------------------------------------------------------------------------------*/
/* Functions and Variable Description                                                  */
/* ------------------------------------------------------------------------------------*/
/* ------------ AccelSensor.c ------------------------------------------------------------- */
   extern void  AccelSensor_Init_Sensor(void);              // needs to be started once
   extern void  AccelSensor_Read_Sensor(void);              // After the call the following variables are set
   extern s16   AccelSensor_X_Roh_s16;                      // Accel Sensor X unfiltered
   extern s16   AccelSensor_Y_Roh_s16;                      // Accel Sensor Y unfiltered
   extern s16   AccelSensor_Z_Roh_s16;                      // Accel Sensor Z unfiltered
   extern s16   AccelSensor_X_Fil_s16;                      // Accel Sensor X filtered
   extern s16   AccelSensor_Y_Fil_s16;                      // Accel Sensor Y filtered
   extern s16   AccelSensor_Z_Fil_s16;                      // Accel Sensor Z filtered
/* ------------ BackLight.c --------------------------------------------------------------- */
   extern void  BackLight_On(void);                         // turn on  the LCD backlight
   extern void  BackLight_Off(void);                        // turn off the LCD backlight
/* ------------ Buzzer.c --------------------------------------------------------------- */
enum            BUZZER_mode
{
   BUZZER_UNDEF      = -1,         /*!

Primer1-PWM-analysis-and-CAN-V1.0.zip

下载

1.18 MB, 下载次数: 16, 下载积分: ST金币 -1

回复

使用道具 举报

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
微信公众号二维码 微信公众号
手机版二维码 手机版