TimUsart1

所属分类:单片机开发
开发工具:C/C++
文件大小:5520KB
下载次数:0
上传日期:2021-04-20 20:45:18
上 传 者xm_123
说明:  制作一个程序,可从PC端向单片机发送指令(高低电平时间)控制单片机输出方波。 要求如下: 1. 方波控制精度1ms,方波高低电平控制时间在1ms至一天零1ms中的任意值。 2. 单片机通信应该有抗干扰功能,pc发的协议任何一个字节错误都应该拒绝执行。 3. 需要绘制流程图 4. 在不参考其他代码的情况下在两小时完成编写(可以使用club进行生成库文件修改,参考百度或者手册)。 5. 自己写的程序逐行注释 6. 变量名用英文,变量英文意思应该能表述这个变量 7. 注释时候 需要意义 不要直译程序 8. 上电的时候打印编译时间
(Make a program, which can send instructions (high and low level time) from PC to MCU to control MCU to output square wave. The requirements are as follows: one . The square wave control precision is 1ms, and the square wave high and low level control time is any value from 1ms to 1ms a day. two . MCU communication should have anti-interference function, any byte error of the protocol sent by PC should be refused to execute. three . A flow chart is needed four . In the case of no reference to other code to complete the preparation in two hours (you can use the club to generate library file modification, refer to Baidu or manual). five . Write your own program line by line comments six . Variable name in English, variable English meaning should be able to express the variable seven . Notes need meaning, not literal programs eight . Print compile time when power on)

文件列表:
TimUsart1\.mxproject (6064, 2020-07-14)
TimUsart1\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xe.h (974113, 2020-07-11)
TimUsart1\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h (7481, 2020-07-11)
TimUsart1\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h (2029, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\cmsis_armcc.h (28208, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\cmsis_armclang.h (56497, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\cmsis_compiler.h (9014, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\cmsis_gcc.h (62344, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\cmsis_iccarm.h (28414, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\cmsis_version.h (1716, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_armv8mbl.h (97995, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_armv8mml.h (168914, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_cm0.h (42208, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_cm0plus.h (50464, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_cm1.h (43456, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_cm23.h (104628, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_cm3.h (111854, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_cm33.h (175600, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_cm4.h (123607, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_cm7.h (148588, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_sc000.h (47249, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\core_sc300.h (110523, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\mpu_armv7.h (11711, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\mpu_armv8.h (10958, 2020-07-11)
TimUsart1\Drivers\CMSIS\Include\tz_context.h (2757, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h (204810, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal.h (11594, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_cortex.h (17552, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_def.h (7177, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma.h (18222, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma_ex.h (12842, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_exti.h (12220, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash.h (9328, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash_ex.h (36979, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio.h (12054, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio_ex.h (36226, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_pwr.h (12098, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_rcc.h (68249, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_rcc_ex.h (101311, 2020-07-11)
TimUsart1\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_tim.h (115421, 2020-07-11)
... ...

近期下载者

相关文件


收藏者