I/O Register Description of the Embedded Device Function
MC68HC08KH12A Data Sheet, Rev. 1.1
Freescale Semiconductor
93
9.5 I/O Register Description of the Embedded Device Function
The USB embedded device function provides a set of control/status registers and twenty-four data
registers that provide storage for the buffering of data between the USB embedded device function and
the CPU. These registers are shown in
Figure 9-14
and
Figure 9-15
.
Addr.
Register Name
Bit 7
0
6
0
5
0
4
0
3
2
1
Bit 0
$0047
USB Embedded Device Control
Register 2
(DCR2)
Read:
Write:
Reset:
Read:
Write:
Reset:
Read:
Write:
Reset:
Read:
Write:
Reset:
Read:
Write:
Reset:
Read:
Write:
Reset:
Read:
Write:
Reset:
ENABLE2 ENABLE1 DSTALL2 DSTALL1
0
0
0
0
0
0
0
0
$0048
USB Embedded Device
Address Register
(DADDR)
DEVEN
DADD6
DADD5
DADD4
DADD3
DADD2
DADD1
DADD0
0
0
0
0
0
0
0
0
0
0
0
0
$0049
USB Embedded Device
Interrupt Register 0
(DIR0)
TXD0F
RXD0F
TXD0IE
RXD0IE
TXD0FR
0
0
TXD1FR
0
RXD0FR
0
0
0
0
0
0
0
0
0
0
0
0
$004A
USB Embedded Device
Interrupt Register 1
(DIR1)
TXD1F
TXD1IE
0
0
0
0
0
0
0
$004B
USB Embedded Device Control
Register 0
(DCR0)
T0SEQ
DSTALL0
TX0E
RX0E
TP0SIZ3
TP0SIZ2
TP0SIZ
and1
TP0SIZ0
0
0
0
0
0
0
0
0
0
$004C
USB Embedded Device Control
Register 1
(DCR1)
T1SEQ
ENDADD
TX1E
TP1SIZ3
TP1SIZ2
TP1SIZ1
TP1SIZ0
0
0
0
0
0
0
0
0
0
$004D
USB Embedded Device Status
Register
(DSR)
DRSEQ
DSETUP
DTX1ST
RP0SIZ3
RP0SIZ2
RP0SIZ1
RP0SIZ0
DTX1STR
0
X
X
0
X
X
X
X
= Unimplemented
X = Indeterminate
Figure 9-14. Embedded Device Control Register Summary
Addr.
Register Name
Bit 7
DE0R07
DE0T07
X
DE0R17
DE0T17
X
DE0R27
DE0T27
X
6
5
4
3
2
1
Bit 0
DE0R00
DE0T00
X
DE0R10
DE0T10
X
DE0R20
DE0T20
X
$0020
USB Embedded Device
Endpoint 0 Data Register 0
(DE0D0)
Read:
Write:
Reset:
Read:
Write:
Reset:
Read:
Write:
Reset:
DE0R06
DE0T06
X
DE0R16
DE0T16
X
DE0R26
DE0T26
X
= Unimplemented
DE0R05
DE0T05
X
DE0R15
DE0T15
X
DE0R25
DE0T25
X
DE0R04
DE0T04
X
DE0R14
DE0T14
X
DE0R24
DE0T24
X
DE0R03
DE0T03
X
DE0R13
DE0T13
X
DE0R23
DE0T23
X
X = Indeterminate
DE0R02
DE0T02
X
DE0R12
DE0T12
X
DE0R22
DE0T22
X
DE0R01
DE0T01
X
DE0R11
DE0T11
X
DE0R21
DE0T21
X
$0021
USB Embedded Device
Endpoint 0 Data Register 1
(DE0D1)
$0022
USB Embedded Device
Endpoint 0 Data Register 2
(DE0D2)
Figure 9-15. Embedded Device Data Register Summary