STM32F0xx Standard Peripherals Firmware Library
|
STM32F0xx_StdPeriph_Examples/USART/USART_8xUsartsOneBoard/main.c File Reference
Main program body. More...
#include "main.h"
Go to the source code of this file.
Functions | |
static uint16_t | Buffercmp (uint8_t *pBuffer1, uint8_t *pBuffer2, uint16_t BufferLength) |
Compares two buffers. | |
static void | Delay (__IO uint32_t nTime) |
Inserts a delay time. | |
static void | GPIO_Configuration (void) |
Configures the different GPIO ports. | |
int | main (void) |
Main program. | |
static void | NVIC_Configuration (void) |
Configures the nested vectored interrupt controller. | |
static void | RCC_Configuration (void) |
Configures the different system clocks. | |
void | TimingDelay_Decrement (void) |
Decrements the TimingDelay variable. | |
Variables | |
uint8_t | aRxBuffer [USART_MAX_INDEX][BUFFER_SIZE] |
uint8_t | aTxBuffer [BUFFER_SIZE] = "USART Example: 8xUsarts Tx/Rx Communication" |
__IO uint8_t | ReceiveState |
static __IO uint32_t | TimingDelay |
__IO uint8_t | TxCounter = 0 |
USART_InitTypeDef | USART_InitStructure |
uint8_t | UsartIndex = 0 |
USART_TypeDef * | UsartInstance [USART_MAX_INDEX] = {USART1, USART2, USART3, USART4, USART5, USART6, USART7, USART8} |
Detailed Description
Main program body.
- Author:
- MCD Application Team
- Version:
- V1.4.0
- Date:
- 24-July-2014
- Attention:
© COPYRIGHT 2014 STMicroelectronics
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file STM32F0xx_StdPeriph_Examples/USART/USART_8xUsartsOneBoard/main.c.