test_frequence.c File Reference

Main for test master clock frequency switch. More...

#include <Environment.h>
#include <in430.h>
#include <timedef.h>
#include <hal_wait.h>
#include <set_hardware.h>
#include <cc2420.h>

Include dependency graph for test_frequence.c:

Go to the source code of this file.

Functions

void init (void)
void main (void)


Detailed Description

Main for test master clock frequency switch.

Author:
ANGER Thomas
Date:
2008 / 11 / 25
Note:
This program illustrate frequency switching on msp430

change msp430 frequency clock by press on switch 2

You can measure master clock frequency on P1.1 output timer A pin ( freq / 500000 )

Definition in file test_frequence.c.


Function Documentation

void init ( void   ) 

Definition at line 35 of file test_frequence.c.

References cc2420_Init(), clock_init(), halSpiInit(), halWait(), setup_msp430(), setup_ports(), TIME_CONSTANT, and timerA_init().

Here is the call graph for this function:

void main ( void   ) 

Definition at line 61 of file test_frequence.c.

References cc2420_change_emission_power(), change_master_clock(), init(), LED_TEST1_ON, LED_TEST3_ON, and wakeup_cc2420().

Here is the call graph for this function:


Generated on Wed Jun 3 12:06:05 2009 for PowWow v1.0 by  doxygen 1.5.6