文件名称:ST

  • 所属分类:
  • 其他行业
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2015-06-17
  • 文件大小:
  • 307kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 陆**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

有刷割草机程序

main()

{

unsigned char i   

  _asm( sim )

  Sys_Init()   

  DELAY_1S()

  

  Current_Initialize()

  FC_test()

  Vbat_test()

  //DR1()

  

  

// Upbridge_ON()

Mos_OFF()

  DELAY_time(200)



  SET_ABS_Tflag

    

  if(!DATA_status[3])

    {

     FLASH_enable_write()

     FLASH_CR2 = 0x40

     FLASH_NCR2 = (unsigned char)~0x40

     _asm( NOP )

     DATA_status[0]=0X01

     DATA_status[1]=0X01

     DATA_status[2]=0X01

     DATA_status[3]=0X01

     _asm( NOP )

     read_ID()

     _asm( NOP )

     ID_ACCdata[0]=LED_NUM

     ID_ACCdata[1]=LED_RATE   

     ID_ACCdata[2]=0XFF

     ID_ACCdata[3]=0XFF

     _asm( NOP )

     FLASH_disenable_write()

    }

    

    CLR_ID_FLAG

    read_ID()

    if((LED_NUM!=ID_ACCdata[0])&&(LED_RATE!=ID_ACCdata[1]))

   {SET_ID_FLAG }

    AD_RUNInit()

    LED_NUM=0X00

    LED_RATE=0X00   



  RUN_num=0x04

VOLIO_ON

bit_break=0x00

  VOLdelay_15s=0xFF

  TIM1_BKR |= 0x80

  TIM1_CR1 |= 0x01 //开启

  TIM6_CR1 |= 0x01 //开启

  _asm( rim )

  

  while (1)-Brush with the lawn mower
(系统自动生成,下载前可以参看下载内容)

下载文件列表





ST地暖TEST\braek_code.c

..........\Debug\black_code.ls

..........\.....\black_code.o

..........\.....\braek_code.ls

..........\.....\braek_code.o

..........\.....\break_code.ls

..........\.....\break_code.o

..........\.....\cease_code.ls

..........\.....\cease_code.o

..........\.....\cruise_code.ls

..........\.....\cruise_code.o

..........\.....\e2prom_code.ls

..........\.....\e2prom_code.o

..........\.....\hall_code.ls

..........\.....\hall_code.o

..........\.....\help_code.ls

..........\.....\help_code.o

..........\.....\init.ls

..........\.....\init.o

..........\.....\interrupt.ls

..........\.....\interrupt.o

..........\.....\learn_code.ls

..........\.....\learn_code.o

..........\.....\led_code.ls

..........\.....\led_code.o

..........\.....\lock_code.ls

..........\.....\lock_code.o

..........\.....\main.ls

..........\.....\main.o

..........\.....\mos_drive.ls

..........\.....\mos_drive.o

..........\.....\pwm_code.ls

..........\.....\pwm_code.o

..........\.....\sensorless_code.ls

..........\.....\sensorless_code.o

..........\.....\sp_carry.ls

..........\.....\sp_carry.o

..........\.....\stm8_interrupt_vector.ls

..........\.....\stm8_interrupt_vector.o

..........\.....\st_normallock.elf

..........\.....\st_normallock.lkf

..........\.....\st_normallock.map

..........\.....\st_normallock.s19

..........\.....\st_normallock.sm8

..........\.....\st_normallock22.s19

..........\.....\st_normallock35.s19

..........\.....\st_normallock36.s19

..........\.....\st_normallock54.s19

..........\.....\st_normallock7f.s19

..........\.....\time_manage.ls

..........\.....\time_manage.o

..........\.....\uart_code.ls

..........\.....\uart_code.o

..........\.....\vbat_code.ls

..........\.....\vbat_code.o

..........\.....\XuanWeiStm8ProgmmerConfig.xml

..........\.....\有刷17.5V-18.5V.s19

..........\.....\有刷19-23V.s19

..........\E2PROM_code.c

..........\Init.c

..........\interrupt.c

..........\led_code.c

..........\LIB\defin_ram.h

..........\...\ext_defin_ram.h

..........\...\func.h

..........\...\Lib_bits.h

..........\...\STM8S903K.h

..........\main.c

..........\mos_drive.c

..........\pwm_code.c

..........\Release\st_normallock.lkf

..........\sp_carry.c

..........\stm8_interrupt_vector.c

..........\ST_LXNORAMLLOCK.stw

..........\ST_LXNORAMLLOCK.wed

..........\st_normallock.dep

..........\st_normallock.stp

..........\ST_NORMALLOCK.wed

..........\Time_Manage.c

..........\Vbat_code.c

..........\Debug

..........\LIB

..........\Release

ST地暖TEST

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org