The first task at hand is to Set up the endpoints appropriately for this example. The following code switches the CPU clock speed
to 48 MHz (since at power-on default it is 12 MHz), and Sets up EP2 as a Bulk OUT endpoint, 4x buffered of size 512, and EP6
as a Bulk IN endpoint, also 4x buffered of size 512. This Set-up utilizes the maximum allotted 4-KB FIFO space. It also Sets up
the FIFOs for manual mode, word-wide operation, and goes through a FIFO reSet and arming sequence to ensure that they are
ready for data operations
標(biāo)簽:
appropriately
The
endpoints
following
上傳時(shí)間:
2013-12-02
上傳用戶(hù):dianxin61