Major updates:

- added DAConverter(s)
- added ADConverter(s)
- Fixed some display issues
- Made repair process and signalProfileGenerator calculate with voltages (signed) instead of DAC/ADC values
- Fixed several bugs in task handlings
- Put display data mirror into dedicated file displaycontent

git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@261 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
mmi
2017-10-24 13:56:55 +00:00
parent e3ca058c96
commit bb08cae83a
35 changed files with 1689 additions and 288 deletions

View File

@@ -34,7 +34,7 @@
#include <stdbool.h>
#include "platform.h"
#include "IODevice.h"
#include "ADCDevice.h"
#include "stm32f10x.h"
#include "stm32f10x_adc.h"
@@ -43,6 +43,7 @@
// Constant and macro definitions
// -----------------------------------------------------------------------------
#define ADC_RESOLUTION_IN_BITS (12)
#define ADC_AVERAGE_DEPTH (10)
#define ADC_NUMBER_OF_CHANNELS (18) // 16 IOs + Temp + Vcc
@@ -61,7 +62,7 @@ struct AdcChannelParameters
struct AdcChannel
{
struct IODevice device;
struct ADCDevice adcDevice;
struct Adc* parent;
uint8_t channel;
uint8_t Rank;