![]() |
Autodrone
Multi-Domain Vehicle
|
This file enables reading of usart data for use with a serial receiver. More...
Go to the source code of this file.
Macros | |
#define | RX1BUF_SIZE 32 |
Functions | |
void | usart1Init (void) |
Initializes the low level registers for usart1. More... | |
void | usart1Read (uint8_t *pData, uint8_t size) |
Reads in data form usart1 with DMA. More... | |
void | usart6Init (void) |
Initializes the low level registers for usart1. More... | |
void | usart6Write (char *pData, uint8_t size) |
Reads in data form usart1 with DMA. More... | |
Variables | |
uint8_t | rx1Buf [RX1BUF_SIZE] |
This file enables reading of usart data for use with a serial receiver.
#define RX1BUF_SIZE 32 |
void usart1Init | ( | void | ) |
Initializes the low level registers for usart1.
void usart1Read | ( | uint8_t * | pData, |
uint8_t | size | ||
) |
Reads in data form usart1 with DMA.
*pData | A pointer to location where you want to read data to. |
size | The amount of bytes to be read. |
void usart6Init | ( | void | ) |
Initializes the low level registers for usart1.
void usart6Write | ( | char * | pData, |
uint8_t | size | ||
) |
Reads in data form usart1 with DMA.
*pData | A pointer to location where you want to read data to. |
size | The amount of bytes to be read. |
|
extern |