AT91RM3400-AI-001 ATMEL [ATMEL Corporation], AT91RM3400-AI-001 Datasheet - Page 64

no-image

AT91RM3400-AI-001

Manufacturer Part Number
AT91RM3400-AI-001
Description
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
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-AI-001