2013-12-09 22:04:24 +00:00
|
|
|
//
|
|
|
|
// setup.h
|
|
|
|
// test
|
|
|
|
//
|
|
|
|
// Created by Rene on 09/12/13.
|
|
|
|
// Copyright (c) 2013 Rene Hopf. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2016-01-24 13:13:40 +00:00
|
|
|
#pragma once
|
2013-12-09 22:04:24 +00:00
|
|
|
|
2014-12-29 12:47:11 +00:00
|
|
|
#include "stm32f4xx_conf.h"
|
2017-08-16 00:47:51 +00:00
|
|
|
//#include "misc.h"
|
2015-11-24 11:28:25 +00:00
|
|
|
#include "version.h"
|
2015-12-02 00:59:17 +00:00
|
|
|
#include "common.h"
|
2017-01-03 21:51:05 +00:00
|
|
|
#include "hw/hw.h"
|
2015-12-26 19:09:58 +00:00
|
|
|
#define U_ID ((__IO uint32_t *)0x1FFF7A10)
|
2013-12-09 22:04:24 +00:00
|
|
|
|
2016-01-24 13:13:40 +00:00
|
|
|
void setup(void);
|
|
|
|
void setup_res(void);
|
2014-12-18 20:04:43 +00:00
|
|
|
|
2018-02-03 07:28:40 +00:00
|
|
|
volatile uint32_t ADC_DMA_Buffer0[ADC_SAMPLES_IN_RT]; //240
|
|
|
|
volatile uint32_t ADC_DMA_Buffer1[ADC_SAMPLES_IN_RT];
|
2013-12-09 22:04:24 +00:00
|
|
|
|
2014-11-21 20:02:45 +00:00
|
|
|
RCC_ClocksTypeDef RCC_Clocks;
|