资源简介
工程实现了RS232 和RS485通过DMA实现收发数据
这是本人第一次在CSDN上传文件,可能还会有许多不足,希望大家可以见谅
有什么问题可以直接联系我
代码片段和文件信息
/*!
\file gd32f30x_it.c
\brief interrupt service routines
\version 2017-02-10 V1.0.0 firmware for GD32F30x
\version 2018-10-10 V1.1.0 firmware for GD32F30x
\version 2018-12-25 V2.0.0 firmware for GD32F30x
*/
/*
Copyright (c) 2018 GigaDevice Semiconductor Inc.
All rights reserved.
Redistribution and use in source and binary forms with or without modification
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT
INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT
NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY
WHETHER IN CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
*/
#include “gd32f30x_it.h“
#include “main.h“
#include “systick.h“
#include “usart.h“
FlagStatus receive_flag;
/*!
\brief this function handles NMI exception
\param[in] none
\param[out] none
\retval none
*/
void NMI_Handler(void)
{
}
/*!
\brief this function handles HardFault exception
\param[in] none
\param[out] none
\retval none
*/
void HardFault_Handler(void)
{
/* if Hard Fault exception occurs go to infinite loop */
while (1){
}
}
/*!
\brief this function handles MemManage exception
\param[in] none
\param[out] none
\retval none
*/
void MemManage_Handler(void)
{
/* if Memory Manage exception occurs go to infinite loop */
while (1){
}
}
/*!
\brief this function handles BusFault exception
\param[in] none
\param[out] none
\retval none
*/
void BusFault_Handler(void)
{
/* if Bus Fault exception occurs go to infinite loop */
while (1){
}
}
/*!
\brief this function handles UsageFault exception
\param[in] none
\par
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3852 2020-09-18 10:00 GD32F303-uart(dma)\app\gd32f30x_it.c
文件 2675 2019-05-30 17:33 GD32F303-uart(dma)\app\gd32f30x_it.h
文件 2618 2019-05-30 17:33 GD32F303-uart(dma)\app\gd32f30x_libopt.h
文件 710 2020-10-23 15:47 GD32F303-uart(dma)\app\main.c
文件 1956 2020-07-24 14:16 GD32F303-uart(dma)\app\main.h
文件 2038 2019-05-30 17:33 GD32F303-uart(dma)\app\readme.txt
文件 3384 2020-08-10 14:23 GD32F303-uart(dma)\app\systick.c
文件 2197 2020-08-07 17:52 GD32F303-uart(dma)\app\systick.h
文件 507 2020-07-31 11:06 GD32F303-uart(dma)\ConvertToIARReport.txt
文件 8922 2020-08-05 11:46 GD32F303-uart(dma)\driver\gd32f303led_eval.c\gd32f303e_eval.c
文件 6102 2020-07-01 19:36 GD32F303-uart(dma)\driver\gd32f303led_eval.c\gd32f303e_eval.h
文件 861 2020-09-22 14:59 GD32F303-uart(dma)\driver\led\led.c
文件 302 2020-08-07 11:38 GD32F303-uart(dma)\driver\led\led.h
文件 10155 2020-10-23 15:49 GD32F303-uart(dma)\driver\usart\usart.c
文件 490 2020-09-07 17:06 GD32F303-uart(dma)\driver\usart\usart.h
文件 0 2020-07-31 18:13 GD32F303-uart(dma)\project\.me
文件 751 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 1 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 1 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 53 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 176 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 42 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 98 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 173 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 204231 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 426 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 392 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 333 2020-07-31 18:14 GD32F303-uart(dma)\project\.me
文件 102 2020-07-31 18:13 GD32F303-uart(dma)\project\.me
文件 166260 2020-09-02 17:29 GD32F303-uart(dma)\project\Debug\Exe\template_project.out
............此处省略184个文件信息
评论
共有 条评论