STM32F0xx Standard Peripherals Firmware Library: USART_AutoBaudRate

STM32F0xx Standard Peripherals Library

STM32F0xx Standard Peripherals Firmware Library

Functions

static void AutoBauRate_StartBitMethod (void)
 Start Bit Method to USART AutoBaudRate.
void HardFault_Handler (void)
 This function handles Hard Fault exception.
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.
static void USART_Config (void)
 Configure the USART Device.

Variables

__IO uint8_t Counter = 0

Function Documentation

static void AutoBauRate_StartBitMethod ( void  ) [static]

Start Bit Method to USART AutoBaudRate.

Parameters:
None
Return values:
None

Definition at line 112 of file STM32F0xx_StdPeriph_Examples/USART/USART_AutoBaudRate/main.c.

Referenced by main().

void HardFault_Handler ( void  )

This function handles Hard Fault exception.

Parameters:
None
Return values:
None

Definition at line 68 of file STM32F0xx_StdPeriph_Examples/USART/USART_AutoBaudRate/stm32f0xx_it.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 54 of file STM32F0xx_StdPeriph_Examples/USART/USART_AutoBaudRate/main.c.

References AutoBauRate_StartBitMethod(), SystemCoreClock, and USART_Config().

void NMI_Handler ( void  )

This function handles NMI exception.

Parameters:
None
Return values:
None

Definition at line 59 of file STM32F0xx_StdPeriph_Examples/USART/USART_AutoBaudRate/stm32f0xx_it.c.

void PendSV_Handler ( void  )

This function handles PendSVC exception.

Parameters:
None
Return values:
None

Definition at line 90 of file STM32F0xx_StdPeriph_Examples/USART/USART_AutoBaudRate/stm32f0xx_it.c.

void SVC_Handler ( void  )

This function handles SVCall exception.

Parameters:
None
Return values:
None

Definition at line 81 of file STM32F0xx_StdPeriph_Examples/USART/USART_AutoBaudRate/stm32f0xx_it.c.

void SysTick_Handler ( void  )

This function handles SysTick Handler.

Parameters:
None
Return values:
None

Definition at line 99 of file STM32F0xx_StdPeriph_Examples/USART/USART_AutoBaudRate/stm32f0xx_it.c.

References Counter.

static void USART_Config ( void  ) [static]

Configure the USART Device.

Parameters:
None
Return values:
None

Definition at line 86 of file STM32F0xx_StdPeriph_Examples/USART/USART_AutoBaudRate/main.c.

References USART_InitStructure.

Referenced by main().


Variable Documentation

STM32L1xx Standard Peripherals Library: Footer

 

 

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