mc68hc05jb4p Freescale Semiconductor, Inc, mc68hc05jb4p Datasheet - Page 92

no-image

mc68hc05jb4p

Manufacturer Part Number
mc68hc05jb4p
Description
Mc68hc705jb4 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
GENERAL RELEASE SPECIFICATION
10.5.9 USB Endpoint 1/Endpoint 2 Data Registers (UE1D0-UE1D7)
10.6
10.6.1 USB End of Transaction Interrupt
10.6.1.1 Receive Control Endpoint 0
UE1TD7 - UE1TD0 — Endpoint 1/ Endpoint 2 Transmit Data Buffer
USB INTERRUPTS
The USB module is capable of generating interrupts and causing the CPU to
execute the USB interrupt service routine. There are three types of USB
interrupts:
All USB interrupts share the same interrupt vector. Firmware is responsible for
determining which interrupt is active.
There are three possible end of transaction interrupts: Endpoint 0 Receive,
Endpoint 0 Transmit, and a shared Endpoint 1 or Endpoint 2 Transmit. End of
transaction interrupts occur as detailed in the following sections.
For a Control OUT transaction directed at Endpoint 0, the USB module will
generate an interrupt by setting the RXD0F flag in the UIR0 register. The
conditions necessary for the interrupt to occur are shown in the flowchart of
Figure 10-29.
SETUP transactions cannot be stalled by the USB function. A SETUP received by
a control endpoint will clear the STALL0 bit if it is set. The conditions for receiving
UE1D0
$0028
UE1D7
$002F
Figure 10-28. USB Endpoint 1/Endpoint2 Data Registers (UE1D0-UE1D7)
These write only buffers are loaded by software with data to be sent on the
USB bus on the next IN token directed at Endpoint 1 or Endpoint 2. These buff-
ers are shared by Endpoints 1 and 2 and depend on proper configuration of the
ENDADD bit.
to
reset:
End of Transaction interrupts signify a completed transaction (receive or
transmit)
Resume interrupts signify that the USB bus is reactivated after having
been suspended
End of Packet interrupts signify that a low speed end of packet signal
was detected
W
W
R
R
UE1TD7 UE1TD6 UE1TD5 UE1TD4 UE1TD3 UE1TD2 UE1TD1 UE1TD0
UE1TD7 UE1TD6 UE1TD5 UE1TD4 UE1TD3 UE1TD2 UE1TD1 UE1TD0
BIT 7
X
:
:
Freescale Semiconductor, Inc.
For More Information On This Product,
UNIVERSAL SERIAL BUS MODULE
BIT 6
X
:
:
Go to: www.freescale.com
February 24, 1999
BIT 5
X
:
:
BIT 4
X
:
:
BIT 3
X
:
:
BIT 2
X
:
:
BIT 1
X
:
:
BIT 0
REV
X
:
:

Related parts for mc68hc05jb4p