...
Task 1 is realized implemented (carried out) by
Code Block | ||||
---|---|---|---|---|
| ||||
if(usb_setup_packet_avail()) usb_handle_setup_packet(); |
Task 2 is realized 2 is implemented (carried out) by
Code Block | ||||
---|---|---|---|---|
| ||||
void ep1_pool(void) |
Task 3 is realized implemented (carried out) by
Code Block | ||||
---|---|---|---|---|
| ||||
void int_pin_pool(void) |
...
This process is realized process is implemented (carried out) by function ep1_pool().
This function pull 64 bytes from EP1OUTBUF FIFO; in this FIFO are stored possible host computer's SW sent by through USB connection.
...
The host computer's SW should use a polling procedure to retrieve the I2C bytes read (and stored) by FX2 microcontroller (the pull response to host computer's pull is realized pull is implemented (carried out) by task2: ep1_pool())
...