split ll extensions from hw_utils to own file

This commit is contained in:
2018-02-04 10:40:11 +01:00
parent c5f41819b1
commit 300a6a6e90
6 changed files with 173 additions and 153 deletions
+4
View File
@@ -0,0 +1,4 @@
//
// Created by MightyPork on 2018/02/04.
//
-12
View File
@@ -8,18 +8,6 @@
#define ADC_INTERNAL
#include "_adc_internal.h"
const uint32_t LL_ADC_SAMPLETIMES[] = {
LL_ADC_SAMPLINGTIME_1CYCLE_5,
LL_ADC_SAMPLINGTIME_7CYCLES_5,
LL_ADC_SAMPLINGTIME_13CYCLES_5,
LL_ADC_SAMPLINGTIME_28CYCLES_5,
LL_ADC_SAMPLINGTIME_41CYCLES_5,
LL_ADC_SAMPLINGTIME_55CYCLES_5,
LL_ADC_SAMPLINGTIME_71CYCLES_5,
LL_ADC_SAMPLINGTIME_239CYCLES_5,
};
/** Allocate data structure and set defaults */
error_t UADC_preInit(Unit *unit)
{