/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_dac_ex.c | 129 HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_… in HAL_DACEx_TriangleWaveGenerate() argument 132 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DACEx_TriangleWaveGenerate() 142 …nce->CR, ((DAC_CR_WAVE1) | (DAC_CR_MAMP1)) << (Channel & 0x10UL), (DAC_CR_WAVE1_1 | Amplitude) << … in HAL_DACEx_TriangleWaveGenerate() 178 HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t A… in HAL_DACEx_NoiseWaveGenerate() argument 181 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DACEx_NoiseWaveGenerate() 191 …nce->CR, ((DAC_CR_WAVE1) | (DAC_CR_MAMP1)) << (Channel & 0x10UL), (DAC_CR_WAVE1_0 | Amplitude) << … in HAL_DACEx_NoiseWaveGenerate() 332 …AL_DACEx_SelfCalibrate (DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, uint32_t Channel) in HAL_DACEx_SelfCalibrate() argument 344 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DACEx_SelfCalibrate() 362 oldmodeconfiguration = (hdac->Instance->MCR & (DAC_MCR_MODE1 << (Channel & 0x10UL))); in HAL_DACEx_SelfCalibrate() 365 CLEAR_BIT((hdac->Instance->CR), (DAC_CR_EN1 << (Channel & 0x10UL))); in HAL_DACEx_SelfCalibrate() [all …]
|
D | stm32l4xx_ll_dma.c | 179 ErrorStatus LL_DMA_DeInit(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_DeInit() argument 185 assert_param(IS_LL_DMA_ALL_CHANNEL_INSTANCE(DMAx, Channel) || (Channel == LL_DMA_CHANNEL_ALL)); in LL_DMA_DeInit() 187 if (Channel == LL_DMA_CHANNEL_ALL) in LL_DMA_DeInit() 214 tmp = (DMA_Channel_TypeDef *)(__LL_DMA_GET_CHANNEL_INSTANCE(DMAx, Channel)); in LL_DMA_DeInit() 233 LL_DMA_SetPeriphRequest(DMAx, Channel, LL_DMAMUX_REQ_MEM2MEM); in LL_DMA_DeInit() 236 LL_DMA_SetPeriphRequest(DMAx, Channel, LL_DMA_REQUEST_0); in LL_DMA_DeInit() 239 if (Channel == LL_DMA_CHANNEL_1) in LL_DMA_DeInit() 244 else if (Channel == LL_DMA_CHANNEL_2) in LL_DMA_DeInit() 249 else if (Channel == LL_DMA_CHANNEL_3) in LL_DMA_DeInit() 254 else if (Channel == LL_DMA_CHANNEL_4) in LL_DMA_DeInit() [all …]
|
D | stm32l4xx_hal_dac.c | 552 HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_Start() argument 555 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DAC_Start() 564 __HAL_DAC_ENABLE(hdac, Channel); in HAL_DAC_Start() 567 if(Channel == DAC_CHANNEL_1) in HAL_DAC_Start() 590 if(Channel == DAC_CHANNEL_1) in HAL_DAC_Start() 640 HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_Stop() argument 643 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DAC_Stop() 646 __HAL_DAC_DISABLE(hdac, Channel); in HAL_DAC_Stop() 672 HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t* pData, uin… in HAL_DAC_Start_DMA() argument 678 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DAC_Start_DMA() [all …]
|
D | stm32l4xx_hal_tim_ex.c | 114 static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState); 515 HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIMEx_OCN_Start() argument 518 assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); in HAL_TIMEx_OCN_Start() 521 TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); in HAL_TIMEx_OCN_Start() 547 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIMEx_OCN_Stop() argument 550 assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); in HAL_TIMEx_OCN_Stop() 553 TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); in HAL_TIMEx_OCN_Stop() 576 HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIMEx_OCN_Start_IT() argument 579 assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); in HAL_TIMEx_OCN_Start_IT() 581 switch (Channel) in HAL_TIMEx_OCN_Start_IT() [all …]
|
D | stm32l4xx_hal_tim.c | 708 HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Start() argument 711 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Start() 714 TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); in HAL_TIM_OC_Start() 745 HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Stop() argument 748 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Stop() 751 TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); in HAL_TIM_OC_Stop() 777 HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Start_IT() argument 780 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Start_IT() 782 switch (Channel) in HAL_TIM_OC_Start_IT() 817 TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); in HAL_TIM_OC_Start_IT() [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_ll_dma.h | 89 #define DMA_POSITION_CSELR_CXS ((Channel-1U)*4U) 523 __STATIC_INLINE void LL_DMA_EnableChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_EnableChannel() argument 525 …SET_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->… in LL_DMA_EnableChannel() 542 __STATIC_INLINE void LL_DMA_DisableChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_DisableChannel() argument 544 …CLEAR_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))… in LL_DMA_DisableChannel() 561 __STATIC_INLINE uint32_t LL_DMA_IsEnabledChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_IsEnabledChannel() argument 563 …return (READ_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel -… in LL_DMA_IsEnabledChannel() 596 __STATIC_INLINE void LL_DMA_ConfigTransfer(DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Configurat… in LL_DMA_ConfigTransfer() argument 598 …MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U]))… in LL_DMA_ConfigTransfer() 622 __STATIC_INLINE void LL_DMA_SetDataTransferDirection(DMA_TypeDef *DMAx, uint32_t Channel, uint32_t … in LL_DMA_SetDataTransferDirection() argument [all …]
|
D | stm32l0xx_ll_tim.h | 1355 __STATIC_INLINE void LL_TIM_OC_ConfigOutput(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Configura… in LL_TIM_OC_ConfigOutput() argument 1357 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_ConfigOutput() 1388 __STATIC_INLINE void LL_TIM_OC_SetMode(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Mode) in LL_TIM_OC_SetMode() argument 1390 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_SetMode() 1417 __STATIC_INLINE uint32_t LL_TIM_OC_GetMode(TIM_TypeDef *TIMx, uint32_t Channel) in LL_TIM_OC_GetMode() argument 1419 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_GetMode() 1441 __STATIC_INLINE void LL_TIM_OC_SetPolarity(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Polarity) in LL_TIM_OC_SetPolarity() argument 1443 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_SetPolarity() 1463 __STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity(TIM_TypeDef *TIMx, uint32_t Channel) in LL_TIM_OC_GetPolarity() argument 1465 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_GetPolarity() [all …]
|
D | stm32l0xx_hal_tim.h | 323 HAL_TIM_ActiveChannel Channel; /*!< Active channel */ member 1289 HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); 1290 HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); 1292 HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 1293 HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 1295 HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, … 1296 HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); 1313 HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel); 1314 HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); 1316 HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_dma.h | 90 #define DMA_POSITION_CSELR_CXS POSITION_VAL(DMA_CSELR_C1S << ((Channel-1U)*4U)) 572 __STATIC_INLINE void LL_DMA_EnableChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_EnableChannel() argument 574 …SET_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->… in LL_DMA_EnableChannel() 591 __STATIC_INLINE void LL_DMA_DisableChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_DisableChannel() argument 593 …CLEAR_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))… in LL_DMA_DisableChannel() 610 __STATIC_INLINE uint32_t LL_DMA_IsEnabledChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_IsEnabledChannel() argument 612 …return ((READ_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel … in LL_DMA_IsEnabledChannel() 645 __STATIC_INLINE void LL_DMA_ConfigTransfer(DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Configurat… in LL_DMA_ConfigTransfer() argument 647 …MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U]))… in LL_DMA_ConfigTransfer() 671 __STATIC_INLINE void LL_DMA_SetDataTransferDirection(DMA_TypeDef *DMAx, uint32_t Channel, uint32_t … in LL_DMA_SetDataTransferDirection() argument [all …]
|
D | stm32l4xx_ll_dmamux.h | 524 __STATIC_INLINE void LL_DMAMUX_SetRequestID(DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint… in LL_DMAMUX_SetRequestID() argument 526 …MODIFY_REG(((DMAMUX_Channel_TypeDef*)((uint32_t)((uint32_t)DMAMUXx + (DMAMUX_CCR_SIZE*(Channel))))… in LL_DMAMUX_SetRequestID() 646 __STATIC_INLINE uint32_t LL_DMAMUX_GetRequestID(DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) in LL_DMAMUX_GetRequestID() argument 648 …UX_Channel_TypeDef *)((uint32_t)((uint32_t)DMAMUXx + (DMAMUX_CCR_SIZE * (Channel)))))->CCR, DMAMUX… in LL_DMAMUX_GetRequestID() 673 __STATIC_INLINE void LL_DMAMUX_SetSyncRequestNb(DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, … in LL_DMAMUX_SetSyncRequestNb() argument 675 …MODIFY_REG(((DMAMUX_Channel_TypeDef *)((uint32_t)((uint32_t)DMAMUXx + (DMAMUX_CCR_SIZE * (Channel)… in LL_DMAMUX_SetSyncRequestNb() 699 …TATIC_INLINE uint32_t LL_DMAMUX_GetSyncRequestNb(DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) in LL_DMAMUX_GetSyncRequestNb() argument 701 …UX_Channel_TypeDef *)((uint32_t)((uint32_t)DMAMUXx + (DMAMUX_CCR_SIZE * (Channel)))))->CCR, DMAMUX… in LL_DMAMUX_GetSyncRequestNb() 730 __STATIC_INLINE void LL_DMAMUX_SetSyncPolarity(DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, u… in LL_DMAMUX_SetSyncPolarity() argument 732 …MODIFY_REG(((DMAMUX_Channel_TypeDef*)((uint32_t)((uint32_t)DMAMUXx + (DMAMUX_CCR_SIZE*(Channel))))… in LL_DMAMUX_SetSyncPolarity() [all …]
|
D | stm32l4xx_hal_tim_ex.h | 330 HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); 331 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); 334 HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 335 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 338 HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pDat… 339 HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); 350 HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); 351 HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); 354 HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 355 HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); [all …]
|
D | stm32l4xx_ll_tim.h | 2063 __STATIC_INLINE void LL_TIM_OC_ConfigOutput(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Configura… in LL_TIM_OC_ConfigOutput() argument 2065 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_ConfigOutput() 2108 __STATIC_INLINE void LL_TIM_OC_SetMode(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Mode) in LL_TIM_OC_SetMode() argument 2110 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_SetMode() 2147 __STATIC_INLINE uint32_t LL_TIM_OC_GetMode(TIM_TypeDef *TIMx, uint32_t Channel) in LL_TIM_OC_GetMode() argument 2149 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_GetMode() 2181 __STATIC_INLINE void LL_TIM_OC_SetPolarity(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Polarity) in LL_TIM_OC_SetPolarity() argument 2183 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_SetPolarity() 2213 __STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity(TIM_TypeDef *TIMx, uint32_t Channel) in LL_TIM_OC_GetPolarity() argument 2215 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_GetPolarity() [all …]
|
D | stm32l4xx_hal_tim.h | 339 HAL_TIM_ActiveChannel Channel; /*!< Active channel */ member 1926 HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); 1927 HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); 1929 HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 1930 HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 1932 HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, … 1933 HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); 1948 HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel); 1949 HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); 1951 HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_dac_ex.c | 146 HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_… in HAL_DACEx_TriangleWaveGenerate() argument 149 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DACEx_TriangleWaveGenerate() 159 …dac->Instance->CR, ((DAC_CR_WAVE1)|(DAC_CR_MAMP1))<<Channel, (DAC_CR_WAVE1_1 | Amplitude) << Chann… in HAL_DACEx_TriangleWaveGenerate() 196 HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t A… in HAL_DACEx_NoiseWaveGenerate() argument 199 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DACEx_NoiseWaveGenerate() 209 …dac->Instance->CR, ((DAC_CR_WAVE1)|(DAC_CR_MAMP1))<<Channel, (DAC_CR_WAVE1_0 | Amplitude) << Chann… in HAL_DACEx_NoiseWaveGenerate() 341 HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_Start() argument 346 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DAC_Start() 355 __HAL_DAC_ENABLE(hdac, Channel); in HAL_DAC_Start() 357 if(Channel == DAC_CHANNEL_1) in HAL_DAC_Start() [all …]
|
D | stm32l0xx_hal_dac.c | 368 __weak HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_Start() argument 372 UNUSED(Channel); in HAL_DAC_Start() 391 HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_Stop() argument 394 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DAC_Stop() 397 __HAL_DAC_DISABLE(hdac, Channel); in HAL_DAC_Stop() 423 __weak HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t* pDa… in HAL_DAC_Start_DMA() argument 427 UNUSED(Channel); in HAL_DAC_Start_DMA() 449 __weak HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_Stop_DMA() argument 453 UNUSED(Channel); in HAL_DAC_Stop_DMA() 472 __weak uint32_t HAL_DAC_GetValue(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_GetValue() argument [all …]
|
D | stm32l0xx_ll_dma.c | 166 uint32_t LL_DMA_DeInit(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_DeInit() argument 172 assert_param(IS_LL_DMA_ALL_CHANNEL_INSTANCE(DMAx, Channel) || (Channel == LL_DMA_CHANNEL_ALL)); in LL_DMA_DeInit() 174 if (Channel == LL_DMA_CHANNEL_ALL) in LL_DMA_DeInit() 201 tmp = (DMA_Channel_TypeDef *)(__LL_DMA_GET_CHANNEL_INSTANCE(DMAx, Channel)); in LL_DMA_DeInit() 219 LL_DMA_SetPeriphRequest(DMAx, Channel, LL_DMA_REQUEST_0); in LL_DMA_DeInit() 221 if (Channel == LL_DMA_CHANNEL_1) in LL_DMA_DeInit() 226 else if (Channel == LL_DMA_CHANNEL_2) in LL_DMA_DeInit() 231 else if (Channel == LL_DMA_CHANNEL_3) in LL_DMA_DeInit() 236 else if (Channel == LL_DMA_CHANNEL_4) in LL_DMA_DeInit() 241 else if (Channel == LL_DMA_CHANNEL_5) in LL_DMA_DeInit() [all …]
|
D | stm32l0xx_hal_tim.c | 164 static void TIM_CCxChannelCmd(TIM_TypeDef* TIMx, uint32_t Channel, uint32_t ChannelState); 589 HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Start() argument 592 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Start() 595 TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); in HAL_TIM_OC_Start() 615 HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Stop() argument 618 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Stop() 621 TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); in HAL_TIM_OC_Stop() 641 HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Start_IT() argument 644 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Start_IT() 646 switch (Channel) in HAL_TIM_OC_Start_IT() [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_ll_dma.h | 507 __STATIC_INLINE void LL_DMA_EnableChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_EnableChannel() argument 509 …SET_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->… in LL_DMA_EnableChannel() 526 __STATIC_INLINE void LL_DMA_DisableChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_DisableChannel() argument 528 …CLEAR_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))… in LL_DMA_DisableChannel() 545 __STATIC_INLINE uint32_t LL_DMA_IsEnabledChannel(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_IsEnabledChannel() argument 547 …return (READ_BIT(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel -… in LL_DMA_IsEnabledChannel() 580 __STATIC_INLINE void LL_DMA_ConfigTransfer(DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Configurat… in LL_DMA_ConfigTransfer() argument 582 …MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U]))… in LL_DMA_ConfigTransfer() 606 __STATIC_INLINE void LL_DMA_SetDataTransferDirection(DMA_TypeDef *DMAx, uint32_t Channel, uint32_t … in LL_DMA_SetDataTransferDirection() argument 608 …MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U]))… in LL_DMA_SetDataTransferDirection() [all …]
|
D | stm32l1xx_ll_tim.h | 1330 __STATIC_INLINE void LL_TIM_OC_ConfigOutput(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Configura… in LL_TIM_OC_ConfigOutput() argument 1332 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_ConfigOutput() 1363 __STATIC_INLINE void LL_TIM_OC_SetMode(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Mode) in LL_TIM_OC_SetMode() argument 1365 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_SetMode() 1392 __STATIC_INLINE uint32_t LL_TIM_OC_GetMode(TIM_TypeDef *TIMx, uint32_t Channel) in LL_TIM_OC_GetMode() argument 1394 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_GetMode() 1416 __STATIC_INLINE void LL_TIM_OC_SetPolarity(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Polarity) in LL_TIM_OC_SetPolarity() argument 1418 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_SetPolarity() 1438 __STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity(TIM_TypeDef *TIMx, uint32_t Channel) in LL_TIM_OC_GetPolarity() argument 1440 register uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); in LL_TIM_OC_GetPolarity() [all …]
|
D | stm32l1xx_hal_tim.h | 261 HAL_TIM_ActiveChannel Channel; /*!< Active channel */ member 1423 HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); 1424 HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); 1426 HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 1427 HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); 1429 HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, … 1430 HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); 1445 HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel); 1446 HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); 1448 HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); [all …]
|
D | stm32l1xx_hal_dac.h | 345 HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef* hdac, uint32_t Channel); 346 HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef* hdac, uint32_t Channel); 347 HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t* pData, uin… 348 HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel); 349 HAL_StatusTypeDef HAL_DAC_SetValue(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t Alignment, u… 350 uint32_t HAL_DAC_GetValue(DAC_HandleTypeDef* hdac, uint32_t Channel); 360 … HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, uint32_t Channel);
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_dac.c | 391 HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_Start() argument 394 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DAC_Start() 403 __HAL_DAC_ENABLE(hdac, Channel); in HAL_DAC_Start() 405 if(Channel == DAC_CHANNEL_1) in HAL_DAC_Start() 444 HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef* hdac, uint32_t Channel) in HAL_DAC_Stop() argument 447 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DAC_Stop() 450 __HAL_DAC_DISABLE(hdac, Channel); in HAL_DAC_Stop() 476 HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t* pData, uin… in HAL_DAC_Start_DMA() argument 481 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DAC_Start_DMA() 490 if(Channel == DAC_CHANNEL_1) in HAL_DAC_Start_DMA() [all …]
|
D | stm32l1xx_ll_dma.c | 167 uint32_t LL_DMA_DeInit(DMA_TypeDef *DMAx, uint32_t Channel) in LL_DMA_DeInit() argument 173 assert_param(IS_LL_DMA_ALL_CHANNEL_INSTANCE(DMAx, Channel) || (Channel == LL_DMA_CHANNEL_ALL)); in LL_DMA_DeInit() 175 if (Channel == LL_DMA_CHANNEL_ALL) in LL_DMA_DeInit() 202 tmp = (DMA_Channel_TypeDef *)(__LL_DMA_GET_CHANNEL_INSTANCE(DMAx, Channel)); in LL_DMA_DeInit() 220 if (Channel == LL_DMA_CHANNEL_1) in LL_DMA_DeInit() 225 else if (Channel == LL_DMA_CHANNEL_2) in LL_DMA_DeInit() 230 else if (Channel == LL_DMA_CHANNEL_3) in LL_DMA_DeInit() 235 else if (Channel == LL_DMA_CHANNEL_4) in LL_DMA_DeInit() 240 else if (Channel == LL_DMA_CHANNEL_5) in LL_DMA_DeInit() 246 else if (Channel == LL_DMA_CHANNEL_6) in LL_DMA_DeInit() [all …]
|
D | stm32l1xx_hal_tim.c | 165 static void TIM_CCxChannelCmd(TIM_TypeDef* TIMx, uint32_t Channel, uint32_t ChannelState); 591 HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Start() argument 594 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Start() 597 TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); in HAL_TIM_OC_Start() 617 HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Stop() argument 620 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Stop() 623 TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); in HAL_TIM_OC_Stop() 643 HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) in HAL_TIM_OC_Start_IT() argument 646 assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); in HAL_TIM_OC_Start_IT() 648 switch (Channel) in HAL_TIM_OC_Start_IT() [all …]
|
D | stm32l1xx_hal_dac_ex.c | 139 HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_… in HAL_DACEx_TriangleWaveGenerate() argument 142 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DACEx_TriangleWaveGenerate() 152 …dac->Instance->CR, ((DAC_CR_WAVE1)|(DAC_CR_MAMP1))<<Channel, (DAC_CR_WAVE1_1 | Amplitude) << Chann… in HAL_DACEx_TriangleWaveGenerate() 187 HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t A… in HAL_DACEx_NoiseWaveGenerate() argument 190 assert_param(IS_DAC_CHANNEL(Channel)); in HAL_DACEx_NoiseWaveGenerate() 200 …dac->Instance->CR, ((DAC_CR_WAVE1)|(DAC_CR_MAMP1))<<Channel, (DAC_CR_WAVE1_0 | Amplitude) << Chann… in HAL_DACEx_NoiseWaveGenerate()
|