-
大小: 33.46MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-07-11
- 语言: 其他
- 标签: tm4c123gh6pm
资源简介
tm4c123gh6pm学习资料 各种库和片上资源驱动
代码片段和文件信息
//*****************************************************************************
//
// bl_autobaud.c - Automatic baud rate detection code.
//
// Copyright (c) 2006-2013 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use solely and
// exclusively on TI‘s microcontroller products. The software is owned by
// TI and/or its suppliers and is protected under applicable copyright
// laws. You may not combine this software with “viral“ open-source
// software in order to form a larger program.
//
// THIS SOFTWARE IS PROVIDED “AS IS“ AND WITH ALL FAULTS.
// NO WARRANTIES WHETHER EXPRESS IMPLIED OR STATUTORY INCLUDING BUT
// NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT UNDER ANY
// CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR CONSEQUENTIAL
// DAMAGES FOR ANY REASON WHATSOEVER.
//
// This is part of revision 1.1 of the Tiva Firmware Development Package.
//
//*****************************************************************************
#include
#include “inc/hw_gpio.h“
#include “inc/hw_memmap.h“
#include “inc/hw_nvic.h“
#include “inc/hw_types.h“
#include “bl_config.h“
#include “boot_loader/bl_uart.h“
//*****************************************************************************
//
// If using auto-baud make sure that the data buffer is large enough.
//
//*****************************************************************************
#if defined(UART_ENABLE_UPDATE) && defined(UART_AUTOBAUD) && (BUFFER_SIZE < 20)
#error ERROR: BUFFER_SIZE must be >= 20!
#endif
//*****************************************************************************
//
//! \addtogroup bl_autobaud_api
//! @{
//
//*****************************************************************************
#if defined(UART_ENABLE_UPDATE) && defined(UART_AUTOBAUD) || defined(DOXYGEN)
//*****************************************************************************
//
// This define holds the multiplier for the pulse detection algorithm. The
// value is used to generate a fractional difference detection of
// 1 / PULSE_DETECTION_MULT.
//
//*****************************************************************************
#define PULSE_DETECTION_MULT 3
//*****************************************************************************
//
// This define holds the minimum number of edges to successfully sync to a
// pattern of 2 bytes.
//
//*****************************************************************************
#define MIN_EDGE_COUNT 18
//*****************************************************************************
//
// This global holds the number of edges that have been stored in the global
// buffer g_pui32DataBuffer.
//
//*****************************************************************************
static volatile
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 9449 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_autobaud.c
文件 44528 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_can.c
文件 2873 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_can.h
文件 10645 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_can_timing.h
文件 8225 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_check.c
文件 1627 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_check.h
文件 10623 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_commands.h
文件 6483 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_config.c
文件 9107 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_crc32.c
文件 2044 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_crc32.h
文件 3298 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_crystal.h
文件 2433 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_decrypt.c
文件 1530 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_decrypt.h
文件 7330 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_flash.c
文件 5945 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_flash.h
文件 2853 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_hooks.h
文件 4937 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_i2c.c
文件 2891 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_i2c.h
文件 3004 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_li
文件 1656 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_li
文件 1530 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_li
文件 2463 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_li
文件 31256 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_main.c
文件 8675 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_packet.c
文件 1617 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_packet.h
文件 4847 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_ssi.c
文件 3837 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_ssi.h
文件 22087 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_startup_ccs.s
文件 21010 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_startup_ewarm.S
文件 21355 2014-06-22 08:39 TivaWare_C_Series-1.1\boot_loader\bl_startup_gcc.S
............此处省略3038个文件信息
评论
共有 条评论