AT91SAM7S/src/timer.c File Reference

#include "timer.h"

Functions

void AT91F_TC_Open (AT91PS_TC TC_pt, unsigned int Mode, unsigned int TimerId)
 Configure timer.

Variables

unsigned int SAMPLING_FREQUENCY = 4000

Detailed Description


Function Documentation

void AT91F_TC_Open ( AT91PS_TC  TC_pt,
unsigned int  Mode,
unsigned int  TimerId 
)

Configure timer.

Parameters:
TC_pt T/C pointer
Mode running mode
TimerId timer ID


Variable Documentation

unsigned int SAMPLING_FREQUENCY = 4000

Selects the sampling frequency in hertz. This choice has to be in accordance with the selected Frequency Output Range defined by the TC_MCK_DIV ratio


Generated on Mon Sep 21 23:10:08 2009 for armscope by  doxygen 1.5.9
Tomasz Ostrowski