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

no-image

AT91RM3400-AI-001

Manufacturer Part Number
AT91RM3400-AI-001
Description
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Description of the
SvcComm Structure
1790A–ATARM–11/03
The SvcComm structure provides the interface between low-level functions and the pipe
object.
It contains pointers of functions initialized to the lower level functions (e.g. SvcXmodem).
The Xmodem Service implementation gives an example of SvcComm use.
typedef struct _AT91S_Service
{
} AT91S_SvcComm, *AT91PS_SvcComm;
// Methods:
AT91S_SvcCommStatus (*Reset)
AT91S_SvcCommStatus (*StartTx)(struct _AT91S_Service *pService);
AT91S_SvcCommStatus (*StartRx)(struct _AT91S_Service *pService);
AT91S_SvcCommStatus (*StopTx) (struct _AT91S_Service *pService);
AT91S_SvcCommStatus (*StopRx) (struct _AT91S_Service *pService);
char
char
// Data:
struct _AT91S_Buffer *pBuffer; // Link to a buffer object
void *pChild;
(*TxReady)(struct _AT91S_Service *pService);
(*RxReady)(struct _AT91S_Service *pService);
(struct _AT91S_Service *pService);
AT91RM3400
65

Related parts for AT91RM3400-AI-001