Home
last modified time | relevance | path

Searched refs:sConfig (Results 1 – 22 of 22) sorted by relevance

/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_adc.c1648 HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig) in HAL_ADC_ConfigChannel() argument
1655 assert_param(IS_ADC_CHANNEL(sConfig->Channel)); in HAL_ADC_ConfigChannel()
1656 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel()
1657 assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime)); in HAL_ADC_ConfigChannel()
1665 if (sConfig->Rank < 7) in HAL_ADC_ConfigChannel()
1668 ADC_SQR5_RK(ADC_SQR5_SQ1, sConfig->Rank), in HAL_ADC_ConfigChannel()
1669 ADC_SQR5_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel()
1672 else if (sConfig->Rank < 13) in HAL_ADC_ConfigChannel()
1675 ADC_SQR4_RK(ADC_SQR4_SQ7, sConfig->Rank), in HAL_ADC_ConfigChannel()
1676 ADC_SQR4_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel()
[all …]
Dstm32l1xx_hal_tim.c2170 HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef* sConfig) in HAL_TIM_Encoder_Init() argument
2184 assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode)); in HAL_TIM_Encoder_Init()
2185 assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection)); in HAL_TIM_Encoder_Init()
2186 assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection)); in HAL_TIM_Encoder_Init()
2187 assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); in HAL_TIM_Encoder_Init()
2188 assert_param(IS_TIM_IC_POLARITY(sConfig->IC2Polarity)); in HAL_TIM_Encoder_Init()
2189 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); in HAL_TIM_Encoder_Init()
2190 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); in HAL_TIM_Encoder_Init()
2191 assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); in HAL_TIM_Encoder_Init()
2192 assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); in HAL_TIM_Encoder_Init()
[all …]
Dstm32l1xx_hal_dac.c802 HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, u… in HAL_DAC_ConfigChannel() argument
807 assert_param(IS_DAC_TRIGGER(sConfig->DAC_Trigger)); in HAL_DAC_ConfigChannel()
808 assert_param(IS_DAC_OUTPUT_BUFFER_STATE(sConfig->DAC_OutputBuffer)); in HAL_DAC_ConfigChannel()
820 SET_BIT(tmpreg1, (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer)); in HAL_DAC_ConfigChannel()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_dac.c1208 HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, u… in HAL_DAC_ConfigChannel() argument
1218 assert_param(IS_DAC_HIGH_FREQUENCY_MODE(sConfig->DAC_HighFrequency)); in HAL_DAC_ConfigChannel()
1220 assert_param(IS_DAC_TRIGGER(sConfig->DAC_Trigger)); in HAL_DAC_ConfigChannel()
1221 assert_param(IS_DAC_OUTPUT_BUFFER_STATE(sConfig->DAC_OutputBuffer)); in HAL_DAC_ConfigChannel()
1222 assert_param(IS_DAC_CHIP_CONNECTION(sConfig->DAC_ConnectOnChipPeripheral)); in HAL_DAC_ConfigChannel()
1223 assert_param(IS_DAC_TRIMMING(sConfig->DAC_UserTrimming)); in HAL_DAC_ConfigChannel()
1224 if ((sConfig->DAC_UserTrimming) == DAC_TRIMMING_USER) in HAL_DAC_ConfigChannel()
1226 assert_param(IS_DAC_TRIMMINGVALUE(sConfig->DAC_TrimmingValue)); in HAL_DAC_ConfigChannel()
1228 assert_param(IS_DAC_SAMPLEANDHOLD(sConfig->DAC_SampleAndHold)); in HAL_DAC_ConfigChannel()
1229 if ((sConfig->DAC_SampleAndHold) == DAC_SAMPLEANDHOLD_ENABLE) in HAL_DAC_ConfigChannel()
[all …]
Dstm32l4xx_hal_adc.c2715 HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig) in HAL_ADC_ConfigChannel() argument
2726 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel()
2727 assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime)); in HAL_ADC_ConfigChannel()
2728 assert_param(IS_ADC_SINGLE_DIFFERENTIAL(sConfig->SingleDiff)); in HAL_ADC_ConfigChannel()
2729 assert_param(IS_ADC_OFFSET_NUMBER(sConfig->OffsetNumber)); in HAL_ADC_ConfigChannel()
2730 assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), sConfig->Offset)); in HAL_ADC_ConfigChannel()
2734 …assert_param(!((sConfig->OffsetNumber != ADC_OFFSET_NONE) && (hadc->Init.OversamplingMode == ENABL… in HAL_ADC_ConfigChannel()
2737 if (sConfig->SingleDiff != ADC_DIFFERENTIAL_ENDED) in HAL_ADC_ConfigChannel()
2739 assert_param(IS_ADC_CHANNEL(hadc, sConfig->Channel)); in HAL_ADC_ConfigChannel()
2743 assert_param(IS_ADC_DIFF_CHANNEL(hadc, sConfig->Channel)); in HAL_ADC_ConfigChannel()
[all …]
Dstm32l4xx_hal_tim.c2536 HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef *sConfig) in HAL_TIM_Encoder_Init() argument
2556 assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode)); in HAL_TIM_Encoder_Init()
2557 assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection)); in HAL_TIM_Encoder_Init()
2558 assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection)); in HAL_TIM_Encoder_Init()
2559 assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); in HAL_TIM_Encoder_Init()
2560 assert_param(IS_TIM_IC_POLARITY(sConfig->IC2Polarity)); in HAL_TIM_Encoder_Init()
2561 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); in HAL_TIM_Encoder_Init()
2562 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); in HAL_TIM_Encoder_Init()
2563 assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); in HAL_TIM_Encoder_Init()
2564 assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); in HAL_TIM_Encoder_Init()
[all …]
Dstm32l4xx_hal_dac_ex.c332 HAL_StatusTypeDef HAL_DACEx_SelfCalibrate (DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig in HAL_DACEx_SelfCalibrate() argument
443 sConfig->DAC_TrimmingValue = trimmingvalue; in HAL_DACEx_SelfCalibrate()
444 sConfig->DAC_UserTrimming = DAC_TRIMMING_USER; in HAL_DACEx_SelfCalibrate()
469 …_DACEx_SetUserTrimming (DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, uint32_t Channel… in HAL_DACEx_SetUserTrimming() argument
491 sConfig->DAC_UserTrimming = DAC_TRIMMING_USER; in HAL_DACEx_SetUserTrimming()
492 sConfig->DAC_TrimmingValue = NewTrimmingValue; in HAL_DACEx_SetUserTrimming()
Dstm32l4xx_hal_tim_ex.c148 …atusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sConfig) in HAL_TIMEx_HallSensor_Init() argument
163 assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); in HAL_TIMEx_HallSensor_Init()
164 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); in HAL_TIMEx_HallSensor_Init()
165 assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); in HAL_TIMEx_HallSensor_Init()
195 TIM_TI1_SetConfig(htim->Instance, sConfig->IC1Polarity, TIM_ICSELECTION_TRC, sConfig->IC1Filter); in HAL_TIMEx_HallSensor_Init()
200 htim->Instance->CCMR1 |= sConfig->IC1Prescaler; in HAL_TIMEx_HallSensor_Init()
220 OC_Config.Pulse = sConfig->Commutation_Delay; in HAL_TIMEx_HallSensor_Init()
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_tim.c2161 HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef* sConfig) in HAL_TIM_Encoder_Init() argument
2175 assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode)); in HAL_TIM_Encoder_Init()
2176 assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection)); in HAL_TIM_Encoder_Init()
2177 assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection)); in HAL_TIM_Encoder_Init()
2178 assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); in HAL_TIM_Encoder_Init()
2179 assert_param(IS_TIM_IC_POLARITY(sConfig->IC2Polarity)); in HAL_TIM_Encoder_Init()
2180 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); in HAL_TIM_Encoder_Init()
2181 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); in HAL_TIM_Encoder_Init()
2182 assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); in HAL_TIM_Encoder_Init()
2183 assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); in HAL_TIM_Encoder_Init()
[all …]
Dstm32l0xx_hal_dac.c595 HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, u… in HAL_DAC_ConfigChannel() argument
600 assert_param(IS_DAC_TRIGGER(sConfig->DAC_Trigger)); in HAL_DAC_ConfigChannel()
601 assert_param(IS_DAC_OUTPUT_BUFFER_STATE(sConfig->DAC_OutputBuffer)); in HAL_DAC_ConfigChannel()
617 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
Dstm32l0xx_hal_adc.c1637 HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig) in HAL_ADC_ConfigChannel() argument
1641 assert_param(IS_ADC_CHANNEL(sConfig->Channel)); in HAL_ADC_ConfigChannel()
1642 assert_param(IS_ADC_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel()
1661 if (sConfig->Rank != ADC_RANK_NONE) in HAL_ADC_ConfigChannel()
1664 hadc->Instance->CHSELR |= (uint32_t)(sConfig->Channel & ADC_CHANNEL_MASK); in HAL_ADC_ConfigChannel()
1672 …if (((sConfig->Channel & ADC_CHANNEL_MASK) & ADC_CHANNEL_TEMPSENSOR ) == (ADC_CHANNEL_TEMPSENSOR &… in HAL_ADC_ConfigChannel()
1681 …if (((sConfig->Channel & ADC_CHANNEL_MASK) & ADC_CHANNEL_VREFINT) == (ADC_CHANNEL_VREFINT & ADC_CH… in HAL_ADC_ConfigChannel()
1688 …if (((sConfig->Channel & ADC_CHANNEL_MASK) & ADC_CHANNEL_VLCD) == (ADC_CHANNEL_VLCD & ADC_CHANNEL_… in HAL_ADC_ConfigChannel()
1698 hadc->Instance->CHSELR &= ~((uint32_t)(sConfig->Channel & ADC_CHANNEL_MASK)); in HAL_ADC_ConfigChannel()
1703 …if (((sConfig->Channel & ADC_CHANNEL_MASK) & ADC_CHANNEL_TEMPSENSOR ) == (ADC_CHANNEL_TEMPSENSOR &… in HAL_ADC_ConfigChannel()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_dac_ex.h252 HAL_StatusTypeDef HAL_DACEx_SelfCalibrate(DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig,…
253 …L_DACEx_SetUserTrimming(DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig, uint32_t Channel…
Dstm32l4xx_hal_tim.h2006 HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef *sConfig);
2038 HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef *sConfig, ui…
2039 HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef *sConfig, u…
2040 HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitTypeDef *sConfig, ui…
2041 …nePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef *sConfig, uint32_t OutputC…
Dstm32l4xx_hal_tim_ex.h305 …tusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sConfig);
Dstm32l4xx_hal_dac.h577 HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, u…
Dstm32l4xx_hal_adc.h1786 …tatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig);
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_tim.h1500 HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef* sConfig);
1531 HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef* sConfig, ui…
1532 HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef* sConfig, u…
1533 HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitTypeDef* sConfig, ui…
1534 …nePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef* sConfig, uint32_t OutputC…
Dstm32l1xx_hal_dac.h360 HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, u…
Dstm32l1xx_hal_adc.h1281 …tatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig);
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_tim.h1376 HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef* sConfig);
1411 HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef* sConfig, ui…
1412 HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef* sConfig, u…
1413 HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitTypeDef* sConfig, ui…
1414 …nePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef* sConfig, uint32_t OutputC…
Dstm32l0xx_hal_dac.h404 HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, u…
Dstm32l0xx_hal_adc.h1101 HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig