STM32F0xx Standard Peripherals Firmware Library
|
Defines | |
#define | PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f) |
Functions | |
int | main (void) |
Main program. | |
static void | USART_Config (void) |
Configure the USART Device. |
Define Documentation
#define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f) |
Definition at line 51 of file STM32F0xx_StdPeriph_Examples/USART/USART_Printf/main.c.
Function Documentation
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 62 of file STM32F0xx_StdPeriph_Examples/USART/USART_Printf/main.c.
References USART_Config().
static void USART_Config | ( | void | ) | [static] |
Configure the USART Device.
- Parameters:
-
None
- Return values:
-
None
Definition at line 93 of file STM32F0xx_StdPeriph_Examples/USART/USART_Printf/main.c.
References USART_InitStructure.
Referenced by main().