at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 64

no-image

at91rm3400

Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at91rm3400-AU-002
Manufacturer:
Atmel
Quantity:
10 000
Description of the Buffer
Structure
64
AT91RM3400
The AT91PS_Buffer is a pointer to the AT91S_Buffer structure manages the buffers. This
structure embeds the following functions:
All the functions can be overloaded by the application to adapt buffer management.
A simple implementation of buffer management for the Xmodem Service is provided in the
boot ROM source code.
pointers to functions that manage the read buffer
pointers to functions that manage the write buffer
typedef struct _AT91S_Buffer
{
*pBuffer, unsigned int Size);
*pBuffer, unsigned int Size);
**pData, unsigned int *pSize);
**pData, unsigned int *pSize);
int size);
int size);
} AT91S_Buffer, *AT91PS_Buffer;
struct _AT91S_Pipe *pPipe;
void *pChild;
// Functions invoked by the pipe
AT91S_BufferStatus (*SetRdBuffer)
AT91S_BufferStatus (*SetWrBuffer)
AT91S_BufferStatus (*RstRdBuffer)
AT91S_BufferStatus (*RstWrBuffer)
char (*MsgWritten)
char (*MsgRead)
// Functions invoked by the peripheral
AT91S_BufferStatus (*GetWrBuffer)
AT91S_BufferStatus (*GetRdBuffer)
AT91S_BufferStatus (*EmptyWrBuffer)
AT91S_BufferStatus (*FillRdBuffer)
char (*IsWrEmpty)
char (*IsRdFull)
(struct _AT91S_Buffer *pSBuffer);
(struct _AT91S_Buffer *pSBuffer);
(struct _AT91S_Buffer *pSBuffer, char const *pBuffer);
(struct _AT91S_Buffer *pSBuffer, char const *pBuffer);
(struct _AT91S_Buffer *pSBuffer, char const
(struct _AT91S_Buffer *pSBuffer, char const
(struct _AT91S_Buffer *pSBuffer, char
(struct _AT91S_Buffer *pSBuffer);
(struct _AT91S_Buffer *pSBuffer);
(struct _AT91S_Buffer *pSBuffer, char
(struct _AT91S_Buffer *pSBuffer, unsigned
(struct _AT91S_Buffer *pSBuffer, unsigned
1790A–ATARM–11/03

Related parts for at91rm3400