Analog Devices ADSP-21xx Timer Programming in C Application Note

This document introduces C language programming on the ADSP-21xx series DSP, focusing on the programming method of the timer.


Analog Devices ADSP-21xx Timer Programming in C Application Note - cover page
Brand
Analog Devices
Category
microcontrollers
Document type
Application Note
Language
English
Pages
3
File format
PDF
File size
262 KB
Published
03 August, 2012
Updated
30 September, 2023
MD5 checksum
F5C1CCD68E0765968BCF4D165F6BE9B8

About this manual

This Engineer-To-Engineer's Note (EE-33) provides guidance on programming the programmable timer found in the ADSP-21xx series of Digital Signal Processors. The document details how to use standard C header files provided by Analog Devices, specifically `misc.h`, which defines functions like `timer_set`, `timer_on`, and `timer_off` for configuring, starting, and stopping the timer.

What's inside

  • Timer Interrupt Handling
  • C-Callable Functions
  • Example Code Setup
  • Interrupt Overhead

Frequently asked questions

What C header file defines the timer functions?

The standard C header file `misc.h` defines the prototypes for `timer_set`, `timer_on`, and `timer_off`.

What is the overhead cost of a timer interrupt call in C?

An interrupt call within C incurs an overhead of approximately 50 cycles on entry and 50 cycles on return.

Download PDF (262 KB)

More Analog Devices Manuals


View all Analog Devices manuals →