| 数据搜索系统,热门电子元器件搜索 |
|
PM0014 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0014 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 46 page ![]() PM0014 Using the ST10-DSP library 9/46 3.4 Tool chain compatibility As ST10 has different memory models, a library file has been generated for each memory model: tiny, small, medium, large. ST10-DSP library is compatible with Tasking tool chain (V7.0r1 and upward). 3.5 ST10 device compatibility The ST10-DSP library is defined to be compatible with all ST10-DSP variants, including the bond-out. As a consequence, it implements the needed workarounds for the functional features that may be on silicon devices (see respective product errata-sheets). 3.6 ST10 MAC configuration As this library has be done primarily for filtering functions, it assumes fractional variables are used. As a consequence, users shall set bit "MP" in the MAC control word either at the reset sequence or before calling any function. 3.7 Interrupts As explained before, any DSP code developed for ST10 can be interrupted at any time and execution resumed after the interrupt routine. There is no added latency when the DSP library is used. Interrupt routine requirements: the only requirements are only when the DSP unit is used by task that have different priorities: the interrupting task that may interrupt another task using the DSP should save and restore the MAC registers at the entry point and exit point of the routine. ( use #pragma savemac in Tasking tool chain). 3.8 Naming convention and parameter passing The name of a function begins with a lowercase. Each uppercase starts a new word in the name. Underscore is used to separate type of data. Types after the name indicate the types of the parameters passed to the function. Example: fir_q15_q31_q15 The first q15 indicates the inputs format. q31 corresponds to the type of coefficients. The last q15 indicates the output format. Variable formats: ● q31 means a signed fractional variable with two’s complement fractional format using the 1.31 format (1 signed, 31 fractional bits). ● q15 means a signed fractional variable with two’s complement fractional format using the 1.31 format (1 signed, 15 fractional bits). |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |