fcap cleaning, added new features and reorganized the unit
This commit is contained in:
@@ -5,6 +5,44 @@
|
||||
#include "platform.h"
|
||||
#include "ll_extension.h"
|
||||
|
||||
const uint32_t LL_TIM_IC_FILTERS[] = {
|
||||
LL_TIM_IC_FILTER_FDIV1,
|
||||
LL_TIM_IC_FILTER_FDIV1_N2,
|
||||
LL_TIM_IC_FILTER_FDIV1_N4,
|
||||
LL_TIM_IC_FILTER_FDIV1_N8,
|
||||
LL_TIM_IC_FILTER_FDIV2_N6,
|
||||
LL_TIM_IC_FILTER_FDIV2_N8,
|
||||
LL_TIM_IC_FILTER_FDIV4_N6,
|
||||
LL_TIM_IC_FILTER_FDIV4_N8,
|
||||
LL_TIM_IC_FILTER_FDIV8_N6,
|
||||
LL_TIM_IC_FILTER_FDIV8_N8,
|
||||
LL_TIM_IC_FILTER_FDIV16_N5,
|
||||
LL_TIM_IC_FILTER_FDIV16_N6,
|
||||
LL_TIM_IC_FILTER_FDIV16_N8,
|
||||
LL_TIM_IC_FILTER_FDIV32_N5,
|
||||
LL_TIM_IC_FILTER_FDIV32_N6,
|
||||
LL_TIM_IC_FILTER_FDIV32_N8,
|
||||
};
|
||||
|
||||
const uint32_t LL_TIM_ETR_FILTERS[] = {
|
||||
LL_TIM_ETR_FILTER_FDIV1,
|
||||
LL_TIM_ETR_FILTER_FDIV1_N2,
|
||||
LL_TIM_ETR_FILTER_FDIV1_N4,
|
||||
LL_TIM_ETR_FILTER_FDIV1_N8,
|
||||
LL_TIM_ETR_FILTER_FDIV2_N6,
|
||||
LL_TIM_ETR_FILTER_FDIV2_N8,
|
||||
LL_TIM_ETR_FILTER_FDIV4_N6,
|
||||
LL_TIM_ETR_FILTER_FDIV4_N8,
|
||||
LL_TIM_ETR_FILTER_FDIV8_N6,
|
||||
LL_TIM_ETR_FILTER_FDIV8_N8,
|
||||
LL_TIM_ETR_FILTER_FDIV16_N5,
|
||||
LL_TIM_ETR_FILTER_FDIV16_N6,
|
||||
LL_TIM_ETR_FILTER_FDIV16_N8,
|
||||
LL_TIM_ETR_FILTER_FDIV32_N5,
|
||||
LL_TIM_ETR_FILTER_FDIV32_N6,
|
||||
LL_TIM_ETR_FILTER_FDIV32_N8,
|
||||
};
|
||||
|
||||
const uint32_t LL_SYSCFG_EXTI_PORTS[PORTS_COUNT] = {
|
||||
LL_SYSCFG_EXTI_PORTA,
|
||||
LL_SYSCFG_EXTI_PORTB,
|
||||
|
||||
@@ -13,7 +13,8 @@ extern GPIO_TypeDef * const GPIO_PERIPHS[PORTS_COUNT];
|
||||
extern const uint32_t LL_GPIO_PINS[16];
|
||||
extern const uint32_t LL_EXTI_LINES[16];
|
||||
extern const uint32_t LL_ADC_SAMPLETIMES[8];
|
||||
|
||||
extern const uint32_t LL_TIM_IC_FILTERS[16];
|
||||
extern const uint32_t LL_TIM_ETR_FILTERS[16];
|
||||
|
||||
static inline bool LL_DMA_IsActiveFlag_G(uint32_t isr_snapshot, uint8_t channel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user