Datasheet

PIC24FJ64GB004 FAMILY
DS39940D-page 44 2010 Microchip Technology Inc.
TABLE 4-18: USB OTG REGISTER MAP
File Name Addr Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
All
Resets
U1OTGIR 0480 IDIF T1MSECIF LSTATEIF ACTVIF SESVDIF SESENDIF VBUSVDIF
0000
U1OTGIE 0482 IDIE T1MSECIE LSTATEIE ACTVIE SESVDIE SESENDIE VBUSVDIE
0000
U1OTGSTAT 0484 —ID —LSTATE SESVD SESEND VBUSVD
0000
U1OTGCON 0486 DPPULUP DMPULUP DPPULDWN DMPULDWN VBUSON OTGEN VBUSCHG VBUSDIS
0000
U1PWRC 0488 —UACTPND —USLPGRD USUSPND USBPWR
0000
U1IR 048A
(1)
STALLIF RESUMEIF IDLEIF TRNIF SOFIF UERRIF URSTIF
0000
STALLIF ATTACHIF
(1)
RESUMEIF IDLEIF TRNIF SOFIF UERRIF DETACHIF
(1)
0000
U1IE 048C
(1)
STALLIE RESUMEIE IDLEIE TRNIE SOFIE UERRIE URSTIE
0000
STALLIE ATTACHIE
(1)
RESUMEIE IDLEIE TRNIE SOFIE UERRIE DETACHIE
(1)
0000
U1EIR 048E
(1)
—BTSEF DMAEF BTOEF DFN8EF CRC16EF CRC5EF PIDEF
0000
—BTSEF DMAEF BTOEF DFN8EF CRC16EF EOFEF
(1)
PIDEF
0000
U1EIE 0490
(1)
BTSEE DMAEE BTOEE DFN8EE CRC16EE CRC5EE PIDEE
0000
BTSEE DMAEE BTOEE DFN8EE CRC16EE EOFEE
(1)
PIDEE
0000
U1STAT 0492 ENDPT3 ENDPT2 ENDPT1 ENDPT0 DIR PPBI
0000
U1CON 0494
(1)
SE0 PKTDIS HOSTEN RESUME PPBRST USBEN
0000
—JSTATE
(1)
SE0 TOKBUSY
(1)
USBRST HOSTEN RESUME PPBRST SOFEN
(1)
0000
U1ADDR 0496 LSPDEN
(1)
USB Device Address (DEVADDR) Register
0000
U1BDTP1 0498 Buffer Descriptor Table Base Address Register
0000
U1FRML 049A Frame Count Register Low Byte
0000
U1FRMH 049C Frame Count Register High Byte
0000
U1TOK
(2)
049E PID3 PID2 PID1 PID0 EP3 EP2 EP1 EP0
0000
U1SOF
(2)
04A0 Start-of-Frame Count Register
0000
U1CNFG1 04A6 —UTEYEUOEMON USBSIDL PPB1 PPB0
0000
U1CNFG2 04A8 UVCMPSEL PUVBUS EXTI2CEN UVBUSDIS UVCMPDIS UTRDIS
0000
Legend:
— = unimplemented, read as ‘
0
’. Reset values are shown in hexadecimal.
Note 1:
Alternate register or bit definitions when the module is operating in Host mode.
2:
This register is available in Host mode only.