minipix_uart_interface
A library and examples for the MiniPIX UART interface
|
: Main program body More...
Macros | |
#define | LLCP_DEBUG_PRINT 0 |
#define | USART_DMA_BUFFER_SIZE (4 * LLCP_RX_TX_BUFFER_SIZE) |
Functions | |
void | SystemClock_Config (void) |
System Clock Configuration. More... | |
int | main (void) |
The application entry point. More... | |
void | USART_IDLECallback (UART_HandleTypeDef *huart) |
void | Error_Handler (void) |
This function is executed in case of error occurrence. More... | |
Variables | |
UART_HandleTypeDef | huart1 |
UART_HandleTypeDef | huart2 |
UART_HandleTypeDef | huart6 |
DMA_HandleTypeDef | hdma_usart1_rx |
DMA_HandleTypeDef | hdma_usart2_rx |
DMA_HandleTypeDef | hdma_usart6_rx |
uint8_t | usart1_rx_buffer [USART_DMA_BUFFER_SIZE] |
uint8_t | usart2_rx_buffer [USART_DMA_BUFFER_SIZE] |
uint8_t | usart6_rx_buffer [USART_DMA_BUFFER_SIZE] |
MUI_Handler_t | mui_handler_ |
Gatherer_Handler_t | gatherer_handler_ |
: Main program body
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
#define LLCP_DEBUG_PRINT 0 |
#define USART_DMA_BUFFER_SIZE (4 * LLCP_RX_TX_BUFFER_SIZE) |
void Error_Handler | ( | void | ) |
This function is executed in case of error occurrence.
None |
int main | ( | void | ) |
The application entry point.
int |
void SystemClock_Config | ( | void | ) |
System Clock Configuration.
None |
Configure the main internal regulator output voltage
Initializes the RCC Oscillators according to the specified parameters in the RCC_OscInitTypeDef structure.
Initializes the CPU, AHB and APB buses clocks
void USART_IDLECallback | ( | UART_HandleTypeDef * | huart | ) |
Gatherer_Handler_t gatherer_handler_ |
DMA_HandleTypeDef hdma_usart1_rx |
DMA_HandleTypeDef hdma_usart2_rx |
DMA_HandleTypeDef hdma_usart6_rx |
UART_HandleTypeDef huart1 |
UART_HandleTypeDef huart2 |
UART_HandleTypeDef huart6 |
MUI_Handler_t mui_handler_ |
uint8_t usart1_rx_buffer[USART_DMA_BUFFER_SIZE] |
uint8_t usart2_rx_buffer[USART_DMA_BUFFER_SIZE] |
uint8_t usart6_rx_buffer[USART_DMA_BUFFER_SIZE] |