资源简介
永磁同步电机id=0控制,STM32F4程序,程序很全面,双闭环控制,电流环和转速环,矢量控制,适合初学者
代码片段和文件信息
/******************************************************************************
* @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();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 31 2019-03-24 09:38 memo\memo\.extSettings
文件 22736 2019-03-24 09:57 memo\memo\.mxproject
文件 28208 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\cmsis_armcc.h
文件 56497 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\cmsis_armclang.h
文件 9014 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\cmsis_compiler.h
文件 62344 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\cmsis_gcc.h
文件 28414 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\cmsis_iccarm.h
文件 1716 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\cmsis_version.h
文件 97995 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_armv8mbl.h
文件 168914 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_armv8mml.h
文件 42208 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_cm0.h
文件 50464 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_cm0plus.h
文件 43456 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_cm1.h
文件 104628 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_cm23.h
文件 111854 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_cm3.h
文件 175600 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_cm33.h
文件 123607 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_cm4.h
文件 148588 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_cm7.h
文件 47249 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_sc000.h
文件 110523 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\core_sc300.h
文件 11711 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\mpu_armv7.h
文件 10958 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\mpu_armv8.h
文件 2757 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Include\tz_context.h
文件 1877 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Template\ARMv8-M\main_s.c
文件 6001 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core\Template\ARMv8-M\tz_context.c
文件 16600 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core_A\Include\cmsis_armcc.h
文件 16510 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core_A\Include\cmsis_armclang.h
文件 5456 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core_A\Include\cmsis_compiler.h
文件 12551 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core_A\Include\cmsis_cp15.h
文件 21749 2019-03-12 16:39 memo\memo\Drivers\CMSIS\Core_A\Include\cmsis_gcc.h
............此处省略1490个文件信息
相关资源
- STM32F407ZGT6实现HAL库SPI扩展FLASH功能M
- 数字信号发生器.zip
- 广东省电设一等奖作品源码_智能家居
- STM32F407VE支持4位EMMC读写和FATFS
- 基于HAL库驱动ov7670.rar
- STM32F407音频处理代码-Cortex-M4 DSP数字音
- stm32f407igt6-grbl-motioncontrol-port.rar
- STM32F405RGT6串口例程
- 06 canOpen PDO远程同步.zip
- STM32F407VET6互补SPWM+死区+PID +ADC+TFT LC
- 20180422_采频率问题.zip
- STM32F4_xx移植grbl_CNC
- STM32F407+FreeRTOS+LAN8720+LWIP1.4.1+DHCP+UDP+标
- STM32F407+FreeRTOS+LAN8720+LWIP1.4.1+DHCP+标准
- STM32F407 LAN9252 Ethercat HBI.rar
- STM32F4_LCD12864驱动
- stm32f407官方库
- STM32F407VE_ETH_RMII+LAN8720源码
- stmf429开发板基础例程序
- STM32F4+ucosIII+LWIP+DP83848
- STM32F407中文手册(完全版) 高清完整
- STM32F407 TCP服务器例程
- STM32F407+LWIP+DP83848移植例程
- STM32F407_ESP8266连接机智云
- STM32F407+FREERTOS模板程序
- STM32F429驱动迪文串口屏程序
- stm32f407 ili9341屏幕驱动 HAL库 带FreeR
- stm32f407 双通道ADC DMA采集代码
- STM32F4xx HAL驱动说明书
- STM32F407 uCOS-III FAT32 I2C LCD SD卡
评论
共有 条评论