STM32F0xx Standard Peripherals Firmware Library
|
Defines | |
#define | PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f) |
Functions | |
void | HardFault_Handler (void) |
This function handles Hard Fault exception. | |
void | IP_Debug (void) |
This function initialize peripherals pointers. | |
int | main (void) |
Main program. | |
void | NMI_Handler (void) |
This function handles NMI exception. | |
void | PendSV_Handler (void) |
This function handles PendSVC exception. | |
void | SVC_Handler (void) |
This function handles SVCall exception. | |
void | SysTick_Handler (void) |
This function handles SysTick Handler. | |
Variables | |
ADC_TypeDef * | ADC1_DBG |
ADC_Common_TypeDef * | ADC_DBG |
CEC_TypeDef * | CEC_DBG |
COMP_TypeDef * | COMP_DBG |
CRC_TypeDef * | CRC_DBG |
DAC_TypeDef * | DAC_DBG |
DBGMCU_TypeDef * | DBGMCU_DBG |
DMA_Channel_TypeDef * | DMA1_Channel1_DBG |
DMA_Channel_TypeDef * | DMA1_Channel2_DBG |
DMA_Channel_TypeDef * | DMA1_Channel3_DBG |
DMA_Channel_TypeDef * | DMA1_Channel4_DBG |
DMA_Channel_TypeDef * | DMA1_Channel5_DBG |
DMA_TypeDef * | DMA1_DBG |
EXTI_TypeDef * | EXTI_DBG |
FLASH_TypeDef * | FLASH_DBG |
GPIO_TypeDef * | GPIOA_DBG |
GPIO_TypeDef * | GPIOB_DBG |
GPIO_TypeDef * | GPIOC_DBG |
GPIO_TypeDef * | GPIOD_DBG |
GPIO_TypeDef * | GPIOF_DBG |
I2C_TypeDef * | I2C1_DBG |
I2C_TypeDef * | I2C2_DBG |
IWDG_TypeDef * | IWDG_DBG |
NVIC_Type * | NVIC_DBG |
OB_TypeDef * | OB_DBG |
PWR_TypeDef * | PWR_DBG |
RCC_TypeDef * | RCC_DBG |
RTC_TypeDef * | RTC_DBG |
SCB_Type * | SCB_DBG |
SPI_TypeDef * | SPI1_DBG |
SPI_TypeDef * | SPI2_DBG |
SYSCFG_TypeDef * | SYSCFG_DBG |
SysTick_Type * | SysTick_DBG |
TIM_TypeDef * | TIM14_DBG |
TIM_TypeDef * | TIM15_DBG |
TIM_TypeDef * | TIM16_DBG |
TIM_TypeDef * | TIM17_DBG |
TIM_TypeDef * | TIM1_DBG |
TIM_TypeDef * | TIM2_DBG |
TIM_TypeDef * | TIM3_DBG |
TIM_TypeDef * | TIM6_DBG |
USART_TypeDef * | USART1_DBG |
USART_TypeDef * | USART2_DBG |
USART_InitTypeDef | USART_InitStructure |
WWDG_TypeDef * | WWDG_DBG |
Define Documentation
#define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f) |
Definition at line 51 of file STM32F0xx_StdPeriph_Examples/Lib_DEBUG/Lib_DEBUG_Example/main.c.
Function Documentation
void HardFault_Handler | ( | void | ) |
This function handles Hard Fault exception.
- Parameters:
-
None
- Return values:
-
None
Definition at line 66 of file STM32F0xx_StdPeriph_Examples/Lib_DEBUG/Lib_DEBUG_Example/stm32f0xx_it.c.
void IP_Debug | ( | void | ) |
This function initialize peripherals pointers.
- Parameters:
-
None
- Return values:
-
None
Definition at line 96 of file stm32f0xx_ip_dbg.c.
References ADC1_DBG, ADC_DBG, CEC_DBG, COMP_DBG, CRC_DBG, DAC_DBG, DBGMCU_DBG, DMA1_Channel1_DBG, DMA1_Channel2_DBG, DMA1_Channel3_DBG, DMA1_Channel4_DBG, DMA1_Channel5_DBG, DMA1_DBG, EXTI_DBG, FLASH_DBG, GPIOA_DBG, GPIOB_DBG, GPIOC_DBG, GPIOD_DBG, GPIOF_DBG, I2C1_DBG, I2C2_DBG, IWDG_DBG, NVIC_DBG, OB_DBG, PWR_DBG, RCC_DBG, RTC_DBG, SCB_DBG, SPI1_DBG, SPI2_DBG, SYSCFG_DBG, SysTick_DBG, TIM14_DBG, TIM15_DBG, TIM16_DBG, TIM17_DBG, TIM1_DBG, TIM2_DBG, TIM3_DBG, TIM6_DBG, USART1_DBG, USART2_DBG, and WWDG_DBG.
Referenced by main().
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 61 of file STM32F0xx_StdPeriph_Examples/Lib_DEBUG/Lib_DEBUG_Example/main.c.
References IP_Debug(), and USART_InitStructure.
void NMI_Handler | ( | void | ) |
This function handles NMI exception.
- Parameters:
-
None
- Return values:
-
None
Definition at line 57 of file STM32F0xx_StdPeriph_Examples/Lib_DEBUG/Lib_DEBUG_Example/stm32f0xx_it.c.
void PendSV_Handler | ( | void | ) |
This function handles PendSVC exception.
- Parameters:
-
None
- Return values:
-
None
Definition at line 88 of file STM32F0xx_StdPeriph_Examples/Lib_DEBUG/Lib_DEBUG_Example/stm32f0xx_it.c.
void SVC_Handler | ( | void | ) |
This function handles SVCall exception.
- Parameters:
-
None
- Return values:
-
None
Definition at line 79 of file STM32F0xx_StdPeriph_Examples/Lib_DEBUG/Lib_DEBUG_Example/stm32f0xx_it.c.
void SysTick_Handler | ( | void | ) |
This function handles SysTick Handler.
- Parameters:
-
None
- Return values:
-
None
Definition at line 97 of file STM32F0xx_StdPeriph_Examples/Lib_DEBUG/Lib_DEBUG_Example/stm32f0xx_it.c.
Variable Documentation
ADC_TypeDef* ADC1_DBG |
Definition at line 46 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
ADC_Common_TypeDef* ADC_DBG |
Definition at line 47 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
CEC_TypeDef* CEC_DBG |
Definition at line 48 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
COMP_TypeDef* COMP_DBG |
Definition at line 50 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
CRC_TypeDef* CRC_DBG |
Definition at line 49 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
DAC_TypeDef* DAC_DBG |
Definition at line 51 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
DBGMCU_TypeDef* DBGMCU_DBG |
Definition at line 52 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
DMA_Channel_TypeDef* DMA1_Channel1_DBG |
Definition at line 54 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
DMA_Channel_TypeDef* DMA1_Channel2_DBG |
Definition at line 55 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
DMA_Channel_TypeDef* DMA1_Channel3_DBG |
Definition at line 56 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
DMA_Channel_TypeDef* DMA1_Channel4_DBG |
Definition at line 57 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
DMA_Channel_TypeDef* DMA1_Channel5_DBG |
Definition at line 58 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
DMA_TypeDef* DMA1_DBG |
Definition at line 53 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
EXTI_TypeDef* EXTI_DBG |
Definition at line 59 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
FLASH_TypeDef* FLASH_DBG |
Definition at line 60 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
GPIO_TypeDef* GPIOA_DBG |
Definition at line 62 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
GPIO_TypeDef* GPIOB_DBG |
Definition at line 63 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
GPIO_TypeDef* GPIOC_DBG |
Definition at line 64 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
GPIO_TypeDef* GPIOD_DBG |
Definition at line 65 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
GPIO_TypeDef* GPIOF_DBG |
Definition at line 66 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
I2C_TypeDef* I2C1_DBG |
Definition at line 67 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
I2C_TypeDef* I2C2_DBG |
Definition at line 68 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
IWDG_TypeDef* IWDG_DBG |
Definition at line 69 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
NVIC_Type* NVIC_DBG |
Definition at line 43 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
OB_TypeDef* OB_DBG |
Definition at line 61 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
PWR_TypeDef* PWR_DBG |
Definition at line 70 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
RCC_TypeDef* RCC_DBG |
Definition at line 71 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
RTC_TypeDef* RTC_DBG |
Definition at line 72 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
SCB_Type* SCB_DBG |
Definition at line 44 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
SPI_TypeDef* SPI1_DBG |
Definition at line 73 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
SPI_TypeDef* SPI2_DBG |
Definition at line 74 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
SYSCFG_TypeDef* SYSCFG_DBG |
Definition at line 75 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
SysTick_Type* SysTick_DBG |
Definition at line 45 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
TIM_TypeDef* TIM14_DBG |
Definition at line 80 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
TIM_TypeDef* TIM15_DBG |
Definition at line 81 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
TIM_TypeDef* TIM16_DBG |
Definition at line 82 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
TIM_TypeDef* TIM17_DBG |
Definition at line 83 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
TIM_TypeDef* TIM1_DBG |
Definition at line 76 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
TIM_TypeDef* TIM2_DBG |
Definition at line 77 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
TIM_TypeDef* TIM3_DBG |
Definition at line 78 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
TIM_TypeDef* TIM6_DBG |
Definition at line 79 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
USART_TypeDef* USART1_DBG |
Definition at line 84 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
USART_TypeDef* USART2_DBG |
Definition at line 85 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().
USART_InitTypeDef USART_InitStructure |
Definition at line 43 of file STM32F0xx_StdPeriph_Examples/Lib_DEBUG/Lib_DEBUG_Example/main.c.
WWDG_TypeDef* WWDG_DBG |
Definition at line 86 of file stm32f0xx_ip_dbg.c.
Referenced by IP_Debug().