4 * author: hackbard@hackdaworld.org
6 * number of priorities:
7 * - switch on board power
8 * - allow high speed usb transfer
13 /* constant definitions */
19 /* type definitions */
20 typedef unsigned char u8;
21 typedef unsigned short u16;
22 typedef unsigned int u32;
34 void slave_fifo_init() {
36 /* set bit 0 and 1 - fifo slave config */
42 /* 8 bit fifo to all endpoints */
48 /* default indexed flag configuration:
50 * flag a: programmable level
54 * todo: -> fixed configuration
72 /* initialize the fx2 */