AT91RM3400-AI-001 ATMEL [ATMEL Corporation], AT91RM3400-AI-001 Datasheet - Page 63
![no-image](/images/no-image-200.jpg)
AT91RM3400-AI-001
Manufacturer Part Number
AT91RM3400-AI-001
Description
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.AT91RM3400-AI-001.pdf
(461 pages)
- Current page: 63 of 461
- Download datasheet (6Mb)
Xmodem Service
Presentation
Communication Pipe
Service
1790A–ATARM–11/03
The Xmodem service is an application of the communication pipe abstract layer. This layer is
media-independent (USART, USB, etc.) and gives entry points to carry out reads and writes
on an abstract media, the pipe.
The pipe communication structure is a virtual structure that contains all the functions required
to read and write a buffer, regardless of the communication media and the memory
management.
The pipe structure defines:
•
•
•
•
The following structure defines the pipe object:
The Xmodem protocol implementation demonstrates how to use the communication pipe.
a pointer to a communication service structure
a pointer to a buffer manager structure
pointers on read and write functions
pointers to callback functions associated to the read and write functions
typedef struct _AT91S_Pipe
{
} AT91S_Pipe, *AT91PS_Pipe;
// A pipe is linked with a peripheral and a buffer
AT91PS_SvcComm pSvcComm;
AT91PS_Buffer
// Callback functions with their arguments
void (*WriteCallback) (AT91S_PipeStatus, void *);
void (*ReadCallback)
void *pPrivateReadData;
void *pPrivateWriteData;
// Pipe methods
AT91S_PipeStatus (*Write) (
AT91S_PipeStatus (*Read) (
AT91S_PipeStatus (*AbortWrite) (struct _AT91S_Pipe
AT91S_PipeStatus (*AbortRead) (struct _AT91S_Pipe *pPipe);
AT91S_PipeStatus (*Reset) (struct _AT91S_Pipe *pPipe);
char (*IsWritten) (struct _AT91S_Pipe *pPipe,char const *pVoid);
char (*IsReceived) (struct _AT91S_Pipe *pPipe,char const *pVoid);
struct _AT91S_Pipe
char const *
unsigned int
void
void
struct _AT91S_Pipe
char
unsigned int
void
void
pBuffer;
*pPipe,
*pData,
size,
(*callback) (AT91S_PipeStatus, void *),
*privateData);
(AT91S_PipeStatus, void *);
*pPipe,
pData,
size,
(*callback) (AT91S_PipeStatus, void *),
*privateData);
AT91PS_Buffer
AT91PS_SvcComm
*pPipe);
AT91RM3400
63
Related parts for AT91RM3400-AI-001
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![at91rm3400](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Atmel Advanced At91 Arm Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT88SC0204CA-SH](/images/no-image3.png)
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![AT88SC0808CA-SH](/images/no-image3.png)
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![AT88SC1616C-SH](/images/no-image3.png)
Part Number:
Description:
Atmel CryptoMemory, 16Kbit
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![AT25DF161-SH](/images/no-image3.png)
Part Number:
Description:
8-bit Atmel Microcontrollers
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![ATMEGA1281V](/images/no-image3.png)
Part Number:
Description:
8-bit Atmel Microcontroller with 64K/128K/256K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![ATMEGA164A_11](/images/no-image3.png)
Part Number:
Description:
8-bit Atmel Microcontroller with 16/32/64/128K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B-P](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
![TDA4470](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet: