资源简介
基于stm32c8t6单片机的快递箱程序:1、开始密码界面;2、密码正确舵机自动开锁;3、称重模块显示重量并且有超重报警;4、OLED屏幕实时显示
代码片段和文件信息
/**************************************************************************//**
* @file core_cm3.c
* @brief CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version V1.30
* @date 30. October 2009
*
* @note
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* @par
* ARM Limited (ARM) is supplying this software for use with Cortex-M
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* @par
* THIS SOFTWARE IS PROVIDED “AS IS“. NO WARRANTIES WHETHER EXPRESS IMPLIED
* OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
* ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
******************************************************************************/
#include
/* define compiler specific symbols */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
/* ################### Compiler specific Intrinsics ########################### */
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */
/**
* @brief Return the Process Stack Pointer
*
* @return ProcessStackPointer
*
* Return the actual process stack pointer
*/
__ASM uint32_t __get_PSP(void)
{
mrs r0 psp
bx lr
}
/**
* @brief Set the Process Stack Pointer
*
* @param topOfProcStack Process Stack Pointer
*
* Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
__ASM void __set_PSP(uint32_t topOfProcStack)
{
msr psp r0
bx lr
}
/**
* @brief Return the Main Stack Pointer
*
* @return Main Stack Pointer
*
* Return the curren
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\CORE\
文件 17273 2010-06-07 10:25 AA称重+舵机开锁+OLED\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 AA称重+舵机开锁+OLED\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 AA称重+舵机开锁+OLED\CORE\startup_stm32f10x_hd.s
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\ANJIAN\
文件 3619 2018-11-18 19:44 AA称重+舵机开锁+OLED\HARDWARE\ANJIAN\anjian.c
文件 904 2018-09-21 21:35 AA称重+舵机开锁+OLED\HARDWARE\ANJIAN\anjian.h
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\EXTI\
文件 11794 2018-11-18 21:38 AA称重+舵机开锁+OLED\HARDWARE\EXTI\exti.c
文件 596 2018-11-18 20:50 AA称重+舵机开锁+OLED\HARDWARE\EXTI\exti.h
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\KEY\
文件 1990 2018-11-18 21:05 AA称重+舵机开锁+OLED\HARDWARE\KEY\key.c
文件 1747 2018-11-18 21:12 AA称重+舵机开锁+OLED\HARDWARE\KEY\key.h
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\LED\
文件 773 2018-11-18 20:17 AA称重+舵机开锁+OLED\HARDWARE\LED\led.c
文件 638 2012-09-13 09:45 AA称重+舵机开锁+OLED\HARDWARE\LED\led.h
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\MOTOR_CONTROL\
文件 643 2018-09-22 14:43 AA称重+舵机开锁+OLED\HARDWARE\MOTOR_CONTROL\motor_control.c
文件 301 2018-09-23 18:12 AA称重+舵机开锁+OLED\HARDWARE\MOTOR_CONTROL\motor_control.h
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\OLED\
文件 15701 2018-11-18 19:01 AA称重+舵机开锁+OLED\HARDWARE\OLED\oled.c
文件 2233 2018-11-18 18:59 AA称重+舵机开锁+OLED\HARDWARE\OLED\oled.h
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\STMFLASH\
文件 3814 2012-09-17 17:19 AA称重+舵机开锁+OLED\HARDWARE\STMFLASH\stmflash.c
文件 1589 2012-09-17 17:19 AA称重+舵机开锁+OLED\HARDWARE\STMFLASH\stmflash.h
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\TIMER\
文件 2323 2018-11-18 20:14 AA称重+舵机开锁+OLED\HARDWARE\TIMER\timer.c
文件 585 2012-09-14 17:59 AA称重+舵机开锁+OLED\HARDWARE\TIMER\timer.h
目录 0 2019-01-19 13:39 AA称重+舵机开锁+OLED\HARDWARE\WEIGHT\
文件 814 2018-11-18 19:09 AA称重+舵机开锁+OLED\HARDWARE\WEIGHT\weight.c
............此处省略211个文件信息
- 上一篇:51单片机常用辅助开发软件合集
- 下一篇:炫酷的贪吃蛇
相关资源
-
stm32 keil用jli
nk4.40驱动 - stm32f103 编码器测试程序
- ADF4351控制代码
- stm32 42相步进电机驱动完整工程
- 基于stm32f103和OV7725的监控拍照计数显
- STM32F103步进电机、压力传感器、温湿
- STM32F1控制六自由度机器人 程序源码,
- 基于stm32的仿生机械手程序-基础
- STM32F103 驱动四路MAX6675 采集温度 LC
- stm32f1 直流电机控制
- 18位8通道AD7608驱动程序.rar
- stm32I读写AT24c02IIC通讯
- STM32F407 USB 自定义HID实现代码
- 最新最全1.8寸tft液晶屏st7735资料及其
- 烟雾检测报警装置资料
- STM32F103无刷直流电机的转速闭环.zip
- STM32串口中断接收HAL库
- STM32F103中文手册
- FREERTOS_STM32_迪文串口屏移植
- STM32F103 C8T6最小核心板 和HX711称重/压
- STM32f103+SIM900A-GSM模块通讯程序
- STM32F429 485实验源码(hal库)
- stm32简易计算器
- STM32F103单片机基于RS485总线的MODBUS通讯
- 基于stm32的环境监测系统
- 将STM32内部Flash虚拟成U盘通过复制bi
- STM32采集风向
- STM32采集风速调试成功
- STM32F103ZET6--MPU6050DMP
- STM32F103输入捕获
评论
共有 条评论