📄 k60-keil
字号:
0x7fb11b48, 0x645e9af, 0x7fbaa740, 0x5e1d61b,
0x7fc395f9, 0x57db403, 0x7fcbe75e, 0x519845e,
0x7fd39b5a, 0x4b54825, 0x7fdab1d9, 0x451004d,
0x7fe12acb, 0x3ecadcf, 0x7fe7061f, 0x38851a2,
0x7fec43c7, 0x323ecbe, 0x7ff0e3b6, 0x2bf801a,
0x7ff4e5e0, 0x25b0caf, 0x7ff84a3c, 0x1f69373,
0x7ffb10c1, 0x192155f, 0x7ffd3969, 0x12d936c,
0x7ffec42d, 0xc90e90, 0x7fffb10b, 0x6487c4,
0x7fffffff, 0x0, 0x7fffb10b, 0xff9b783c,
0x7ffec42d, 0xff36f170, 0x7ffd3969, 0xfed26c94,
0x7ffb10c1, 0xfe6deaa1, 0x7ff84a3c, 0xfe096c8d,
0x7ff4e5e0, 0xfda4f351, 0x7ff0e3b6, 0xfd407fe6,
0x7fec43c7, 0xfcdc1342, 0x7fe7061f, 0xfc77ae5e,
0x7fe12acb, 0xfc135231, 0x7fdab1d9, 0xfbaeffb3,
0x7fd39b5a, 0xfb4ab7db, 0x7fcbe75e, 0xfae67ba2,
0x7fc395f9, 0xfa824bfd, 0x7fbaa740, 0xfa1e29e5,
0x7fb11b48, 0xf9ba1651, 0x7fa6f228, 0xf9561237,
0x7f9c2bfb, 0xf8f21e8e, 0x7f90c8da, 0xf88e3c4d,
0x7f84c8e2, 0xf82a6c6a, 0x7f782c30, 0xf7c6afdc,
0x7f6af2e3, 0xf7630799, 0x7f5d1d1d, 0xf6ff7496,
0x7f4eaafe, 0xf69bf7c9, 0x7f3f9cab, 0xf6389228,
0x7f2ff24a, 0xf5d544a7, 0x7f1fabff, 0xf572103d,
0x7f0ec9f5, 0xf50ef5de, 0x7efd4c54, 0xf4abf67e,
0x7eeb3347, 0xf4491311, 0x7ed87efc, 0xf3e64c8c,
0x7ec52fa0, 0xf383a3e2, 0x7eb14563, 0xf3211a07,
0x7e9cc076, 0xf2beafed, 0x7e87a10c, 0xf25c6688,
0x7e71e759, 0xf1fa3ecb, 0x7e5b9392, 0xf19839a6,
0x7e44a5ef, 0xf136580d, 0x7e2d1ea8, 0xf0d49af1,
0x7e14fdf7, 0xf0730342, 0x7dfc4418, 0xf01191f3,
0x7de2f148, 0xefb047f2, 0x7dc905c5, 0xef4f2630,
0x7dae81cf, 0xeeee2d9d, 0x7d9365a8, 0xee8d5f29,
0x7d77b192, 0xee2cbbc1, 0x7d5b65d2, 0xedcc4454,
0x7d3e82ae, 0xed6bf9d1, 0x7d21086c, 0xed0bdd25,
0x7d02f757, 0xecabef3d, 0x7ce44fb7, 0xec4c3106,
0x7cc511d9, 0xebeca36c, 0x7ca53e09, 0xeb8d475b,
0x7c84d496, 0xeb2e1dbe, 0x7c63d5d1, 0xeacf277f,
0x7c42420a, 0xea70658a, 0x7c201994, 0xea11d8c8,
0x7bfd5cc4, 0xe9b38223, 0x7bda0bf0, 0xe9556282,
0x7bb6276e, 0xe8f77acf, 0x7b91af97, 0xe899cbf1,
0x7b6ca4c4, 0xe83c56cf, 0x7b470753, 0xe7df1c50,
0x7b20d79e, 0xe7821d59, 0x7afa1605, 0xe7255ad1,
0x7ad2c2e8, 0xe6c8d59c, 0x7aaadea6, 0xe66c8e9f,
0x7a8269a3, 0xe61086bc, 0x7a596442, 0xe5b4bed8,
0x7a2fcee8, 0xe55937d5, 0x7a05a9fd, 0xe4fdf294,
0x79daf5e8, 0xe4a2eff6, 0x79afb313, 0xe44830dd,
0x7983e1e8, 0xe3edb628, 0x795782d3, 0xe39380b6,
0x792a9642, 0xe3399167, 0x78fd1ca4, 0xe2dfe917,
0x78cf1669, 0xe28688a4, 0x78a08402, 0xe22d70eb,
0x787165e3, 0xe1d4a2c8, 0x7841bc7f, 0xe17c1f15,
0x7811884d, 0xe123e6ad, 0x77e0c9c3, 0xe0cbfa6a,
0x77af8159, 0xe0745b24, 0x777daf89, 0xe01d09b4,
0x774b54ce, 0xdfc606f1, 0x771871a5, 0xdf6f53b3,
0x76e5068a, 0xdf18f0ce, 0x76b113fd, 0xdec2df18,
0x767c9a7e, 0xde6d1f65, 0x76479a8e, 0xde17b28a,
0x761214b0, 0xddc29958, 0x75dc0968, 0xdd6dd4a2,
0x75a5793c, 0xdd196538, 0x756e64b2, 0xdcc54bec,
0x7536cc52, 0xdc71898d, 0x74feb0a5, 0xdc1e1ee9,
0x74c61236, 0xdbcb0cce, 0x748cf190, 0xdb785409,
0x74534f41, 0xdb25f566, 0x74192bd5, 0xdad3f1b1,
0x73de87de, 0xda8249b4, 0x73a363ec, 0xda30fe38,
0x7367c090, 0xd9e01006, 0x732b9e5e, 0xd98f7fe6,
0x72eefdea, 0xd93f4e9e, 0x72b1dfc9, 0xd8ef7cf4,
0x72744493, 0xd8a00bae, 0x72362ce0, 0xd850fb8e,
0x71f79948, 0xd8024d59, 0x71b88a66, 0xd7b401d1,
0x717900d6, 0xd76619b6, 0x7138fd35, 0xd71895c9,
0x70f8801f, 0xd6cb76c9, 0x70b78a36, 0xd67ebd74,
0x70761c18, 0xd6326a88, 0x70343667, 0xd5e67ec1,
0x6ff1d9c7, 0xd59afadb, 0x6faf06da, 0xd54fdf8f,
0x6f6bbe45, 0xd5052d97, 0x6f2800af, 0xd4bae5ab,
0x6ee3cebe, 0xd4710883, 0x6e9f291b, 0xd42796d5,
0x6e5a1070, 0xd3de9156, 0x6e148566, 0xd395f8ba,
0x6dce88aa, 0xd34dcdb4, 0x6d881ae8, 0xd30610f7,
0x6d413ccd, 0xd2bec333, 0x6cf9ef09, 0xd277e518,
0x6cb2324c, 0xd2317756, 0x6c6a0746, 0xd1eb7a9a,
0x6c216eaa, 0xd1a5ef90, 0x6bd8692b, 0xd160d6e5,
0x6b8ef77d, 0xd11c3142, 0x6b451a55, 0xd0d7ff51,
0x6afad269, 0xd09441bb, 0x6ab02071, 0xd050f926,
0x6a650525, 0xd00e2639, 0x6a19813f, 0xcfcbc999,
0x69cd9578, 0xcf89e3e8, 0x6981428c, 0xcf4875ca,
0x69348937, 0xcf077fe1, 0x68e76a37, 0xcec702cb,
0x6899e64a, 0xce86ff2a, 0x684bfe2f, 0xce47759a,
0x67fdb2a7, 0xce0866b8, 0x67af0472, 0xcdc9d320,
0x675ff452, 0xcd8bbb6d, 0x6710830c, 0xcd4e2037,
0x66c0b162, 0xcd110216, 0x6670801a, 0xccd461a2,
0x661feffa, 0xcc983f70, 0x65cf01c8, 0xcc5c9c14,
0x657db64c, 0xcc217822, 0x652c0e4f, 0xcbe6d42b,
0x64da0a9a, 0xcbacb0bf, 0x6487abf7, 0xcb730e70,
0x6434f332, 0xcb39edca, 0x63e1e117, 0xcb014f5b,
0x638e7673, 0xcac933ae, 0x633ab414, 0xca919b4e,
0x62e69ac8, 0xca5a86c4, 0x62922b5e, 0xca23f698,
0x623d66a8, 0xc9edeb50, 0x61e84d76, 0xc9b86572,
0x6192e09b, 0xc9836582, 0x613d20e8, 0xc94eec03,
0x60e70f32, 0xc91af976, 0x6090ac4d, 0xc8e78e5b,
0x6039f90f, 0xc8b4ab32, 0x5fe2f64c, 0xc8825077,
0x5f8ba4dc, 0xc8507ea7, 0x5f340596, 0xc81f363d,
0x5edc1953, 0xc7ee77b3, 0x5e83e0eb, 0xc7be4381,
0x5e2b5d38, 0xc78e9a1d, 0x5dd28f15, 0xc75f7bfe,
0x5d79775c, 0xc730e997, 0x5d2016e9, 0xc702e35c,
0x5cc66e99, 0xc6d569be, 0x5c6c7f4a, 0xc6a87d2d,
0x5c1249d8, 0xc67c1e18, 0x5bb7cf23, 0xc6504ced,
0x5b5d100a, 0xc6250a18, 0x5b020d6c, 0xc5fa5603,
0x5aa6c82b, 0xc5d03118, 0x5a4b4128, 0xc5a69bbe,
0x59ef7944, 0xc57d965d, 0x59937161, 0xc555215a,
0x59372a64, 0xc52d3d18, 0x58daa52f, 0xc505e9fb,
0x587de2a7, 0xc4df2862, 0x5820e3b0, 0xc4b8f8ad,
0x57c3a931, 0xc4935b3c, 0x5766340f, 0xc46e5069,
0x57088531, 0xc449d892, 0x56aa9d7e, 0xc425f410,
0x564c7ddd, 0xc402a33c, 0x55ee2738, 0xc3dfe66c,
0x558f9a76, 0xc3bdbdf6, 0x5530d881, 0xc39c2a2f,
0x54d1e242, 0xc37b2b6a, 0x5472b8a5, 0xc35ac1f7,
0x54135c94, 0xc33aee27, 0x53b3cefa, 0xc31bb049,
0x535410c3, 0xc2fd08a9, 0x52f422db, 0xc2def794,
0x5294062f, 0xc2c17d52, 0x5233bbac, 0xc2a49a2e,
0x51d3443f, 0xc2884e6e, 0x5172a0d7, 0xc26c9a58,
0x5111d263, 0xc2517e31, 0x50b0d9d0, 0xc236fa3b,
0x504fb80e, 0xc21d0eb8, 0x4fee6e0d, 0xc203bbe8,
0x4f8cfcbe, 0xc1eb0209, 0x4f2b650f, 0xc1d2e158,
0x4ec9a7f3, 0xc1bb5a11, 0x4e67c65a, 0xc1a46c6e,
0x4e05c135, 0xc18e18a7, 0x4da39978, 0xc1785ef4,
0x4d415013, 0xc1633f8a, 0x4cdee5f9, 0xc14eba9d,
0x4c7c5c1e, 0xc13ad060, 0x4c19b374, 0xc1278104,
0x4bb6ecef, 0xc114ccb9, 0x4b540982, 0xc102b3ac,
0x4af10a22, 0xc0f1360b, 0x4a8defc3, 0xc0e05401,
0x4a2abb59, 0xc0d00db6, 0x49c76dd8, 0xc0c06355,
0x49640837, 0xc0b15502, 0x49008b6a, 0xc0a2e2e3,
0x489cf867, 0xc0950d1d, 0x48395024, 0xc087d3d0,
0x47d59396, 0xc07b371e, 0x4771c3b3, 0xc06f3726,
0x470de172, 0xc063d405, 0x46a9edc9, 0xc0590dd8,
0x4645e9af, 0xc04ee4b8, 0x45e1d61b, 0xc04558c0,
0x457db403, 0xc03c6a07, 0x4519845e, 0xc03418a2,
0x44b54825, 0xc02c64a6, 0x4451004d, 0xc0254e27,
0x43ecadcf, 0xc01ed535, 0x438851a2, 0xc018f9e1,
0x4323ecbe, 0xc013bc39, 0x42bf801a, 0xc00f1c4a,
0x425b0caf, 0xc00b1a20, 0x41f69373, 0xc007b5c4,
0x4192155f, 0xc004ef3f, 0x412d936c, 0xc002c697,
0x40c90e90, 0xc0013bd3, 0x406487c4, 0xc0004ef5
};
/**
* @brief Initialization function for the Q31 RFFT/RIFFT.
* @param[in, out] *S points to an instance of the Q31 RFFT/RIFFT structure.
* @param[in, out] *S_CFFT points to an instance of the Q31 CFFT/CIFFT structure.
* @param[in] fftLenReal length of the FFT.
* @param[in] ifftFlagR flag that selects forward (ifftFlagR=0) or inverse (ifftFlagR=1) transform.
* @param[in] bitReverseFlag flag that enables (bitReverseFlag=1) or disables (bitReverseFlag=0) bit reversal of output.
* @return The function returns ARM_MATH_SUCCESS if initialization is successful or ARM_MATH_ARGUMENT_ERROR if <code>fftLenReal</code> is not a supported value.
*
* \par Description:
* \par
* The parameter <code>fftLenReal</code> Specifies length of RFFT/RIFFT Process. Supported FFT Lengths are 128, 512, 2048.
* \par
* The parameter <code>ifftFlagR</code> controls whether a forward or inverse transform is computed.
* Set(=1) ifftFlagR to calculate RIFFT, otherwise RFFT is calculated.
* \par
* The parameter <code>bitReverseFlag</code> controls whether output is in normal order or bit reversed order.
* Set(=1) bitReverseFlag for output to be in normal order otherwise output is in bit reversed order.
* \par
* This function also initializes Twiddle factor table.
*/
arm_status arm_rfft_init_q31(
arm_rfft_instance_q31 * S,
arm_cfft_radix4_instance_q31 * S_CFFT,
uint32_t fftLenReal,
uint32_t ifftFlagR,
uint32_t bitReverseFlag)
{
/* Initialise the default arm status */
arm_status status = ARM_MATH_SUCCESS;
/* Initialize the Real FFT length */
S->fftLenReal = (uint16_t) fftLenReal;
/* Initialize the Complex FFT length */
S->fftLenBy2 = (uint16_t) fftLenReal / 2u;
/* Initialize the Twiddle coefficientA pointer */
S->pTwiddleAReal = (q31_t *) realCoefAQ31;
/* Initialize the Twiddle coefficientB pointer */
S->pTwiddleBReal = (q31_t *) realCoefBQ31;
/* Initialize the Flag for selection of RFFT or RIFFT */
S->ifftFlagR = (uint8_t) ifftFlagR;
/* Initialize the Flag for calculation Bit reversal or not */
S->bitReverseFlagR = (uint8_t) bitReverseFlag;
/* Initialization of coef modifier depending on the FFT length */
switch (S->fftLenReal)
{
case 512u:
S->twidCoefRModifier = 2u;
break;
case 128u:
S->twidCoefRModifier = 8u;
break;
default:
/* Reporting argument error if rfftSize is not valid value */
status = ARM_MATH_ARGUMENT_ERROR;
break;
}
/* Init Complex FFT Instance */
S->pCfft = S_CFFT;
if(S->ifftFlagR)
{
/* Initializes the CIFFT Module for fftLenreal/2 length */
arm_cfft_radix4_init_q31(S->pCfft, (uint16_t) S->fftLenBy2, 1u, 1u);
}
else
{
/* Initializes the CFFT Module for fftLenreal/2 length */
arm_cfft_radix4_init_q31(S->pCfft, (uint16_t) S->fftLenBy2, 0u, 1u);
}
/* return the status of RFFT Init function */
return (status);
}
/**
* @} end of RFFT_RIFFT group
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -