| BlueNRG-1 Peripherals drivers Examples

- Main Page
- Modules
- Classes
- Files

Macros | Functions | Variables
UART DMA Example
BlueNRG1 Standard Peripheral Examples » UART Examples

## Macros

#define | USART_DR_ADDRESS (UART_BASE)
#define | SYST_CLOCK 16000000 /*< System clock frequency */

## Functions

void | DMA_Configuration (void)
| DMA_Configuration. More...
void | DMAUart_Sending (uint8_t size)
int | main (void)
| Main program. More...

## Variables

uint8_t | buffer_uart [UART_BUFFER_SIZE]
uint8_t | buffer_uart_tail = 0
volatile uint8_t | buffer_uart_used = 0
FlagStatus | uart_tx_dma_eot = SET

## Detailed Description

## Macro Definition Documentation

#define SYST_CLOCK 16000000 /*< System clock frequency */

Definition at line 188 of file UART_Dma_main.c.

#define USART_DR_ADDRESS (UART_BASE)

Definition at line 187 of file UART_Dma_main.c.

## Function Documentation

void DMA_Configuration | ( | void |  | ) |

DMA_Configuration.

Parameters

  None |

Return values

  None |

Definition at line 243 of file UART_Dma_main.c.

void DMAUart_Sending | ( | uint8_t | size | ) |

Definition at line 286 of file UART_Dma_main.c.

int main | ( | void |  | ) |

Main program.

Parameters

  None |

Return values

  None |

Definition at line 209 of file UART_Dma_main.c.

## Variable Documentation

uint8_t buffer_uart[UART_BUFFER_SIZE]

Definition at line 192 of file UART_Dma_main.c.

uint8_t buffer_uart_tail = 0

Definition at line 193 of file UART_Dma_main.c.

volatile uint8_t buffer_uart_used = 0

Definition at line 194 of file UART_Dma_main.c.

FlagStatus uart_tx_dma_eot = SET

Definition at line 195 of file UART_Dma_main.c.