资源简介
基于硬石科技上位机的PID使用程序,利用stm32HAL库写的。主要功能只是利用F4的内部AD采集数据然后从DA输出,期间可以使用硬石的上位机观察DAC输出的数据,方便进行PID参数的调试
代码片段和文件信息
/******************************************************************************
* @file main_s.c
* @brief Code template for secure main function
* @version V1.1.1
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2013-2018 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an AS IS BASIS WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* Use CMSE intrinsics */
#include
#include “RTE_Components.h“
#include CMSIS_device_header
/* TZ_START_NS: Start address of non-secure application */
#ifndef TZ_START_NS
#define TZ_START_NS (0x200000U)
#endif
/* typedef for non-secure callback functions */
typedef void (*funcptr_void) (void) __attribute__((cmse_nonsecure_call));
/* Secure main() */
int main(void) {
funcptr_void NonSecure_ResetHandler;
/* Add user setup code for secure part here*/
/* Set non-secure main stack (MSP_NS) */
__TZ_set_MSP_NS(*((uint32_t *)(TZ_START_NS)));
/* Get non-secure reset handler */
NonSecure_ResetHandler = (funcptr_void)(*((uint32_t *)((TZ_START_NS) + 4U)));
/* Start non-secure state software application */
NonSecure_ResetHandler();
/* Non-secure software does not return this code is not executed */
while (1) {
__NOP();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7633 2019-07-24 21:35 ADC_DAC_PID\.mxproject
文件 7938 2019-07-24 21:35 ADC_DAC_PID\ADC_DAC_PID.ioc
文件 28208 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\cmsis_armcc.h
文件 56497 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\cmsis_armclang.h
文件 9014 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\cmsis_compiler.h
文件 62344 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\cmsis_gcc.h
文件 28414 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\cmsis_iccarm.h
文件 1716 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\cmsis_version.h
文件 97995 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_armv8mbl.h
文件 168914 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_armv8mml.h
文件 42208 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_cm0.h
文件 50464 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_cm0plus.h
文件 43456 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_cm1.h
文件 104628 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_cm23.h
文件 111854 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_cm3.h
文件 175600 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_cm33.h
文件 123607 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_cm4.h
文件 148588 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_cm7.h
文件 47249 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_sc000.h
文件 110523 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\core_sc300.h
文件 11711 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\mpu_armv7.h
文件 10958 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\mpu_armv8.h
文件 2757 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Include\tz_context.h
文件 1877 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Template\ARMv8-M\main_s.c
文件 6001 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core\Template\ARMv8-M\tz_context.c
文件 16600 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core_A\Include\cmsis_armcc.h
文件 16510 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core_A\Include\cmsis_armclang.h
文件 5456 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core_A\Include\cmsis_compiler.h
文件 12551 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core_A\Include\cmsis_cp15.h
文件 21749 2019-05-26 19:06 ADC_DAC_PID\Drivers\CMSIS\Core_A\Include\cmsis_gcc.h
............此处省略1238个文件信息
相关资源
- stm32+jy901+hc06+角度准确输出+上位机3
- STM32串口通信协议和状态机模式程序
- STM32F0xx固件库
- STM32_SX1278实现LORA通信STM32F103完美实现
- STM32智能开关窗设备.zip
- stm32 bootloader U盘更新APP程序
- 智能农业大棚stm32 库管系统
- Huawei_LiteOS_秉火STM32F103_20181126
- stm32f107ptp移植程序
- stm32mp3模块
- STM32407_UCOSIII_LWIP
- 基于固件库的STM32F103ZET6工程模板ARM
- STM32F407编码器
- STM32 STM32F103C8T6 三星S6D05A1_TFTLCD_32048
- 正点原子STM32F407探索者PCB图+原理图
- 基于STM32的智能管家门控系统设计与实
- STM32F407 USB Device HID Full Speed 例程
- 程序是STM32和陀螺仪的I2C通信程序
- 零死角玩转STM32(完整打包)
- 带显示的MAX31865读取PT200测温stm32平台
- 舵机控制TIM1
- STM32F207数据手册官方版
- 基于STM32ZET6正点原子战舰板的IIC接口
- DAC8562配套资料
- stm32原理图,pcb图
- STM32 pcb图带wifi接口,rc522接口
- stm32f10x中文参考手册231483
- 项目综合:stm32机械臂完整程序
- ina226 stm32f4
- stm32F103GRBL系统脱机移植带屏幕控制
评论
共有 条评论