RTEMS: UsartChannel Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
UsartChannel Struct Reference

usart Transfer Request prepared by the application upper layer. More...

`#include <usart_dma.h>`

## Data Fields
uint8_t * | pBuff
uint32_t | BuffSize
uint8_t | ChNum
UsartdCallback | callback
void * | pArgument
volatile uint8_t | dmaProgress
LinkedListDescriporView1 * | pLLIview
eXdmadProgState | dmaProgrammingMode
uint16_t | dmaBlockSize
uint8_t | dmaRingBuffer

## Detailed Description

usart Transfer Request prepared by the application upper layer.

This structure is sent to the USART_Send or USART_Rcv to start the transfer. At the end of the transfer, the callback is invoked by the interrupt handler.

## Field Documentation

## ◆ BuffSize

uint32_t UsartChannel::BuffSize

Buff size in bytes.

## ◆ callback

UsartdCallback UsartChannel::callback

Callback function invoked at the end of transfer.

## ◆ ChNum

uint8_t UsartChannel::ChNum

Dma channel num.

## ◆ dmaProgress

volatile uint8_t UsartChannel::dmaProgress

flag to indicate the current transfer progress

## ◆ pArgument

void* UsartChannel::pArgument

Callback arguments.

## ◆ pBuff

uint8_t* UsartChannel::pBuff

Pointer to the Buffer.

The documentation for this struct was generated from the following file:

- bsps/arm/atsam/include/libchip/include/usart_dma.h