#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 |
void AT91F_TC_Open | ( | AT91PS_TC | TC_pt, | |
unsigned int | Mode, | |||
unsigned int | TimerId | |||
) |
Configure timer.
TC_pt | T/C pointer | |
Mode | running mode | |
TimerId | timer ID |
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