資源簡介
HAL庫 實現DMA模式 串口1和串口2完全透傳,代碼簡單高效,開啟透傳后,無需軟件控制。
代碼片段和文件信息
/*?----------------------------------------------------------------------????
*?Copyright?(C)?2010-2014?ARM?Limited.?All?rights?reserved.????
*????
*?$Date:????????19.?March?2015
*?$Revision:? V.1.4.5
*????
*?Project:? ????CMSIS?DSP?Library????
*?title: arm_abs_f32.c????
*????
*?Description: Vector?absolute?value.????
*????
*?Target?Processor:?Cortex-M4/Cortex-M3/Cortex-M0
*??
*?Redistribution?and?use?in?source?and?binary?forms?with?or?without?
*?modification?are?permitted?provided?that?the?following?conditions
*?are?met:
*???-?Redistributions?of?source?code?must?retain?the?above?copyright
*?????notice?this?list?of?conditions?and?the?following?disclaimer.
*???-?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.
*???-?Neither?the?name?of?ARM?LIMITED?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?OWNER?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?“arm_math.h“
#include?
/**????????
?*?@ingroup?groupMath????????
?*/
/**????????
?*?@defgroup?BasicAbs?Vector?Absolute?Value????????
?*????????
?*?Computes?the?absolute?value?of?a?vector?on?an?element-by-element?basis.????????
?*????????
?*?????????
?*?????pDst[n]?=?abs(pSrc[n])???0?<=?n??*?
????????
?*????????
?*?The?functions?support?in-place?computation?allowing?the?source?and
?*?destination?pointers?to?reference?the?same?memory?buffer.
?*?There?are?separate?functions?for?floating-point?Q7?Q15?and?Q31?data?types.
?*/
/**????????
?*?@addtogroup?BasicAbs????????
?*?@{????????
?*/
/**????????
?*?@brief?Floating-point?vector?absolute?value.????????
?*?@param[in]???????*pSrc?points?to?the?input?buffer????????
?*?@param[out]??????*pDst?points?to?the?output?buffer????????
?*?@param[in]???????blockSize?number?of?samples?in?each?vector????????
?*?@return?none.????????
?*/
void?arm_abs_f32(
??float32_
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-10-06?15:14??STM32F303CCTx_USART_Passthrough_Test_DMA1\
?????文件????????6679??2019-10-06?15:14??STM32F303CCTx_USART_Passthrough_Test_DMA1\.mxproject
?????目錄???????????0??2019-09-24?11:07??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\
?????目錄???????????0??2019-10-06?15:14??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\
?????目錄???????????0??2019-09-24?11:07??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\
?????目錄???????????0??2019-09-24?11:07??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\ST\
?????目錄???????????0??2019-10-06?15:14??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\ST\STM32F3xx\
?????目錄???????????0??2019-10-06?15:14??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\ST\STM32F3xx\Include\
?????文件?????1144952??2019-09-23?16:18??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\ST\STM32F3xx\Include\stm32f303xc.h
?????文件????????9200??2019-09-23?16:18??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\ST\STM32F3xx\Include\stm32f3xx.h
?????文件????????3746??2019-09-23?16:18??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\ST\STM32F3xx\Include\system_stm32f3xx.h
?????目錄???????????0??2019-10-06?15:14??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\ST\STM32F3xx\Source\
?????目錄???????????0??2019-10-06?15:14??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\Device\ST\STM32F3xx\Source\Templates\
?????目錄???????????0??2019-09-24?11:07??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\
?????目錄???????????0??2019-09-24?11:07??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\
?????目錄???????????0??2019-09-24?16:14??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\
?????文件????????5114??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_f32.c
?????文件????????5458??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q15.c
?????文件????????4431??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q31.c
?????文件????????5090??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q7.c
?????文件????????4891??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_f32.c
?????文件????????4423??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q15.c
?????文件????????4553??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q31.c
?????文件????????4226??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q7.c
?????文件????????4613??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_f32.c
?????文件????????4912??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q15.c
?????文件????????5000??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q31.c
?????文件????????5408??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q7.c
?????文件????????5582??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_f32.c
?????文件????????5306??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q15.c
?????文件????????5201??2018-10-28?13:59??STM32F303CCTx_USART_Passthrough_Test_DMA1\Drivers\CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q31.c
............此處省略422個文件信息
評論
共有 條評論