Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
ADDS-21XX-TOOLS Datasheet(PDF) 4 Page - Analog Devices |
|
ADDS-21XX-TOOLS Datasheet(HTML) 4 Page - Analog Devices |
4 / 16 page REV. B –4– ADDS-21xx-TOOLS C RUNTIME LIBRARY The C Compiler comes with ANSI-standard functions and a set of C-callable library routines commonly used in digital signal processing to speed up development. The ADSP-2100 Family C Runtime Library includes the ANSI- standard and DSP-specific functions listed in Table I. Table I. C Runtime Library Functions Function Description abs absolute value acos arc cosine asin arc sine atan arc tangent atan2 arc tangent of quotient ceil ceiling cos cosine cosh hyperbolic cosine exp exponential fabs absolute value fir finite impulse response (FIR) filter floor floor fmod floating-point modulus frexp separate fraction and exponent ifftN N-point inverse fast Fourier transform (IFFT) iir infinite impulse response (IIR) filter interrupt define interrupt handling isalpha detect alphabetic character isdigit detect decimal digit labs absolute value ldexp multiply by power of 2 log natural logarithm log10 base 10 logarithm memcmp compare objects memcpy copy characters from one object to another memset set range of memory to a character modf separate integral and fractional parts pow raise to a power raise force a signal signal define signal handling sin sine sinh hyperbolic sine sqrt square root strcat concatenate strings strcmp compare strings strcpy copy from one string to another strlen string length strncat concatenate characters from one string to another strncmp compare characters in strings strncpy copy characters from one string to another tan tangent tanh hyperbolic tangent timer_off disable ADSP-21xx timer timer_on enable ADSP-21xx timer timer_set initialize ADSP-21xx timer va_arg get next argument in variable list va_end reset variable list pointer va_start set variable list pointer Interrupt Handling in C The C environment supports hardware interrupts—a key feature that facilitates programming. The signal handling functions of the C library, signal, raise, and interrupt, process ADSP-21xx interrupts such as serial port transmit and receive interrupts, timer interrupts, and external interrupt request signals. The signal and raise functions direct execution to a specific C interrupt service routine based on the type of interrupt that occurs. This routing service allows the entire application to be written in C without assembly language code. The signal handling routines save and restore registers, and the overhead is usually minimal compared to overall program execution time. If you choose to write custom interrupt service routines in assembly language, you can use the signal and raise functions to set up service routines in the C environment. ASSEMBLER The Assembler reads source files containing ADSP-2100 Family assembly language and generates a relocatable object file. The Assembler includes a preprocessor that lets you use C preprocessor directives such as #define, #include, #if, #ifdef, and #else in assembly code. Assembler directives define code modules, data buffers, data variables, and memory-mapped I/O ports. Either assembler directives or C preprocessor directives define and invoke macros. LINKER The Linker processes separately assembled object files to create a single executable program. It assigns memory locations to code and data in accordance with the architecture file defined by the System Builder. The Linker also generates symbols (variable names and program labels) in the processed files, which the simulator, emulator, and the CBUG C Source-level debugger use to perform symbolic debugging. PROM SPLITTER AND HIP SPLITTER The PROM Splitter translates an ADSP-21xx executable program into a file used to program PROM memory devices. The PROM Splitter’s output file can be generated in Motorola S Record or Intel Hex Record format. Motorola S2 format is supported for byte stream output. The HIP Splitter utility generates ADSP-2111 and ADSP-2171 programs to be downloaded from a host processor through the DSP’s Host Interface Port (HIP). The HIP Splitter’s output file can be generated in Motorola S Record or Intel Hex Record format. Both the PROM Splitter and the HIP Splitter have a boot loader option that enables loading of external memory. |
Número de pieza similar - ADDS-21XX-TOOLS |
|
Descripción similar - ADDS-21XX-TOOLS |
|
|
Enlace URL |
Política de Privacidad |
ALLDATASHEET.ES |
¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Intercambio de Enlaces | Lista de Fabricantes 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 |