Home
last modified time | relevance | path

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

1234

/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Src/
Dstm32h5xx_hal_gpio.c186 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_Init()
187 assert_param(IS_GPIO_PIN(pGPIO_Init->Pin)); in HAL_GPIO_Init()
188 assert_param(IS_GPIO_MODE(pGPIO_Init->Mode)); in HAL_GPIO_Init()
189 assert_param(IS_GPIO_PULL(pGPIO_Init->Pull)); in HAL_GPIO_Init()
204 assert_param(IS_GPIO_AF_INSTANCE(GPIOx)); in HAL_GPIO_Init()
205 assert_param(IS_GPIO_AF(pGPIO_Init->Alternate)); in HAL_GPIO_Init()
225 assert_param(IS_GPIO_SPEED(pGPIO_Init->Speed)); in HAL_GPIO_Init()
243 assert_param(IS_GPIO_PULL(pGPIO_Init->Pull)); in HAL_GPIO_Init()
316 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_DeInit()
317 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_DeInit()
[all …]
Dstm32h5xx_hal_rtc.c277 assert_param(IS_RTC_ALL_INSTANCE(hrtc->Instance)); in HAL_RTC_Init()
278 assert_param(IS_RTC_HOUR_FORMAT(hrtc->Init.HourFormat)); in HAL_RTC_Init()
279 assert_param(IS_RTC_ASYNCH_PREDIV(hrtc->Init.AsynchPrediv)); in HAL_RTC_Init()
280 assert_param(IS_RTC_SYNCH_PREDIV(hrtc->Init.SynchPrediv)); in HAL_RTC_Init()
282 assert_param(IS_RTC_OUTPUT(hrtc->Init.OutPut)); in HAL_RTC_Init()
283 assert_param(IS_RTC_OUTPUT_POL(hrtc->Init.OutPutPolarity)); in HAL_RTC_Init()
284 assert_param(IS_RTC_OUTPUT_TYPE(hrtc->Init.OutPutType)); in HAL_RTC_Init()
285 assert_param(IS_RTC_OUTPUT_PULLUP(hrtc->Init.OutPutPullUp)); in HAL_RTC_Init()
288 assert_param(IS_RTC_OUTPUT_REMAP(hrtc->Init.OutPutRemap)); in HAL_RTC_Init()
290 assert_param(IS_RTC_BINARY_MODE(hrtc->Init.BinMode)); in HAL_RTC_Init()
[all …]
Dstm32h5xx_hal_cortex.c187 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_SetPriorityGrouping()
212 assert_param(IS_NVIC_SUB_PRIORITY(SubPriority)); in HAL_NVIC_SetPriority()
213 assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); in HAL_NVIC_SetPriority()
233 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_EnableIRQ()
250 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_DisableIRQ()
302 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_GetPriority()
411 assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource)); in HAL_SYSTICK_CLKSourceConfig()
629 assert_param(IS_MPU_INSTANCE(MPUx)); in MPU_ConfigRegion()
631 assert_param(IS_MPU_REGION_NUMBER(pMPU_RegionInit->Number)); in MPU_ConfigRegion()
632 assert_param(IS_MPU_REGION_ENABLE(pMPU_RegionInit->Enable)); in MPU_ConfigRegion()
[all …]
Dstm32h5xx_hal_flash_ex.c175 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase()
262 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase_IT()
344 assert_param(IS_OPTIONBYTE(pOBInit->OptionType)); in HAL_FLASHEx_OBProgram()
363 assert_param(IS_WRPSTATE(pOBInit->WRPState)); in HAL_FLASHEx_OBProgram()
686 assert_param(IS_FLASH_BANK_EXCLUSIVE(pBBAttributes->Bank)); in HAL_FLASHEx_ConfigBBAttributes()
687 assert_param(IS_FLASH_BB_EXCLUSIVE(pBBAttributes->BBAttributesType)); in HAL_FLASHEx_ConfigBBAttributes()
759 assert_param(IS_FLASH_BANK_EXCLUSIVE(pBBAttributes->Bank)); in HAL_FLASHEx_GetConfigBBAttributes()
760 assert_param(IS_FLASH_BB_EXCLUSIVE(pBBAttributes->BBAttributesType)); in HAL_FLASHEx_GetConfigBBAttributes()
811 assert_param(IS_FLASH_CFGPRIVMODE(PrivMode)); in HAL_FLASHEx_ConfigPrivMode()
854 assert_param(IS_FLASH_CFGSECINV(SecInvState)); in HAL_FLASHEx_ConfigSecInversion()
[all …]
Dstm32h5xx_hal.c329 assert_param(IS_TICKFREQ(Freq)); in HAL_SetTickFreq()
567 assert_param(IS_VREFBUF_VOLTAGE_SCALE(VoltageScaling)); in HAL_VREFBUF_VoltageScalingConfig()
583 assert_param(IS_VREFBUF_HIGH_IMPEDANCE(Mode)); in HAL_VREFBUF_HighImpedanceConfig()
595 assert_param(IS_VREFBUF_TRIMMING(TrimmingValue)); in HAL_VREFBUF_TrimmingConfig()
647 assert_param(IS_SBS_ETHERNET_CONFIG(SBS_ETHInterface)); in HAL_SBS_ETHInterfaceSelect()
684 assert_param(IS_SBS_BOOSTVDD_SELECTION(SBS_BOOSTVDDSEL)); in HAL_SBS_AnalogSwitchSupplyVoltageSelection()
744 assert_param(IS_SBS_VDD_CODE_SELECT(SBS_CompCode)); in HAL_SBS_VDDCompensationCodeSelect()
759 assert_param(IS_SBS_VDDIO_CODE_SELECT(SBS_CompCode)); in HAL_SBS_VDDIOCompensationCodeSelect()
796 assert_param(IS_SBS_CODE_CONFIG(SBS_PMOSCode)); in HAL_SBS_VDDCompensationCodeConfig()
797 assert_param(IS_SBS_CODE_CONFIG(SBS_NMOSCode)); in HAL_SBS_VDDCompensationCodeConfig()
[all …]
Dstm32h5xx_hal_ramcfg.c192 assert_param(IS_RAMCFG_ALL_INSTANCE(hramcfg->Instance)); in HAL_RAMCFG_Init()
245 assert_param(IS_RAMCFG_ALL_INSTANCE(hramcfg->Instance)); in HAL_RAMCFG_DeInit()
354 assert_param(IS_RAMCFG_ECC_INSTANCE(hramcfg->Instance)); in HAL_RAMCFG_StartECC()
393 assert_param(IS_RAMCFG_ECC_INSTANCE(hramcfg->Instance)); in HAL_RAMCFG_StopECC()
439 assert_param(IS_RAMCFG_ECC_INSTANCE(hramcfg->Instance)); in HAL_RAMCFG_EnableNotification()
440 assert_param(IS_RAMCFG_INTERRUPT(Notifications)); in HAL_RAMCFG_EnableNotification()
480 assert_param(IS_RAMCFG_ECC_INSTANCE(hramcfg->Instance)); in HAL_RAMCFG_DisableNotification()
481 assert_param(IS_RAMCFG_INTERRUPT(Notifications)); in HAL_RAMCFG_DisableNotification()
515 assert_param(IS_RAMCFG_ECC_INSTANCE(hramcfg->Instance)); in HAL_RAMCFG_IsECCSingleErrorDetected()
531 assert_param(IS_RAMCFG_ECC_INSTANCE(hramcfg->Instance)); in HAL_RAMCFG_IsECCDoubleErrorDetected()
[all …]
Dstm32h5xx_hal_rcc.c455 assert_param(IS_RCC_OSCILLATORTYPE(pOscInitStruct->OscillatorType)); in HAL_RCC_OscConfig()
463 assert_param(IS_RCC_CSI(pOscInitStruct->CSIState)); in HAL_RCC_OscConfig()
464 assert_param(IS_RCC_CSICALIBRATION_VALUE(pOscInitStruct->CSICalibrationValue)); in HAL_RCC_OscConfig()
528 assert_param(IS_RCC_HSE(pOscInitStruct->HSEState)); in HAL_RCC_OscConfig()
579 assert_param(IS_RCC_HSI(pOscInitStruct->HSIState)); in HAL_RCC_OscConfig()
580 assert_param(IS_RCC_HSIDIV(pOscInitStruct->HSIDiv)); in HAL_RCC_OscConfig()
581 assert_param(IS_RCC_HSI_CALIBRATION_VALUE(pOscInitStruct->HSICalibrationValue)); in HAL_RCC_OscConfig()
680 assert_param(IS_RCC_LSI(pOscInitStruct->LSIState)); in HAL_RCC_OscConfig()
726 assert_param(IS_RCC_LSE(pOscInitStruct->LSEState)); in HAL_RCC_OscConfig()
785 assert_param(IS_RCC_HSI48(pOscInitStruct->HSI48State)); in HAL_RCC_OscConfig()
[all …]
Dstm32h5xx_hal_pwr_ex.c118 assert_param(IS_PWR_SUPPLY(SupplySource)); in HAL_PWREx_ConfigSupply()
171 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling()
229 assert_param(IS_PWR_STOP_MODE_REGULATOR_VOLTAGE(VoltageScaling)); in HAL_PWREx_ControlStopModeVoltageScaling()
275 assert_param(IS_PWR_AVD_LEVEL(sConfigAVD->AVDLevel)); in HAL_PWREx_ConfigAVD()
276 assert_param(IS_PWR_AVD_MODE(sConfigAVD->Mode)); in HAL_PWREx_ConfigAVD()
459 assert_param(IS_PWR_BATTERY_RESISTOR_SELECT(ResistorValue)); in HAL_PWREx_EnableBatteryCharging()
602 assert_param(IS_PWR_WAKEUP_PIN(sPinParams->WakeUpPin)); in HAL_PWREx_EnableWakeUpPin()
603 assert_param(IS_PWR_WAKEUP_PIN_POLARITY(sPinParams->PinPolarity)); in HAL_PWREx_EnableWakeUpPin()
604 assert_param(IS_PWR_WAKEUP_PIN_PULL(sPinParams->PinPull)); in HAL_PWREx_EnableWakeUpPin()
639 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinx)); in HAL_PWREx_DisableWakeUpPin()
[all …]
Dstm32h5xx_hal_rtc_ex.c175 assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge)); in HAL_RTCEx_SetTimeStamp()
177 assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin)); in HAL_RTCEx_SetTimeStamp()
233 assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge)); in HAL_RTCEx_SetTimeStamp_IT()
235 assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin)); in HAL_RTCEx_SetTimeStamp_IT()
391 assert_param(IS_RTC_FORMAT(Format)); in HAL_RTCEx_GetTimeStamp()
570 assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock)); in HAL_RTCEx_SetWakeUpTimer()
571 assert_param(IS_RTC_WAKEUP_COUNTER(WakeUpCounter)); in HAL_RTCEx_SetWakeUpTimer()
647 assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock)); in HAL_RTCEx_SetWakeUpTimer_IT()
648 assert_param(IS_RTC_WAKEUP_COUNTER(WakeUpCounter)); in HAL_RTCEx_SetWakeUpTimer_IT()
650 assert_param(WakeUpAutoClr <= WakeUpCounter); in HAL_RTCEx_SetWakeUpTimer_IT()
[all …]
Dstm32h5xx_hal_pwr.c148 assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel)); in HAL_PWR_ConfigPVD()
149 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
231 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinPolarity)); in HAL_PWR_EnableWakeUpPin()
263 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinx)); in HAL_PWR_DisableWakeUpPin()
298 assert_param(IS_PWR_SLEEP_ENTRY(SLEEPEntry)); in HAL_PWR_EnterSLEEPMode()
352 assert_param(IS_PWR_STOP_ENTRY(STOPEntry)); in HAL_PWR_EnterSTOPMode()
528 assert_param(IS_PWR_ATTRIBUTES(Attributes)); in HAL_PWR_ConfigAttributes()
531 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_ConfigAttributes()
621 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_GetConfigAttributes()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_rtc.c275 assert_param(IS_RTC_ALL_INSTANCE(hrtc->Instance)); in HAL_RTC_Init()
276 assert_param(IS_RTC_HOUR_FORMAT(hrtc->Init.HourFormat)); in HAL_RTC_Init()
277 assert_param(IS_RTC_ASYNCH_PREDIV(hrtc->Init.AsynchPrediv)); in HAL_RTC_Init()
278 assert_param(IS_RTC_SYNCH_PREDIV(hrtc->Init.SynchPrediv)); in HAL_RTC_Init()
279 assert_param(IS_RTC_OUTPUT(hrtc->Init.OutPut)); in HAL_RTC_Init()
280 assert_param(IS_RTC_OUTPUT_REMAP(hrtc->Init.OutPutRemap)); in HAL_RTC_Init()
281 assert_param(IS_RTC_OUTPUT_POL(hrtc->Init.OutPutPolarity)); in HAL_RTC_Init()
282 assert_param(IS_RTC_OUTPUT_TYPE(hrtc->Init.OutPutType)); in HAL_RTC_Init()
283 assert_param(IS_RTC_OUTPUT_PULLUP(hrtc->Init.OutPutPullUp)); in HAL_RTC_Init()
284 assert_param(IS_RTC_BINARY_MODE(hrtc->Init.BinMode)); in HAL_RTC_Init()
[all …]
Dstm32u5xx_hal_cortex.c189 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_SetPriorityGrouping()
214 assert_param(IS_NVIC_SUB_PRIORITY(SubPriority)); in HAL_NVIC_SetPriority()
215 assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); in HAL_NVIC_SetPriority()
235 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_EnableIRQ()
252 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_DisableIRQ()
335 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_GetPriority()
412 assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource)); in HAL_SYSTICK_CLKSourceConfig()
602 assert_param(IS_MPU_INSTANCE(MPUx)); in MPU_ConfigRegion()
604 assert_param(IS_MPU_REGION_NUMBER(pMPU_RegionInit->Number)); in MPU_ConfigRegion()
605 assert_param(IS_MPU_REGION_ENABLE(pMPU_RegionInit->Enable)); in MPU_ConfigRegion()
[all …]
Dstm32u5xx_hal_flash_ex.c188 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase()
259 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase_IT()
324 assert_param(IS_OPTIONBYTE(pOBInit->OptionType)); in HAL_FLASHEx_OBProgram()
478 assert_param(IS_FLASH_BANK_EXCLUSIVE(pBBAttributes->Bank)); in HAL_FLASHEx_ConfigBBAttributes()
479 assert_param(IS_FLASH_BB_EXCLUSIVE(pBBAttributes->BBAttributesType)); in HAL_FLASHEx_ConfigBBAttributes()
551 assert_param(IS_FLASH_BANK_EXCLUSIVE(pBBAttributes->Bank)); in HAL_FLASHEx_GetConfigBBAttributes()
552 assert_param(IS_FLASH_BB_EXCLUSIVE(pBBAttributes->BBAttributesType)); in HAL_FLASHEx_GetConfigBBAttributes()
601 assert_param(IS_FLASH_BANK(Banks)); in HAL_FLASHEx_EnableSecHideProtection()
642 assert_param(IS_FLASH_CFGPRIVMODE(PrivMode)); in HAL_FLASHEx_ConfigPrivMode()
682 assert_param(IS_FLASH_CFGSECINV(SecInvState)); in HAL_FLASHEx_ConfigSecInversion()
[all …]
Dstm32u5xx_hal_i2c_ex.c105 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigAnalogFilter()
106 assert_param(IS_I2C_ANALOG_FILTER(AnalogFilter)); in HAL_I2CEx_ConfigAnalogFilter()
151 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigDigitalFilter()
152 assert_param(IS_I2C_DIGITAL_FILTER(DigitalFilter)); in HAL_I2CEx_ConfigDigitalFilter()
217 assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hi2c->Instance)); in HAL_I2CEx_EnableWakeUp()
256 assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hi2c->Instance)); in HAL_I2CEx_DisableWakeUp()
313 assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); in HAL_I2CEx_ConfigFastModePlus()
314 assert_param(IS_I2C_FASTMODEPLUS(FastModePlus)); in HAL_I2CEx_ConfigFastModePlus()
389 assert_param(IS_I2C_TRIG_INPUT_INSTANCE(hi2c->Instance)); in HAL_I2CEx_SetConfigAutonomousMode()
390 assert_param(IS_I2C_TRIG_SOURCE(hi2c->Instance, sConfig->TriggerSelection)); in HAL_I2CEx_SetConfigAutonomousMode()
[all …]
Dstm32u5xx_hal_gpio.c207 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_Init()
208 assert_param(IS_GPIO_PIN(pGPIO_Init->Pin)); in HAL_GPIO_Init()
209 assert_param(IS_GPIO_MODE(pGPIO_Init->Mode)); in HAL_GPIO_Init()
254 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_Init()
255 assert_param(IS_GPIO_AF_INSTANCE(GPIOx)); in HAL_GPIO_Init()
256 assert_param(IS_GPIO_AF(pGPIO_Init->Alternate)); in HAL_GPIO_Init()
273 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_Init()
287 assert_param(IS_GPIO_SPEED(pGPIO_Init->Speed)); in HAL_GPIO_Init()
305 assert_param(IS_GPIO_PULL(pGPIO_Init->Pull)); in HAL_GPIO_Init()
379 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_DeInit()
[all …]
Dstm32u5xx_hal_pwr_ex.c304 assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(VoltageScaling)); in HAL_PWREx_ControlVoltageScaling()
379 assert_param(IS_PWR_SUPPLY(SupplySource)); in HAL_PWREx_ConfigSupply()
607 assert_param(IS_PWR_STOP_ENTRY(STOPEntry)); in HAL_PWREx_EnterSTOP1Mode()
656 assert_param(IS_PWR_STOP_ENTRY(STOPEntry)); in HAL_PWREx_EnterSTOP2Mode()
706 assert_param(IS_PWR_STOP_ENTRY(STOPEntry)); in HAL_PWREx_EnterSTOP3Mode()
773 assert_param(IS_PWR_SRD_STATE(SRDState)); in HAL_PWREx_ConfigSRDDomain()
1034 assert_param(IS_PWR_PVM_TYPE(pConfigPVM->PVMType)); in HAL_PWREx_ConfigPVM()
1035 assert_param(IS_PWR_PVM_MODE(pConfigPVM->Mode)); in HAL_PWREx_ConfigPVM()
1395 assert_param(IS_PWR_BATTERY_RESISTOR_SELECT(ResistorValue)); in HAL_PWREx_EnableBatteryCharging()
1588 assert_param(IS_PWR_SRAM2_STANDBY_RETENTION(SRAM2Pages)); in HAL_PWREx_EnableSRAM2ContentStandbyRetention()
[all …]
Dstm32u5xx_hal_rtc_ex.c177 assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge)); in HAL_RTCEx_SetTimeStamp()
178 assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin)); in HAL_RTCEx_SetTimeStamp()
228 assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge)); in HAL_RTCEx_SetTimeStamp_IT()
229 assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin)); in HAL_RTCEx_SetTimeStamp_IT()
368 assert_param(IS_RTC_FORMAT(Format)); in HAL_RTCEx_GetTimeStamp()
543 assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock)); in HAL_RTCEx_SetWakeUpTimer()
544 assert_param(IS_RTC_WAKEUP_COUNTER(WakeUpCounter)); in HAL_RTCEx_SetWakeUpTimer()
617 assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock)); in HAL_RTCEx_SetWakeUpTimer_IT()
618 assert_param(IS_RTC_WAKEUP_COUNTER(WakeUpCounter)); in HAL_RTCEx_SetWakeUpTimer_IT()
620 assert_param(WakeUpAutoClr <= WakeUpCounter); in HAL_RTCEx_SetWakeUpTimer_IT()
[all …]
Dstm32u5xx_hal_uart_ex.c177 assert_param(IS_UART_DRIVER_ENABLE_INSTANCE(huart->Instance)); in HAL_RS485Ex_Init()
180 assert_param(IS_UART_DE_POLARITY(Polarity)); in HAL_RS485Ex_Init()
183 assert_param(IS_UART_ASSERTIONTIME(AssertionTime)); in HAL_RS485Ex_Init()
186 assert_param(IS_UART_DEASSERTIONTIME(DeassertionTime)); in HAL_RS485Ex_Init()
378 assert_param(IS_UART_ADDRESSLENGTH_DETECT(AddressLength)); in HAL_MultiProcessorEx_AddressLength_Set()
412 assert_param(IS_UART_WAKEUP_FROMSTOP_INSTANCE(huart->Instance)); in HAL_UARTEx_StopModeWakeUpSourceConfig()
414 assert_param(IS_UART_WAKEUP_SELECTION(WakeUpSelection.WakeUpEvent)); in HAL_UARTEx_StopModeWakeUpSourceConfig()
502 assert_param(IS_UART_FIFO_INSTANCE(huart->Instance)); in HAL_UARTEx_EnableFifoMode()
543 assert_param(IS_UART_FIFO_INSTANCE(huart->Instance)); in HAL_UARTEx_DisableFifoMode()
589 assert_param(IS_UART_FIFO_INSTANCE(huart->Instance)); in HAL_UARTEx_SetTxFifoThreshold()
[all …]
Dstm32u5xx_hal_pwr.c397 assert_param(IS_PWR_PVD_LEVEL(pConfigPVD->PVDLevel)); in HAL_PWR_ConfigPVD()
398 assert_param(IS_PWR_PVD_MODE(pConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
474 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPin)); in HAL_PWR_EnableWakeUpPin()
505 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPin)); in HAL_PWR_DisableWakeUpPin()
540 assert_param(IS_PWR_SLEEP_ENTRY(SleepEntry)); in HAL_PWR_EnterSLEEPMode()
595 assert_param(IS_PWR_STOP_ENTRY(StopEntry)); in HAL_PWR_EnterSTOPMode()
838 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_ConfigAttributes()
839 assert_param(IS_PWR_ATTRIBUTES(Attributes)); in HAL_PWR_ConfigAttributes()
908 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_GetConfigAttributes()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_flash_ex.c176 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase()
245 assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase)); in HAL_FLASHEx_Erase_IT()
310 assert_param(IS_OPTIONBYTE(pOBInit->OptionType)); in HAL_FLASHEx_OBProgram()
451 assert_param(IS_FLASH_BANK_EXCLUSIVE(pBBAttributes->Bank)); in HAL_FLASHEx_ConfigBBAttributes()
507 assert_param(IS_FLASH_BANK_EXCLUSIVE(pBBAttributes->Bank)); in HAL_FLASHEx_GetConfigBBAttributes()
542 assert_param(IS_FLASH_BANK(Banks)); in HAL_FLASHEx_EnableSecHideProtection()
587 assert_param(IS_FLASH_CFGPRIVMODE(PrivMode)); in HAL_FLASHEx_ConfigPrivMode()
621 assert_param(IS_FLASH_CFGSECINV(SecInvState)); in HAL_FLASHEx_ConfigSecInversion()
669 assert_param(IS_FLASH_CFGLVEPIN(ConfigLVE)); in HAL_FLASHEx_ConfigLVEPin()
761 assert_param(IS_FLASH_BANK(Banks)); in FLASH_MassErase()
[all …]
Dstm32l5xx_hal_cortex.c173 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_SetPriorityGrouping()
197 assert_param(IS_NVIC_SUB_PRIORITY(SubPriority)); in HAL_NVIC_SetPriority()
198 assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); in HAL_NVIC_SetPriority()
217 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_EnableIRQ()
233 assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); in HAL_NVIC_DisableIRQ()
312 assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); in HAL_NVIC_GetPriority()
383 assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource)); in HAL_SYSTICK_CLKSourceConfig()
556 assert_param(IS_MPU_REGION_NUMBER(MPU_RegionInit->Number)); in MPU_ConfigRegion()
557 assert_param(IS_MPU_REGION_ENABLE(MPU_RegionInit->Enable)); in MPU_ConfigRegion()
568 assert_param(IS_MPU_INSTRUCTION_ACCESS(MPU_RegionInit->DisableExec)); in MPU_ConfigRegion()
[all …]
Dstm32l5xx_hal_gpio.c174 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_Init()
175 assert_param(IS_GPIO_PIN(GPIO_Init->Pin)); in HAL_GPIO_Init()
176 assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); in HAL_GPIO_Init()
177 assert_param(IS_GPIO_PULL(GPIO_Init->Pull)); in HAL_GPIO_Init()
193 assert_param(IS_GPIO_SPEED(GPIO_Init->Speed)); in HAL_GPIO_Init()
217 assert_param(IS_GPIO_AF_INSTANCE(GPIOx)); in HAL_GPIO_Init()
218 assert_param(IS_GPIO_AF(GPIO_Init->Alternate)); in HAL_GPIO_Init()
296 assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); in HAL_GPIO_DeInit()
297 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_DeInit()
375 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_ReadPin()
[all …]
Dstm32l5xx_hal_pwr.c315 assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel)); in HAL_PWR_ConfigPVD()
316 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
394 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinPolarity)); in HAL_PWR_EnableWakeUpPin()
415 assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinx)); in HAL_PWR_DisableWakeUpPin()
448 assert_param(IS_PWR_REGULATOR(Regulator)); in HAL_PWR_EnterSLEEPMode()
449 assert_param(IS_PWR_SLEEP_ENTRY(SLEEPEntry)); in HAL_PWR_EnterSLEEPMode()
527 assert_param(IS_PWR_REGULATOR(Regulator)); in HAL_PWR_EnterSTOPMode()
679 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_ConfigAttributes()
680 assert_param(IS_PWR_ATTRIBUTES(Attributes)); in HAL_PWR_ConfigAttributes()
735 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_GetConfigAttributes()
Dstm32l5xx_hal_exti.c155 assert_param(IS_EXTI_LINE(pExtiConfig->Line)); in HAL_EXTI_SetConfigLine()
156 assert_param(IS_EXTI_MODE(pExtiConfig->Mode)); in HAL_EXTI_SetConfigLine()
169 assert_param(IS_EXTI_TRIGGER(pExtiConfig->Trigger)); in HAL_EXTI_SetConfigLine()
208 assert_param(IS_EXTI_GPIO_PORT(pExtiConfig->GPIOSel)); in HAL_EXTI_SetConfigLine()
209 assert_param(IS_EXTI_GPIO_PIN(linepos)); in HAL_EXTI_SetConfigLine()
277 assert_param(IS_EXTI_LINE(hexti->Line)); in HAL_EXTI_GetConfigLine()
340 assert_param(IS_EXTI_GPIO_PIN(linepos)); in HAL_EXTI_GetConfigLine()
380 assert_param(IS_EXTI_LINE(hexti->Line)); in HAL_EXTI_ClearConfigLine()
411 assert_param(IS_EXTI_GPIO_PIN(linepos)); in HAL_EXTI_ClearConfigLine()
475 assert_param(IS_EXTI_LINE(ExtiLine)); in HAL_EXTI_GetHandle()
[all …]
Dstm32l5xx_hal_rcc_ex.c156 assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
162 assert_param(IS_RCC_SAI1CLK(PeriphClkInit->Sai1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
210 assert_param(IS_RCC_SAI2CLK(PeriphClkInit->Sai2ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
260 assert_param(IS_RCC_RTCCLKSOURCE(PeriphClkInit->RTCClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
353 assert_param(IS_RCC_USART1CLKSOURCE(PeriphClkInit->Usart1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
363 assert_param(IS_RCC_USART2CLKSOURCE(PeriphClkInit->Usart2ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
373 assert_param(IS_RCC_USART3CLKSOURCE(PeriphClkInit->Usart3ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
383 assert_param(IS_RCC_UART4CLKSOURCE(PeriphClkInit->Uart4ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
393 assert_param(IS_RCC_UART5CLKSOURCE(PeriphClkInit->Uart5ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
403 assert_param(IS_RCC_LPUART1CLKSOURCE(PeriphClkInit->Lpuart1ClockSelection)); in HAL_RCCEx_PeriphCLKConfig()
[all …]

1234