资源简介
HAL库+CubeMX+Stm32F405实现串口DMA不定长收发
HAL库+CubeMX+Stm32F405实现串口DMA不定长收发,详情请看:
代码片段和文件信息
/******************************************************************************
* @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();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6505 2020-07-24 19:26 .mxproject
文件 5787 2020-07-24 19:25 DMA text.ioc
目录 0 2020-07-24 19:25 Drivers\
目录 0 2020-07-24 19:26 Drivers\CMSIS\
目录 0 2020-07-24 19:25 Drivers\CMSIS\Core\
目录 0 2020-07-24 19:25 Drivers\CMSIS\Core\Include\
文件 28208 2019-11-24 10:36 Drivers\CMSIS\Core\Include\cmsis_armcc.h
文件 56497 2019-11-24 10:36 Drivers\CMSIS\Core\Include\cmsis_armclang.h
文件 9014 2019-11-24 10:36 Drivers\CMSIS\Core\Include\cmsis_compiler.h
文件 62344 2019-11-24 10:36 Drivers\CMSIS\Core\Include\cmsis_gcc.h
文件 28414 2019-11-24 10:36 Drivers\CMSIS\Core\Include\cmsis_iccarm.h
文件 1716 2019-11-24 10:36 Drivers\CMSIS\Core\Include\cmsis_version.h
文件 97995 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_armv8mbl.h
文件 168914 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_armv8mml.h
文件 42208 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_cm0.h
文件 50464 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_cm0plus.h
文件 43456 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_cm1.h
文件 104628 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_cm23.h
文件 111854 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_cm3.h
文件 175600 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_cm33.h
文件 123607 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_cm4.h
文件 148588 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_cm7.h
文件 47249 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_sc000.h
文件 110523 2019-11-24 10:36 Drivers\CMSIS\Core\Include\core_sc300.h
文件 11711 2019-11-24 10:36 Drivers\CMSIS\Core\Include\mpu_armv7.h
文件 10958 2019-11-24 10:36 Drivers\CMSIS\Core\Include\mpu_armv8.h
文件 2757 2019-11-24 10:36 Drivers\CMSIS\Core\Include\tz_context.h
目录 0 2020-07-24 19:25 Drivers\CMSIS\Core\Template\
目录 0 2020-07-24 19:25 Drivers\CMSIS\Core\Template\ARMv8-M\
文件 1877 2019-11-24 10:36 Drivers\CMSIS\Core\Template\ARMv8-M\main_s.c
文件 6001 2019-11-24 10:36 Drivers\CMSIS\Core\Template\ARMv8-M\tz_context.c
............此处省略1200个文件信息
- 上一篇:公式识别软件
- 下一篇:modtran4.0
相关资源
- Qt5 串口调试助手源代码 漂亮界面版
- zigbee串口透传代码
- qt下支持中文的串口调试助手
- 虚拟串口 Virtual Com.rar
- WIN32API串口发送
- ZNetCom 以太网串口转换设备配置工具
- 易表.net10.3 Build 1310(附破解)+龙族小
- 基于CubeMX的stm32F446的CAN通信实现——
- CC2540/CC2541主从一体化透传源码支持串
- HAL库实现Stm32延时与计时例程
- STM32 USB转串口驱动 Virtual COM Port Driv
- 基于QT的串口工具——实时显示波形
- ZYNQ PL扩展串口_使用UartliteIP核
- STM32 之间实现串口通信
- Cypress公司的CyUSBSusb转串口驱动
- STM32 串口激光测距 外加服务器程序,
- 带波形显示的串口调试助手
- 基于windows的蓝牙扫描、连接、通讯
- stm32F407ZGT6+cubex生成HAL库工程+软件模拟
- FTDI转usb串口驱动安装教程
- STM32F103 战舰V3基础例程(HAL库版)
- STM32的DMA方式实现SD卡存储
- LabWindowsCVI数据采集与串口通信典型应
- 虚拟串口程序操作系统原理大作业
- 通用蓝牙串口调试工具
- HAL库stm32F429IGADC DMA
- 51单片机与CPLD的串口通信
- 基于FPGA-VERILOG语言的DS18B20温度检测带
- STM32 USB转串口驱动 Virtual COM Port Driv
- USB转串口程序
评论
共有 条评论