资源简介
HAL库实现Stm32延时与计时例程
教程可参考:https://lindoglog.blog.csdn.net/article/details/107191273
代码片段和文件信息
/******************************************************************************
* @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();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5674 2020-07-11 15:16 .mxproject
目录 0 2020-07-11 15:12 Drivers\
目录 0 2020-07-11 15:12 Drivers\CMSIS\
目录 0 2020-07-11 15:12 Drivers\CMSIS\Core\
目录 0 2020-07-11 15:12 Drivers\CMSIS\Core\Include\
文件 28208 2019-11-24 10:47 Drivers\CMSIS\Core\Include\cmsis_armcc.h
文件 56497 2019-11-24 10:47 Drivers\CMSIS\Core\Include\cmsis_armclang.h
文件 9014 2019-11-24 10:47 Drivers\CMSIS\Core\Include\cmsis_compiler.h
文件 62344 2019-11-24 10:47 Drivers\CMSIS\Core\Include\cmsis_gcc.h
文件 28414 2019-11-24 10:47 Drivers\CMSIS\Core\Include\cmsis_iccarm.h
文件 1716 2019-11-24 10:47 Drivers\CMSIS\Core\Include\cmsis_version.h
文件 97995 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_armv8mbl.h
文件 168914 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_armv8mml.h
文件 42208 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_cm0.h
文件 50464 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_cm0plus.h
文件 43456 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_cm1.h
文件 104628 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_cm23.h
文件 111854 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_cm3.h
文件 175600 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_cm33.h
文件 123607 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_cm4.h
文件 148588 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_cm7.h
文件 47249 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_sc000.h
文件 110523 2019-11-24 10:47 Drivers\CMSIS\Core\Include\core_sc300.h
文件 11711 2019-11-24 10:47 Drivers\CMSIS\Core\Include\mpu_armv7.h
文件 10958 2019-11-24 10:47 Drivers\CMSIS\Core\Include\mpu_armv8.h
文件 2757 2019-11-24 10:47 Drivers\CMSIS\Core\Include\tz_context.h
目录 0 2020-07-11 15:12 Drivers\CMSIS\Core\Template\
目录 0 2020-07-11 15:12 Drivers\CMSIS\Core\Template\ARMv8-M\
文件 1877 2019-11-24 10:47 Drivers\CMSIS\Core\Template\ARMv8-M\main_s.c
文件 6001 2019-11-24 10:47 Drivers\CMSIS\Core\Template\ARMv8-M\tz_context.c
目录 0 2020-07-11 15:12 Drivers\CMSIS\Core_A\
............此处省略1079个文件信息
相关资源
- STM32L471_HAL_SPI1_W24Q64读写代码
- nonlinear systems-Hassan K. Khalil
- Qt5+Halcon联合Demo
- 小数FIR延时宽带波束形成
- STM32F4HAL和LL库函数手册
- stm32F407ZGT6+cubex生成HAL库工程+软件模拟
- Lie group Lie algebras and representations By
- halcon10永久破解DLL
- STM32F103 战舰V3基础例程(HAL库版)
- halcon17.12完美永久破解
- halcon学习网资料供大家学习
- HAL库stm32F429IGADC DMA
- Nonlinear Systems (3rd Edition)HASSAN K. K
- 非线性控制系统答案 第三版 Hassan
- STM32CubeMX中文版
- Meshalab安装包的压缩包
- halcon 17.12 永久和谐
- 正点原子stm32f429 cubemx sdram工程
- 09HAL_WIFI_01PassThrough.rar
- spi master.zip94106
- HAL库+CubeMX实现Stm32串口不定长接收
- STM32 HAL库函数说明手册
- STM32CubeMX通过ESP8266 AT指令MQTT上阿里云
- Nonlinear Systems (3rd Edition) by Hassan
- Halcon操作例程
- HAL库 STM32 USART1和USART2 DMA模式透传。
- halcon19.11 和谐文件
- STM32F103移植的UCOSIIIHAL库
- LTE and the Evolution to 4G Wireless_ Design a
- STM32CubeMX_v5.2.0.rar
评论
共有 条评论