#ifndef CYGONCE_USBS_AT91SAM7S_H #define CYGONCE_USBS_AT91SAM7S_H #include #include #define AT91SAM7S_USB_ENDPOINTS 4 extern usbs_control_endpoint usbs_sam7_ep0; extern usbs_rx_endpoint usbs_sam7_ep1; extern usbs_rx_endpoint usbs_sam7_ep2; extern usbs_rx_endpoint usbs_sam7_ep3; extern void usbs_sam7_ep1_init(usbs_rx_endpoint *pep, cyg_uint8 endpoint_type, cyg_bool enable); extern void usbs_sam7_ep2_init(usbs_rx_endpoint *pep, cyg_uint8 endpoint_type, cyg_bool enable); extern void usbs_sam7_ep3_init(usbs_rx_endpoint *pep, cyg_uint8 endpoint_type, cyg_bool enable); #endif /* CYGONCE_USBS_AT91SAM7S_H */