Datasheet

Rev. 2.00 Aug. 20, 2008 Page xxiv of xlviii
22.5.2 Operation at Cable Disconnection ........................................................................ 864
22.5.3 Suspend and Resume Operations.......................................................................... 865
22.5.4 Control Transfer.................................................................................................... 870
22.5.5 EP1 Bulk-Out Transfer (Dual FIFOs)................................................................... 876
22.5.6 EP2 Bulk-In Transfer (Dual FIFOs) ..................................................................... 877
22.5.7 EP3 Interrupt-In Transfer...................................................................................... 879
22.6 Processing of USB Standard Commands and Class/Vendor Commands .......................... 880
22.6.1 Processing of Commands Transmitted by Control Transfer................................. 880
22.7 Stall Operations.................................................................................................................. 881
22.7.1 Overview .............................................................................................................. 881
22.7.2 Forcible Stall by Application ................................................................................ 881
22.7.3 Automatic Stall by USB Function Module ........................................................... 883
22.8 DTC Transfer..................................................................................................................... 884
22.8.1 Overview .............................................................................................................. 884
22.8.2 DTC Transfer for Endpoint 1................................................................................ 885
22.8.3 DTC Transfer for Endpoint 2................................................................................ 886
22.8.4 DTC Transfer End Interrupt.................................................................................. 887
22.9 Example of USB External Circuitry .................................................................................. 888
22.10 Usage Notes ....................................................................................................................... 890
22.10.1 Receiving Setup Data............................................................................................ 890
22.10.2 Clearing the FIFO ................................................................................................. 890
22.10.3 Overreading and Overwriting the Data Registers ................................................. 890
22.10.4 Assigning Interrupt Sources to EP0 ...................................................................... 891
22.10.5 Clearing the FIFO When DTC Transfer is Enabled.............................................. 891
22.10.6 Notes on TR Interrupt........................................................................................... 891
22.10.7 Restrictions on Peripheral Module Clock (φ) Operating Frequency..................... 892
Section 23 A/D Converter ................................................................................. 893
23.1 Features.............................................................................................................................. 893
23.2 Input/Output Pins............................................................................................................... 895
23.3 Register Descriptions......................................................................................................... 896
23.3.1 A/D Data Registers A to H (ADDRA to ADDRH) .............................................. 896
23.3.2 A/D Control/Status Register (ADCSR) ................................................................ 897
23.3.3 A/D Control Register (ADCR) ............................................................................. 899
23.4 Operation ........................................................................................................................... 900
23.4.1 Single Mode.......................................................................................................... 900
23.4.2 Scan Mode ............................................................................................................ 901
23.4.3 Input Sampling and A/D Conversion Time .......................................................... 903
23.4.4 Timing of External Trigger Input ......................................................................... 906
23.5 Interrupt Source ................................................................................................................. 907