mc68hc908jw32 Freescale Semiconductor, Inc, mc68hc908jw32 Datasheet - Page 158

no-image

mc68hc908jw32

Manufacturer Part Number
mc68hc908jw32
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908jw32FAE
Manufacturer:
FREESCALE
Quantity:
20 000
USB 2.0 FS Module
SIZE[1:0] — Buffer size Selection bits
DIR — Endpoint Direction Bit
STALL — Forced STALL Handshake Enable
MODE[1:0] — Endpoint Type selection
158
This read/write bits select the buffer size for the corresponding endpoint. When USBEN is set, these
bits has no effect.
TFRCIE — Transfer Complete Interrupt Enable
This read/write bit enables the CPU interrupt associated with the TFRC flag.
Setting this bit enables the endpoint to become IN endpoint. Clearing this bit enables the endpoint to
become OUT endpoint. Writing to this bit will have no effect when USBEN is set.
This read/write bit causes endpoint 0 to return a STALL handshake when polled by either an IN or OUT
token by the USB host. If the bit is set by software, when a data packet addressed to that endpoint is
detected, this STALL status will be latched to the module, the bit is cleared automatically and the packet
will be responded by STALL. Once the STALL status is latched, it can only be cleared by
CLEAR_FEATURE command from the host. Software cannot clear this status. If there is no packet
addressed to the endpoint after the bit is set, it can still be cleared by writing zero. Reset clears this bit.
This bit selects the type of the endpoint. When USBEN is set, this bit has no effect.
1 = TFRC flag interrupt is enabled
0 = TFRC flag interrupt is disabled
1 = IN endpoint is enabled
0 = OUT endpoint is enabled
1 = Send STALL handshake
0 = Do not response STALL handshaking
When USB RESET is detected, explicitly writing zero to the STALL bit is
recommended to ensure all unlatched STALL status is cleared.
Table 11-5. Mode selection for Endpoint type
Table 11-4. Buffer Size Selection Table
MODE[1:0]
MC68HC908JW32 Data Sheet, Rev. 5
SIZE[1:0]
00
01
10
11
00
01
10
11
NOTE
Endpoint Disable
Endpoint Type
Interrupt
Buffer Size
Bulk
16 Bytes
32 Bytes
64 Bytes
8 Bytes
Freescale Semiconductor

Related parts for mc68hc908jw32