English
Language : 

MC68HC908JW32_09 Datasheet, PDF (161/232 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
11.5.6 USB Endpoint 1–4 Data Size Register (UEP1DSR–UEP4DSR)
USB Module Registers
Address:
Read:
Write:
Reset:
$0059 to $005C
Bit 7
6
5
4
3
2
1
DSIZE6 DSIZE5 DSIZE4 DSIZE3 DSIZE2 DSIZE1
0
0
0
0
0
0
0
= Unimplemented
Figure 11-8. USB Endpoint 1–4 Data Size Register
Bit 0
DSIZE0
0
DSIZE[6:0] — Packet Data Size
When the corresponding endpoint is configured as IN endpoint, these bits indicates the packet size to
be transmitted. When the corresponding endpoint is configured as OUT endpoint, these bits indicates
the packet size received.
11.5.7 USB Endpoint 1/2 and 3/4 Base Pointer Register (UEP12BPR–UEP34BPR)
Address:
Read:
Write:
Reset:
Read:
Write:
Reset:
$005D to $005E
Bit 7
6
5
4
3
2
1
BASE22 BASE21 BASE20
BASE12 BASE11
0
0
0
0
0
0
0
BASE42 BASE41 BASE40
BASE32 BASE31
0
0
0
0
0
0
0
= Unimplemented
Figure 11-9. USB Endpoint 1-4 Data Pointer Register
Bit 0
BASE10
0
BASE30
0
BASEx[2:0] — Base Location Pointer
There are total 64 bytes of dedicated RAM space assigned to the module, the addressable space is from
address $1000 to $103F. User must allocated appropriate buffer area to the endpoint which matches with
the packet size reported to the host. This register indicates the base address pointer for the endpoint
buffer area. The pointer location must align to the 8 bytes boundary. BASEx[2:0] specifies only the 3
address bits A5-A3. When USBEN is set, these bit have no effect.
Table 11-6. BASEx[2:0] Address Definition
%0001 0000
A15–A8
0
0
BASEx[2:0]
0
0
0
A7
A6
A5
A4
A3
A2
A1
A0
MC68HC908JW32 Data Sheet, Rev. 6
Freescale Semiconductor
161