ADC_AnalogWatchdog
[STM32F10x_StdPeriph_Examples]

Functions

void ADC1_2_IRQHandler (void)
 This function handles ADC1 and ADC2 global interrupts requests.
void BusFault_Handler (void)
 This function handles Bus Fault exception.
void DebugMon_Handler (void)
 This function handles Debug Monitor exception.
void GPIO_Configuration (void)
 Configures the different GPIO ports.
void HardFault_Handler (void)
 This function handles Hard Fault exception.
int main (void)
 Main program.
void MemManage_Handler (void)
 This function handles Memory Manage exception.
void NMI_Handler (void)
 This function handles NMI exception.
void NVIC_Configuration (void)
 Configures NVIC and Vector Table base location.
void PendSV_Handler (void)
 This function handles PendSV_Handler exception.
void RCC_Configuration (void)
 Configures the different system clocks.
void SVC_Handler (void)
 This function handles SVCall exception.
void SysTick_Handler (void)
 This function handles SysTick Handler.
void UsageFault_Handler (void)
 This function handles Usage Fault exception.

Variables

ADC_InitTypeDef ADC_InitStructure

Function Documentation

void ADC1_2_IRQHandler ( void   ) 

This function handles ADC1 and ADC2 global interrupts requests.

Parameters:
None 
Return values:
None 

Definition at line 155 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

References ADC1, ADC_ClearITPendingBit(), ADC_IT_AWD, LED1, STM_EVAL_LEDOff(), and STM_EVAL_LEDOn().

void BusFault_Handler ( void   ) 

This function handles Bus Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 86 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 121 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

void GPIO_Configuration ( void   ) 

Configures the different GPIO ports.

Parameters:
None 
Return values:
None 

Definition at line 139 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/main.c.

References GPIO_Init(), GPIO_InitStructure, GPIO_InitTypeDef::GPIO_Mode, GPIO_Mode_AIN, GPIO_InitTypeDef::GPIO_Pin, GPIO_Pin_4, and GPIOC.

void HardFault_Handler ( void   ) 

This function handles Hard Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 60 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

int main ( void   ) 
void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 73 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

void NMI_Handler ( void   ) 

This function handles NMI exception.

Parameters:
None 
Return values:
None 

Definition at line 51 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

void NVIC_Configuration ( void   ) 
void PendSV_Handler ( void   ) 

This function handles PendSV_Handler exception.

Parameters:
None 
Return values:
None 

Definition at line 130 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

void RCC_Configuration ( void   ) 

Configures the different system clocks.

Parameters:
None 
Return values:
None 

Definition at line 120 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/main.c.

References ENABLE, RCC_ADCCLKConfig(), RCC_APB2Periph_ADC1, RCC_APB2PeriphClockCmd(), RCC_PCLK2_Div2, and RCC_PCLK2_Div4.

void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 112 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

void SysTick_Handler ( void   ) 

This function handles SysTick Handler.

Parameters:
None 
Return values:
None 

Definition at line 139 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 99 of file STM32F10x_StdPeriph_Examples/ADC/AnalogWatchdog/stm32f10x_it.c.


Variable Documentation

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32