Home
last modified time | relevance | path

Searched refs:assert_param (Results 1 – 25 of 46) sorted by relevance

12

/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_cortex.c183 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_SetPriorityGrouping()
207 assert_param(IS_NVIC_SUB_PRIORITY(SubPriority)); in HAL_NVIC_SetPriority()
208 assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); in HAL_NVIC_SetPriority()
227 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_EnableIRQ()
243 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_DisableIRQ()
324 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_GetPriority()
339 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_SetPendingIRQ()
357 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_GetPendingIRQ()
373 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_ClearPendingIRQ()
404 assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource)); in HAL_SYSTICK_CLKSourceConfig()
[all …]
Dstm32l4xx_hal_rtc.c193 assert_param(IS_RTC_ALL_INSTANCE(hrtc->Instance)); in HAL_RTC_Init()
194 assert_param(IS_RTC_HOUR_FORMAT(hrtc->Init.HourFormat)); in HAL_RTC_Init()
195 assert_param(IS_RTC_ASYNCH_PREDIV(hrtc->Init.AsynchPrediv)); in HAL_RTC_Init()
196 assert_param(IS_RTC_SYNCH_PREDIV(hrtc->Init.SynchPrediv)); in HAL_RTC_Init()
197 assert_param(IS_RTC_OUTPUT(hrtc->Init.OutPut)); in HAL_RTC_Init()
198 assert_param(IS_RTC_OUTPUT_REMAP(hrtc->Init.OutPutRemap)); in HAL_RTC_Init()
199 assert_param(IS_RTC_OUTPUT_POL(hrtc->Init.OutPutPolarity)); in HAL_RTC_Init()
200 assert_param(IS_RTC_OUTPUT_TYPE(hrtc->Init.OutPutType)); in HAL_RTC_Init()
280 assert_param(IS_RTC_ALL_INSTANCE(hrtc->Instance)); in HAL_RTC_DeInit()
436 assert_param(IS_RTC_FORMAT(Format)); in HAL_RTC_SetTime()
[all …]
Dstm32l4xx_hal_tim.c209 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Init()
210 assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); in HAL_TIM_Base_Init()
211 assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); in HAL_TIM_Base_Init()
212 assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); in HAL_TIM_Base_Init()
243 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_DeInit()
301 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Start()
324 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Stop()
347 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Start_IT()
367 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Stop_IT()
388 assert_param(IS_TIM_DMA_INSTANCE(htim->Instance)); in HAL_TIM_Base_Start_DMA()
[all …]
Dstm32l4xx_hal_tim_ex.c165 assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_Init()
166 assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); in HAL_TIMEx_HallSensor_Init()
167 assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); in HAL_TIMEx_HallSensor_Init()
168 assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); in HAL_TIMEx_HallSensor_Init()
169 assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); in HAL_TIMEx_HallSensor_Init()
170 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); in HAL_TIMEx_HallSensor_Init()
171 assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); in HAL_TIMEx_HallSensor_Init()
237 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_DeInit()
294 assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_Start()
315 assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_Stop()
[all …]
Dstm32l4xx_hal_dma_ex.c117 assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); in HAL_DMAEx_ConfigMuxSync()
119 assert_param(IS_DMAMUX_SYNC_SIGNAL_ID(pSyncConfig->SyncSignalID)); in HAL_DMAEx_ConfigMuxSync()
121 assert_param(IS_DMAMUX_SYNC_POLARITY(pSyncConfig-> SyncPolarity)); in HAL_DMAEx_ConfigMuxSync()
122 assert_param(IS_DMAMUX_SYNC_STATE(pSyncConfig->SyncEnable)); in HAL_DMAEx_ConfigMuxSync()
123 assert_param(IS_DMAMUX_SYNC_EVENT(pSyncConfig->EventEnable)); in HAL_DMAEx_ConfigMuxSync()
124 assert_param(IS_DMAMUX_SYNC_REQUEST_NUMBER(pSyncConfig->RequestNumber)); in HAL_DMAEx_ConfigMuxSync()
163 assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); in HAL_DMAEx_ConfigMuxRequestGenerator()
165 assert_param(IS_DMAMUX_REQUEST_GEN_SIGNAL_ID(pRequestGeneratorConfig->SignalID)); in HAL_DMAEx_ConfigMuxRequestGenerator()
167 assert_param(IS_DMAMUX_REQUEST_GEN_POLARITY(pRequestGeneratorConfig->Polarity)); in HAL_DMAEx_ConfigMuxRequestGenerator()
168 assert_param(IS_DMAMUX_REQUEST_GEN_REQUEST_NUMBER(pRequestGeneratorConfig->RequestNumber)); in HAL_DMAEx_ConfigMuxRequestGenerator()
[all …]
Dstm32l4xx_hal_gpio.c196 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_Init()
197 assert_param(IS_GPIO_PIN(GPIO_Init->Pin)); in HAL_GPIO_Init()
198 assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); in HAL_GPIO_Init()
199 assert_param(IS_GPIO_PULL(GPIO_Init->Pull)); in HAL_GPIO_Init()
214 assert_param(IS_GPIO_AF_INSTANCE(GPIOx)); in HAL_GPIO_Init()
215 assert_param(IS_GPIO_AF(GPIO_Init->Alternate)); in HAL_GPIO_Init()
235 assert_param(IS_GPIO_SPEED(GPIO_Init->Speed)); in HAL_GPIO_Init()
335 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_DeInit()
336 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_DeInit()
421 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_ReadPin()
[all …]
Dstm32l4xx_hal_uart_ex.c187 assert_param(IS_UART_DRIVER_ENABLE_INSTANCE(huart->Instance)); in HAL_RS485Ex_Init()
190 assert_param(IS_UART_DE_POLARITY(Polarity)); in HAL_RS485Ex_Init()
193 assert_param(IS_UART_ASSERTIONTIME(AssertionTime)); in HAL_RS485Ex_Init()
196 assert_param(IS_UART_DEASSERTIONTIME(DeassertionTime)); in HAL_RS485Ex_Init()
371 assert_param(IS_UART_ADDRESSLENGTH_DETECT(AddressLength)); in HAL_MultiProcessorEx_AddressLength_Set()
407 assert_param(IS_UART_WAKEUP_FROMSTOP_INSTANCE(huart->Instance)); in HAL_UARTEx_StopModeWakeUpSourceConfig()
409 assert_param(IS_UART_WAKEUP_SELECTION(WakeUpSelection.WakeUpEvent)); in HAL_UARTEx_StopModeWakeUpSourceConfig()
519 assert_param(IS_UART_SPI_SLAVE_INSTANCE(huart->Instance)); in HAL_UARTEx_EnableSlaveMode()
567 assert_param(IS_UART_SPI_SLAVE_INSTANCE(huart->Instance)); in HAL_UARTEx_DisableSlaveMode()
615 assert_param(IS_UART_SPI_SLAVE_INSTANCE(huart->Instance)); in HAL_UARTEx_ConfigNSS()
[all …]
Dstm32l4xx_hal_i2c_ex.c116 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigAnalogFilter()
117 assert_param(IS_I2C_ANALOG_FILTER(AnalogFilter)); in HAL_I2CEx_ConfigAnalogFilter()
162 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigDigitalFilter()
163 assert_param(IS_I2C_DIGITAL_FILTER(DigitalFilter)); in HAL_I2CEx_ConfigDigitalFilter()
211 assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hi2c->Instance)); in HAL_I2CEx_EnableWakeUp()
250 assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hi2c->Instance)); in HAL_I2CEx_DisableWakeUp()
300 assert_param(IS_I2C_FASTMODEPLUS(ConfigFastModePlus)); in HAL_I2CEx_EnableFastModePlus()
329 assert_param(IS_I2C_FASTMODEPLUS(ConfigFastModePlus)); in HAL_I2CEx_DisableFastModePlus()
Dstm32l4xx_hal_rtc_ex.c208 assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge)); in HAL_RTCEx_SetTimeStamp()
209 assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin)); in HAL_RTCEx_SetTimeStamp()
264 assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge)); in HAL_RTCEx_SetTimeStamp_IT()
265 assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin)); in HAL_RTCEx_SetTimeStamp_IT()
419 assert_param(IS_RTC_FORMAT(Format)); in HAL_RTCEx_GetTimeStamp()
471 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
472 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
473 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
474 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
475 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
[all …]
Dstm32l4xx_hal_flash_ex.c163 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase()
267 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase_IT()
339 assert_param(IS_OPTIONBYTE(pOBInit->OptionType)); in HAL_FLASHEx_OBProgram()
481 assert_param(IS_FLASH_LVE_PIN(ConfigLVE)); in HAL_FLASHEx_ConfigLVEPin()
543 assert_param(IS_FLASH_BANK(Banks)); in FLASH_MassErase()
585 assert_param(IS_FLASH_PAGE(Page)); in FLASH_PageErase()
598 assert_param(IS_FLASH_BANK_EXCLUSIVE(Banks)); in FLASH_PageErase()
679 assert_param(IS_OB_WRPAREA(WRPArea)); in FLASH_OB_WRPConfig()
680 assert_param(IS_FLASH_PAGE(WRPStartOffset)); in FLASH_OB_WRPConfig()
681 assert_param(IS_FLASH_PAGE(WRDPEndOffset)); in FLASH_OB_WRPConfig()
[all …]
Dstm32l4xx_hal_rcc.c405 assert_param(RCC_OscInitStruct != NULL); in HAL_RCC_OscConfig()
406 assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); in HAL_RCC_OscConfig()
412 assert_param(IS_RCC_MSI(RCC_OscInitStruct->MSIState)); in HAL_RCC_OscConfig()
413 assert_param(IS_RCC_MSICALIBRATION_VALUE(RCC_OscInitStruct->MSICalibrationValue)); in HAL_RCC_OscConfig()
414 assert_param(IS_RCC_MSI_CLOCK_RANGE(RCC_OscInitStruct->MSIClockRange)); in HAL_RCC_OscConfig()
513 assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); in HAL_RCC_OscConfig()
564 assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState)); in HAL_RCC_OscConfig()
565 assert_param(IS_RCC_HSI_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue)); in HAL_RCC_OscConfig()
629 assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState)); in HAL_RCC_OscConfig()
673 assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState)); in HAL_RCC_OscConfig()
[all …]
Dstm32l4xx_hal_rcc_ex.c211 assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
217 assert_param(IS_RCC_SAI1CLK(PeriphClkInit->Sai1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
277 assert_param(IS_RCC_SAI2CLK(PeriphClkInit->Sai2ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
330 assert_param(IS_RCC_RTCCLKSOURCE(PeriphClkInit->RTCClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
415 assert_param(IS_RCC_USART1CLKSOURCE(PeriphClkInit->Usart1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
425 assert_param(IS_RCC_USART2CLKSOURCE(PeriphClkInit->Usart2ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
437 assert_param(IS_RCC_USART3CLKSOURCE(PeriphClkInit->Usart3ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
451 assert_param(IS_RCC_UART4CLKSOURCE(PeriphClkInit->Uart4ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
465 assert_param(IS_RCC_UART5CLKSOURCE(PeriphClkInit->Uart5ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
477 assert_param(IS_RCC_LPUART1CLKSOURCE(PeriphClkInit->Lpuart1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_cortex.c183 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_SetPriorityGrouping()
207 assert_param(IS_NVIC_SUB_PRIORITY(SubPriority)); in HAL_NVIC_SetPriority()
208 assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); in HAL_NVIC_SetPriority()
227 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_EnableIRQ()
243 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_DisableIRQ()
324 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_GetPriority()
339 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_SetPendingIRQ()
357 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_GetPendingIRQ()
373 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_ClearPendingIRQ()
404 assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource)); in HAL_SYSTICK_CLKSourceConfig()
[all …]
Dstm32l4xx_hal_rtc.c193 assert_param(IS_RTC_ALL_INSTANCE(hrtc->Instance)); in HAL_RTC_Init()
194 assert_param(IS_RTC_HOUR_FORMAT(hrtc->Init.HourFormat)); in HAL_RTC_Init()
195 assert_param(IS_RTC_ASYNCH_PREDIV(hrtc->Init.AsynchPrediv)); in HAL_RTC_Init()
196 assert_param(IS_RTC_SYNCH_PREDIV(hrtc->Init.SynchPrediv)); in HAL_RTC_Init()
197 assert_param(IS_RTC_OUTPUT(hrtc->Init.OutPut)); in HAL_RTC_Init()
198 assert_param(IS_RTC_OUTPUT_REMAP(hrtc->Init.OutPutRemap)); in HAL_RTC_Init()
199 assert_param(IS_RTC_OUTPUT_POL(hrtc->Init.OutPutPolarity)); in HAL_RTC_Init()
200 assert_param(IS_RTC_OUTPUT_TYPE(hrtc->Init.OutPutType)); in HAL_RTC_Init()
280 assert_param(IS_RTC_ALL_INSTANCE(hrtc->Instance)); in HAL_RTC_DeInit()
436 assert_param(IS_RTC_FORMAT(Format)); in HAL_RTC_SetTime()
[all …]
Dstm32l4xx_hal_tim.c209 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Init()
210 assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); in HAL_TIM_Base_Init()
211 assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); in HAL_TIM_Base_Init()
212 assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); in HAL_TIM_Base_Init()
243 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_DeInit()
301 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Start()
324 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Stop()
347 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Start_IT()
367 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Stop_IT()
388 assert_param(IS_TIM_DMA_INSTANCE(htim->Instance)); in HAL_TIM_Base_Start_DMA()
[all …]
Dstm32l4xx_hal_tim_ex.c165 assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_Init()
166 assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); in HAL_TIMEx_HallSensor_Init()
167 assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); in HAL_TIMEx_HallSensor_Init()
168 assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); in HAL_TIMEx_HallSensor_Init()
169 assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); in HAL_TIMEx_HallSensor_Init()
170 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); in HAL_TIMEx_HallSensor_Init()
171 assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); in HAL_TIMEx_HallSensor_Init()
237 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_DeInit()
294 assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_Start()
315 assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_Stop()
[all …]
Dstm32l4xx_hal_dma_ex.c117 assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); in HAL_DMAEx_ConfigMuxSync()
119 assert_param(IS_DMAMUX_SYNC_SIGNAL_ID(pSyncConfig->SyncSignalID)); in HAL_DMAEx_ConfigMuxSync()
121 assert_param(IS_DMAMUX_SYNC_POLARITY(pSyncConfig-> SyncPolarity)); in HAL_DMAEx_ConfigMuxSync()
122 assert_param(IS_DMAMUX_SYNC_STATE(pSyncConfig->SyncEnable)); in HAL_DMAEx_ConfigMuxSync()
123 assert_param(IS_DMAMUX_SYNC_EVENT(pSyncConfig->EventEnable)); in HAL_DMAEx_ConfigMuxSync()
124 assert_param(IS_DMAMUX_SYNC_REQUEST_NUMBER(pSyncConfig->RequestNumber)); in HAL_DMAEx_ConfigMuxSync()
163 assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); in HAL_DMAEx_ConfigMuxRequestGenerator()
165 assert_param(IS_DMAMUX_REQUEST_GEN_SIGNAL_ID(pRequestGeneratorConfig->SignalID)); in HAL_DMAEx_ConfigMuxRequestGenerator()
167 assert_param(IS_DMAMUX_REQUEST_GEN_POLARITY(pRequestGeneratorConfig->Polarity)); in HAL_DMAEx_ConfigMuxRequestGenerator()
168 assert_param(IS_DMAMUX_REQUEST_GEN_REQUEST_NUMBER(pRequestGeneratorConfig->RequestNumber)); in HAL_DMAEx_ConfigMuxRequestGenerator()
[all …]
Dstm32l4xx_hal_gpio.c196 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_Init()
197 assert_param(IS_GPIO_PIN(GPIO_Init->Pin)); in HAL_GPIO_Init()
198 assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); in HAL_GPIO_Init()
199 assert_param(IS_GPIO_PULL(GPIO_Init->Pull)); in HAL_GPIO_Init()
214 assert_param(IS_GPIO_AF_INSTANCE(GPIOx)); in HAL_GPIO_Init()
215 assert_param(IS_GPIO_AF(GPIO_Init->Alternate)); in HAL_GPIO_Init()
235 assert_param(IS_GPIO_SPEED(GPIO_Init->Speed)); in HAL_GPIO_Init()
335 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_DeInit()
336 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_DeInit()
421 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_ReadPin()
[all …]
Dstm32l4xx_hal_uart_ex.c187 assert_param(IS_UART_DRIVER_ENABLE_INSTANCE(huart->Instance)); in HAL_RS485Ex_Init()
190 assert_param(IS_UART_DE_POLARITY(Polarity)); in HAL_RS485Ex_Init()
193 assert_param(IS_UART_ASSERTIONTIME(AssertionTime)); in HAL_RS485Ex_Init()
196 assert_param(IS_UART_DEASSERTIONTIME(DeassertionTime)); in HAL_RS485Ex_Init()
371 assert_param(IS_UART_ADDRESSLENGTH_DETECT(AddressLength)); in HAL_MultiProcessorEx_AddressLength_Set()
407 assert_param(IS_UART_WAKEUP_FROMSTOP_INSTANCE(huart->Instance)); in HAL_UARTEx_StopModeWakeUpSourceConfig()
409 assert_param(IS_UART_WAKEUP_SELECTION(WakeUpSelection.WakeUpEvent)); in HAL_UARTEx_StopModeWakeUpSourceConfig()
519 assert_param(IS_UART_SPI_SLAVE_INSTANCE(huart->Instance)); in HAL_UARTEx_EnableSlaveMode()
567 assert_param(IS_UART_SPI_SLAVE_INSTANCE(huart->Instance)); in HAL_UARTEx_DisableSlaveMode()
615 assert_param(IS_UART_SPI_SLAVE_INSTANCE(huart->Instance)); in HAL_UARTEx_ConfigNSS()
[all …]
Dstm32l4xx_hal_i2c_ex.c116 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigAnalogFilter()
117 assert_param(IS_I2C_ANALOG_FILTER(AnalogFilter)); in HAL_I2CEx_ConfigAnalogFilter()
162 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigDigitalFilter()
163 assert_param(IS_I2C_DIGITAL_FILTER(DigitalFilter)); in HAL_I2CEx_ConfigDigitalFilter()
211 assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hi2c->Instance)); in HAL_I2CEx_EnableWakeUp()
250 assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hi2c->Instance)); in HAL_I2CEx_DisableWakeUp()
300 assert_param(IS_I2C_FASTMODEPLUS(ConfigFastModePlus)); in HAL_I2CEx_EnableFastModePlus()
329 assert_param(IS_I2C_FASTMODEPLUS(ConfigFastModePlus)); in HAL_I2CEx_DisableFastModePlus()
Dstm32l4xx_hal_rtc_ex.c208 assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge)); in HAL_RTCEx_SetTimeStamp()
209 assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin)); in HAL_RTCEx_SetTimeStamp()
264 assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge)); in HAL_RTCEx_SetTimeStamp_IT()
265 assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin)); in HAL_RTCEx_SetTimeStamp_IT()
419 assert_param(IS_RTC_FORMAT(Format)); in HAL_RTCEx_GetTimeStamp()
471 assert_param(IS_RTC_TAMPER(sTamper->Tamper)); in HAL_RTCEx_SetTamper()
472 assert_param(IS_RTC_TAMPER_TRIGGER(sTamper->Trigger)); in HAL_RTCEx_SetTamper()
473 assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase)); in HAL_RTCEx_SetTamper()
474 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag)); in HAL_RTCEx_SetTamper()
475 assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter)); in HAL_RTCEx_SetTamper()
[all …]
Dstm32l4xx_hal_flash_ex.c163 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase()
267 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase_IT()
339 assert_param(IS_OPTIONBYTE(pOBInit->OptionType)); in HAL_FLASHEx_OBProgram()
481 assert_param(IS_FLASH_LVE_PIN(ConfigLVE)); in HAL_FLASHEx_ConfigLVEPin()
543 assert_param(IS_FLASH_BANK(Banks)); in FLASH_MassErase()
585 assert_param(IS_FLASH_PAGE(Page)); in FLASH_PageErase()
598 assert_param(IS_FLASH_BANK_EXCLUSIVE(Banks)); in FLASH_PageErase()
679 assert_param(IS_OB_WRPAREA(WRPArea)); in FLASH_OB_WRPConfig()
680 assert_param(IS_FLASH_PAGE(WRPStartOffset)); in FLASH_OB_WRPConfig()
681 assert_param(IS_FLASH_PAGE(WRDPEndOffset)); in FLASH_OB_WRPConfig()
[all …]
Dstm32l4xx_hal_rcc.c405 assert_param(RCC_OscInitStruct != NULL); in HAL_RCC_OscConfig()
406 assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); in HAL_RCC_OscConfig()
412 assert_param(IS_RCC_MSI(RCC_OscInitStruct->MSIState)); in HAL_RCC_OscConfig()
413 assert_param(IS_RCC_MSICALIBRATION_VALUE(RCC_OscInitStruct->MSICalibrationValue)); in HAL_RCC_OscConfig()
414 assert_param(IS_RCC_MSI_CLOCK_RANGE(RCC_OscInitStruct->MSIClockRange)); in HAL_RCC_OscConfig()
513 assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); in HAL_RCC_OscConfig()
564 assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState)); in HAL_RCC_OscConfig()
565 assert_param(IS_RCC_HSI_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue)); in HAL_RCC_OscConfig()
629 assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState)); in HAL_RCC_OscConfig()
673 assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState)); in HAL_RCC_OscConfig()
[all …]
Dstm32l4xx_hal_rcc_ex.c211 assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
217 assert_param(IS_RCC_SAI1CLK(PeriphClkInit->Sai1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
277 assert_param(IS_RCC_SAI2CLK(PeriphClkInit->Sai2ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
330 assert_param(IS_RCC_RTCCLKSOURCE(PeriphClkInit->RTCClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
415 assert_param(IS_RCC_USART1CLKSOURCE(PeriphClkInit->Usart1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
425 assert_param(IS_RCC_USART2CLKSOURCE(PeriphClkInit->Usart2ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
437 assert_param(IS_RCC_USART3CLKSOURCE(PeriphClkInit->Usart3ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
451 assert_param(IS_RCC_UART4CLKSOURCE(PeriphClkInit->Uart4ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
465 assert_param(IS_RCC_UART5CLKSOURCE(PeriphClkInit->Uart5ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
477 assert_param(IS_RCC_LPUART1CLKSOURCE(PeriphClkInit->Lpuart1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
[all …]
Dstm32l4xx_hal_pwr.c331 assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel)); in HAL_PWR_ConfigPVD()
332 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
410 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinPolarity)); in HAL_PWR_EnableWakeUpPin()
431 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinx)); in HAL_PWR_DisableWakeUpPin()
464 assert_param(IS_PWR_REGULATOR(Regulator)); in HAL_PWR_EnterSLEEPMode()
465 assert_param(IS_PWR_SLEEP_ENTRY(SLEEPEntry)); in HAL_PWR_EnterSLEEPMode()
540 assert_param(IS_PWR_REGULATOR(Regulator)); in HAL_PWR_EnterSTOPMode()

12