/*
 * setup.h
 *
 *  Created on: Sep 8, 2011
 *      Author: qwer1
 */

#ifndef SETUP_H_
#define SETUP_H_

#include "stm32f10x.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_rcc.h"
#include "ul_other.h"

#define SETUP_MO_NORMAL 0
#define SETUP_MO_SLEEP  0xFF

extern U8 quartz_is_enabled;

/** setup hardware/software */
void setup( U8 mode );

#endif /* SETUP_H_ */
