STM8S/A Standard Peripherals Firmware Library: stm8s_conf.h File Reference

STM8S/A

STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_conf.h File Reference
#include "stm8s.h" #include "stm8s_awu.h"
#include "stm8s_beep.h"
#include "stm8s_clk.h"
#include "stm8s_exti.h"
#include "stm8s_flash.h"
#include "stm8s_gpio.h"
#include "stm8s_i2c.h"
#include "stm8s_itc.h"
#include "stm8s_iwdg.h"
#include "stm8s_rst.h"
#include "stm8s_spi.h"
#include "stm8s_tim1.h"
#include "stm8s_tim2.h"
#include "stm8s_tim4.h"
#include "stm8s_wwdg.h"

Go to the source code of this file.

Defines

#define assert_param(expr)   ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
 The assert_param macro is used for function's parameters check.
#define USE_FULL_ASSERT   (1)

Functions

void assert_failed (uint8_t *file, uint32_t line)

Define Documentation

#define assert_param (   expr)    ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))

The assert_param macro is used for function's parameters check.

Parameters:
expr,:If expr is false, it calls assert_failed function which reports the name of the source file and the source line number of the call that failed. If expr is true, it returns no value.
Return values:
:None

Definition at line 103 of file STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_conf.h.

Referenced by ADC1_AWDChannelConfig(), ADC1_ClearFlag(), ADC1_ClearITPendingBit(), ADC1_Cmd(), ADC1_ConversionConfig(), ADC1_DataBufferCmd(), ADC1_ExternalTriggerConfig(), ADC1_GetAWDChannelStatus(), ADC1_GetBufferValue(), ADC1_GetFlagStatus(), ADC1_GetITStatus(), ADC1_Init(), ADC1_ITConfig(), ADC1_PrescalerConfig(), ADC1_ScanModeCmd(), ADC1_SchmittTriggerConfig(), ADC2_Cmd(), ADC2_ConversionConfig(), ADC2_ExternalTriggerConfig(), ADC2_Init(), ADC2_ITConfig(), ADC2_PrescalerConfig(), ADC2_SchmittTriggerConfig(), AWU_Init(), AWU_LSICalibrationConfig(), BEEP_Init(), BEEP_LSICalibrationConfig(), CAN_CancelTransmit(), CAN_ClearFlag(), CAN_ClearITPendingBit(), CAN_FilterInit(), CAN_GetFlagStatus(), CAN_GetITStatus(), CAN_GetReceivedData(), CAN_Init(), CAN_ITConfig(), CAN_OperatingModeRequest(), CAN_ST7CompatibilityCmd(), CAN_Transmit(), CAN_TransmitStatus(), CAN_TTComModeCmd(), CLK_AdjustHSICalibrationValue(), CLK_CCOCmd(), CLK_CCOConfig(), CLK_ClearITPendingBit(), CLK_ClockSwitchCmd(), CLK_ClockSwitchConfig(), CLK_FastHaltWakeUpCmd(), CLK_GetFlagStatus(), CLK_GetITStatus(), CLK_HSECmd(), CLK_HSICmd(), CLK_HSIPrescalerConfig(), CLK_ITConfig(), CLK_LSICmd(), CLK_PeripheralClockConfig(), CLK_SlowActiveHaltWakeUpCmd(), CLK_SWIMConfig(), CLK_SYSCLKConfig(), EXTI_GetExtIntSensitivity(), EXTI_SetExtIntSensitivity(), EXTI_SetTLISensitivity(), FLASH_EraseByte(), FLASH_EraseOptionByte(), FLASH_GetFlagStatus(), FLASH_ITConfig(), FLASH_Lock(), FLASH_ProgramByte(), FLASH_ProgramOptionByte(), FLASH_ProgramWord(), FLASH_ReadByte(), FLASH_ReadOptionByte(), FLASH_SetLowPowerMode(), FLASH_SetProgrammingTime(), FLASH_Unlock(), GPIO_ExternalPullUpConfig(), GPIO_Init(), I2C_AcknowledgeConfig(), I2C_CheckEvent(), I2C_ClearFlag(), I2C_ClearITPendingBit(), I2C_Cmd(), I2C_FastModeDutyCycleConfig(), I2C_GeneralCallCmd(), I2C_GenerateSTART(), I2C_GenerateSTOP(), I2C_GetFlagStatus(), I2C_GetITStatus(), I2C_Init(), I2C_ITConfig(), I2C_Send7bitAddress(), I2C_SoftwareResetCmd(), I2C_StretchClockCmd(), ITC_GetSoftwarePriority(), ITC_SetSoftwarePriority(), IWDG_SetPrescaler(), IWDG_WriteAccessCmd(), RST_ClearFlag(), RST_GetFlagStatus(), SPI_BiDirectionalLineConfig(), SPI_CalculateCRCCmd(), SPI_ClearFlag(), SPI_ClearITPendingBit(), SPI_Cmd(), SPI_GetCRC(), SPI_GetFlagStatus(), SPI_GetITStatus(), SPI_Init(), SPI_ITConfig(), SPI_NSSInternalSoftwareCmd(), TIM1_ARRPreloadConfig(), TIM1_BDTRConfig(), TIM1_CCPreloadControl(), TIM1_CCxCmd(), TIM1_CCxNCmd(), TIM1_ClearFlag(), TIM1_ClearITPendingBit(), TIM1_Cmd(), TIM1_CounterModeConfig(), TIM1_CtrlPWMOutputs(), TIM1_EncoderInterfaceConfig(), TIM1_ETRClockMode1Config(), TIM1_ETRClockMode2Config(), TIM1_ETRConfig(), TIM1_ForcedOC1Config(), TIM1_ForcedOC2Config(), TIM1_ForcedOC3Config(), TIM1_ForcedOC4Config(), TIM1_GenerateEvent(), TIM1_GetFlagStatus(), TIM1_GetITStatus(), TIM1_ICInit(), TIM1_ITConfig(), TIM1_OC1FastConfig(), TIM1_OC1Init(), TIM1_OC1NPolarityConfig(), TIM1_OC1PolarityConfig(), TIM1_OC1PreloadConfig(), TIM1_OC2FastConfig(), TIM1_OC2Init(), TIM1_OC2NPolarityConfig(), TIM1_OC2PolarityConfig(), TIM1_OC2PreloadConfig(), TIM1_OC3FastConfig(), TIM1_OC3Init(), TIM1_OC3NPolarityConfig(), TIM1_OC3PolarityConfig(), TIM1_OC3PreloadConfig(), TIM1_OC4FastConfig(), TIM1_OC4Init(), TIM1_OC4PolarityConfig(), TIM1_OC4PreloadConfig(), TIM1_PrescalerConfig(), TIM1_PWMIConfig(), TIM1_SelectCOM(), TIM1_SelectHallSensor(), TIM1_SelectInputTrigger(), TIM1_SelectMasterSlaveMode(), TIM1_SelectOCxM(), TIM1_SelectOnePulseMode(), TIM1_SelectOutputTrigger(), TIM1_SelectSlaveMode(), TIM1_SetIC1Prescaler(), TIM1_SetIC2Prescaler(), TIM1_SetIC3Prescaler(), TIM1_SetIC4Prescaler(), TIM1_TimeBaseInit(), TIM1_TIxExternalClockConfig(), TIM1_UpdateDisableConfig(), TIM1_UpdateRequestConfig(), TIM2_ARRPreloadConfig(), TIM2_CCxCmd(), TIM2_ClearFlag(), TIM2_ClearITPendingBit(), TIM2_Cmd(), TIM2_ForcedOC1Config(), TIM2_ForcedOC2Config(), TIM2_ForcedOC3Config(), TIM2_GenerateEvent(), TIM2_GetFlagStatus(), TIM2_GetITStatus(), TIM2_ICInit(), TIM2_ITConfig(), TIM2_OC1Init(), TIM2_OC1PolarityConfig(), TIM2_OC1PreloadConfig(), TIM2_OC2Init(), TIM2_OC2PolarityConfig(), TIM2_OC2PreloadConfig(), TIM2_OC3Init(), TIM2_OC3PolarityConfig(), TIM2_OC3PreloadConfig(), TIM2_PrescalerConfig(), TIM2_PWMIConfig(), TIM2_SelectOCxM(), TIM2_SelectOnePulseMode(), TIM2_SetIC1Prescaler(), TIM2_SetIC2Prescaler(), TIM2_SetIC3Prescaler(), TIM2_UpdateDisableConfig(), TIM2_UpdateRequestConfig(), TIM3_ARRPreloadConfig(), TIM3_CCxCmd(), TIM3_ClearFlag(), TIM3_ClearITPendingBit(), TIM3_Cmd(), TIM3_ForcedOC1Config(), TIM3_ForcedOC2Config(), TIM3_GenerateEvent(), TIM3_GetFlagStatus(), TIM3_GetITStatus(), TIM3_ICInit(), TIM3_ITConfig(), TIM3_OC1Init(), TIM3_OC1PolarityConfig(), TIM3_OC1PreloadConfig(), TIM3_OC2Init(), TIM3_OC2PolarityConfig(), TIM3_OC2PreloadConfig(), TIM3_PrescalerConfig(), TIM3_PWMIConfig(), TIM3_SelectOCxM(), TIM3_SelectOnePulseMode(), TIM3_SetIC1Prescaler(), TIM3_SetIC2Prescaler(), TIM3_UpdateDisableConfig(), TIM3_UpdateRequestConfig(), TIM4_ARRPreloadConfig(), TIM4_ClearFlag(), TIM4_ClearITPendingBit(), TIM4_Cmd(), TIM4_GenerateEvent(), TIM4_GetFlagStatus(), TIM4_GetITStatus(), TIM4_ITConfig(), TIM4_PrescalerConfig(), TIM4_SelectOnePulseMode(), TIM4_TimeBaseInit(), TIM4_UpdateDisableConfig(), TIM4_UpdateRequestConfig(), TIM5_ARRPreloadConfig(), TIM5_CCxCmd(), TIM5_ClearFlag(), TIM5_ClearITPendingBit(), TIM5_Cmd(), TIM5_EncoderInterfaceConfig(), TIM5_ForcedOC1Config(), TIM5_ForcedOC2Config(), TIM5_ForcedOC3Config(), TIM5_GenerateEvent(), TIM5_GetFlagStatus(), TIM5_GetITStatus(), TIM5_ICInit(), TIM5_ITConfig(), TIM5_OC1Init(), TIM5_OC1PolarityConfig(), TIM5_OC1PreloadConfig(), TIM5_OC2Init(), TIM5_OC2PolarityConfig(), TIM5_OC2PreloadConfig(), TIM5_OC3Init(), TIM5_OC3PolarityConfig(), TIM5_OC3PreloadConfig(), TIM5_PrescalerConfig(), TIM5_PWMIConfig(), TIM5_SelectInputTrigger(), TIM5_SelectOCxM(), TIM5_SelectOnePulseMode(), TIM5_SelectOutputTrigger(), TIM5_SelectSlaveMode(), TIM5_SetIC1Prescaler(), TIM5_SetIC2Prescaler(), TIM5_SetIC3Prescaler(), TIM5_UpdateDisableConfig(), TIM5_UpdateRequestConfig(), TIM6_ARRPreloadConfig(), TIM6_ClearFlag(), TIM6_ClearITPendingBit(), TIM6_Cmd(), TIM6_GenerateEvent(), TIM6_GetFlagStatus(), TIM6_GetITStatus(), TIM6_ITConfig(), TIM6_PrescalerConfig(), TIM6_SelectInputTrigger(), TIM6_SelectMasterSlaveMode(), TIM6_SelectOnePulseMode(), TIM6_SelectOutputTrigger(), TIM6_SelectSlaveMode(), TIM6_TimeBaseInit(), TIM6_UpdateDisableConfig(), TIM6_UpdateRequestConfig(), UART1_ClearFlag(), UART1_ClearITPendingBit(), UART1_GetFlagStatus(), UART1_GetITStatus(), UART1_HalfDuplexCmd(), UART1_Init(), UART1_IrDACmd(), UART1_IrDAConfig(), UART1_ITConfig(), UART1_LINBreakDetectionConfig(), UART1_LINCmd(), UART1_ReceiverWakeUpCmd(), UART1_SetAddress(), UART1_SmartCardCmd(), UART1_SmartCardNACKCmd(), UART1_WakeUpConfig(), UART2_ClearFlag(), UART2_ClearITPendingBit(), UART2_GetFlagStatus(), UART2_GetITStatus(), UART2_Init(), UART2_IrDACmd(), UART2_IrDAConfig(), UART2_ITConfig(), UART2_LINBreakDetectionConfig(), UART2_LINCmd(), UART2_LINConfig(), UART2_ReceiverWakeUpCmd(), UART2_SetAddress(), UART2_SmartCardCmd(), UART2_SmartCardNACKCmd(), UART2_WakeUpConfig(), UART3_ClearFlag(), UART3_ClearITPendingBit(), UART3_GetFlagStatus(), UART3_GetITStatus(), UART3_Init(), UART3_ITConfig(), UART3_LINBreakDetectionConfig(), UART3_LINCmd(), UART3_LINConfig(), UART3_ReceiverWakeUpCmd(), UART3_SetAddress(), UART3_WakeUpConfig(), UART4_ClearFlag(), UART4_ClearITPendingBit(), UART4_GetFlagStatus(), UART4_GetITStatus(), UART4_HalfDuplexCmd(), UART4_Init(), UART4_IrDACmd(), UART4_IrDAConfig(), UART4_ITConfig(), UART4_LINBreakDetectionConfig(), UART4_LINCmd(), UART4_LINConfig(), UART4_ReceiverWakeUpCmd(), UART4_SetAddress(), UART4_SmartCardCmd(), UART4_SmartCardNACKCmd(), UART4_WakeUpConfig(), WWDG_Init(), WWDG_SetCounter(), and WWDG_SetWindowValue().

#define USE_FULL_ASSERT   (1)

Function Documentation

void assert_failed ( uint8_t file,
uint32_t  line 
)
STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com