2008-02-03 21:41:39 +01:00
|
|
|
#ifndef AT91_UDP_H_
|
|
|
|
#define AT91_UDP_H_
|
|
|
|
|
2008-03-01 22:17:33 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
void ep_transfer_send(uint32_t ep,
|
|
|
|
char *data,
|
|
|
|
uint32_t length,
|
|
|
|
void (*complete_cb)(void));
|
|
|
|
|
|
|
|
void ep_transfer_receive(uint32_t ep,
|
|
|
|
char *data,
|
|
|
|
uint32_t length,
|
|
|
|
void (*complete_cb)(void));
|
|
|
|
|
|
|
|
void ep_send_stall(uint32_t ep);
|
|
|
|
|
2008-02-03 21:41:39 +01:00
|
|
|
void at91_udp_init(void);
|
|
|
|
|
|
|
|
#endif /*AT91_UDP_H_*/
|