/*********************************  clocks.h  *******************************
 * $Source: /home/cvs/ESP/gen2/software/msp430/dwarves/clocks.h,v $
 *  Copyright (C) 2003 MBARI
 *
 *  MBARI Proprietary Information. All rights reserved.
 * $Id: clocks.h,v 1.2 2006/05/17 00:20:13 brent Exp $
 *
 * system wide clock rates
 *
 *****************************************************************************/

#ifndef CLOCKS_H
#define CLOCKS_H

// Clock rates
#define CPURATE   4000000 //target CPU clock in hz (may be adjusted)

#define MAXBAUDRATE  115200 //maximum standard USART baud rate
#define MINBAUDRATE  75     //should be a submultiple of MAXBAUDRATE
#define BAUDRATE     115200 //should be a submultiple of MAXBAUDRATE

#define I2CRATE   100000  //standard I2C bit rate
#define BLINKRATE 1*TIMERHZ  //adjust the DCO every second & blink LED

#endif
