STM32F0xx Standard Peripherals Firmware Library: IWDG_Reset

STM32F0xx Standard Peripherals Library

STM32F0xx Standard Peripherals Firmware Library

Functions

void Delay (__IO uint32_t nTime)
 Inserts a delay time.
int main (void)
 Main program.
static void TIM14_ConfigForLSI (void)
void TimingDelay_Decrement (void)
 Decrements the TimingDelay variable.

Variables

__IO uint16_t CaptureNumber
__IO uint32_t LsiFreq = 40000
__IO uint32_t TimingDelay = 0

Function Documentation

void Delay ( __IO uint32_t  nTime)

Inserts a delay time.

Parameters:
nTime,:specifies the delay time length, in 10 ms.
Return values:
None

Definition at line 278 of file STM32F0xx_StdPeriph_Examples/COMP/COMP_LDR/main.c.

int main ( void  )

Main program.

Parameters:
None
Return values:
None

< At this stage the microcontroller clock setting is already configured, this is done through SystemInit() function which is called from startup file (startup_stm32f0xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f0xx.c file

Definition at line 58 of file STM32F0xx_StdPeriph_Examples/IWDG/IWDG_Reset/main.c.

References CaptureNumber, Delay(), LsiFreq, SystemCoreClock, and TIM14_ConfigForLSI().

static void TIM14_ConfigForLSI ( void  ) [static]

Referenced by main().

void TimingDelay_Decrement ( void  )

Decrements the TimingDelay variable.

Parameters:
None
Return values:
None

Definition at line 237 of file STM32F0xx_StdPeriph_Examples/IWDG/IWDG_Reset/main.c.

References TimingDelay.


Variable Documentation

__IO uint32_t LsiFreq = 40000

Definition at line 44 of file STM32F0xx_StdPeriph_Examples/IWDG/IWDG_Reset/main.c.

Referenced by main().

__IO uint32_t TimingDelay = 0
STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32