Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F2450-E/SPSQTP Datasheet(PDF) 145 Page - Microchip Technology

Part # PIC18F2450-E/SPSQTP
Description  28/40/44-Pin, High-Performance, 12 MIPS, Enhanced Flash, USB Microcontrollers with nanoWatt Technology
PDF  320 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F2450-E/SPSQTP Datasheet(HTML) 145 Page - Microchip Technology

Back Button PIC18F2450-E/SPSQTP Datasheet HTML 141Page - Microchip Technology PIC18F2450-E/SPSQTP Datasheet HTML 142Page - Microchip Technology PIC18F2450-E/SPSQTP Datasheet HTML 143Page - Microchip Technology PIC18F2450-E/SPSQTP Datasheet HTML 144Page - Microchip Technology PIC18F2450-E/SPSQTP Datasheet HTML 145Page - Microchip Technology PIC18F2450-E/SPSQTP Datasheet HTML 146Page - Microchip Technology PIC18F2450-E/SPSQTP Datasheet HTML 147Page - Microchip Technology PIC18F2450-E/SPSQTP Datasheet HTML 148Page - Microchip Technology PIC18F2450-E/SPSQTP Datasheet HTML 149Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 145 / 320 page
background image
PIC18F2450/4450
© 2006 Microchip Technology Inc.
Advance Information
DS39760A-page 143
14.5
USB Interrupts
The USB module can generate multiple interrupt
conditions. To accommodate all of these interrupt
sources, the module is provided with its own interrupt
logic structure, similar to that of the microcontroller.
USB interrupts are enabled with one set of control
registers and trapped with a separate set of flag regis-
ters. All sources are funneled into a single USB inter-
rupt
request,
USBIF
(PIR2<5>),
in
the
microcontroller’s interrupt logic.
Figure 14-8 shows the interrupt logic for the USB
module. There are two layers of interrupt registers in
the USB module. The top level consists of overall USB
status interrupts; these are enabled and flagged in the
UIE and UIR registers, respectively. The second level
consists of USB error conditions, which are enabled
and flagged in the UEIR and UEIE registers. An
interrupt condition in any of these triggers a USB Error
Interrupt Flag (UERRIF) in the top level.
Interrupts may be used to trap routine events in a USB
transaction. Figure 14-9 shows some common events
within a USB frame and their corresponding interrupts.
FIGURE 14-8:
USB INTERRUPT LOGIC FUNNEL
FIGURE 14-9:
EXAMPLE OF A USB TRANSACTION AND INTERRUPT EVENTS
BTSEF
BTSEE
BTOEF
BTOEE
DFN8EF
DFN8EE
CRC16EF
CRC16EE
CRC5EF
CRC5EE
PIDEF
PIDEE
SOFIF
SOFIE
TRNIF
TRNIE
IDLEIF
IDLEIE
STALLIF
STALLIE
ACTVIF
ACTVIE
URSTIF
URSTIE
UERRIF
UERRIE
USBIF
Second Level USB Interrupts
(USB Error Conditions)
UEIR (Flag) and UEIE (Enable) Registers
Top Level USB Interrupts
(USB Status Interrupts)
UIR (Flag) and UIE (Enable) Registers
USB Reset
SOF
RESET
SETUP
DATA
STATUS
SOF
SETUPToken
Data
ACK
OUT Token
Empty Data
ACK
START-OF-FRAME
IN Token
Data
ACK
SOFIF
URSTIF
1 ms Frame
Differential Data
From Host
From Host
To Host
From Host
To Host
From Host
From Host
From Host
To Host
Transaction
Control Transfer(1)
Transaction
Complete
Note
1:
The control transfer shown here is only an example showing events that can occur for every transaction. Typical control transfers
will spread across multiple frames.
Set TRNIF
Set TRNIF
Set TRNIF



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com