Source Code Files
Contents
USB08 Evaluation Board
Designer Reference Manual
MOTOROLA
Source Code Files
91
#define
UE1D3
_P(0x2B)
#define
UE1D4
_P(0x2C)
#define
UE1D5
_P(0x2D)
#define
UE1D6
_P(0x2E)
#define
UE1D7
_P(0x2F)
#define
UE2D0
_P(0x30)
#define
UE2D1
_P(0x31)
#define
UE2D2
_P(0x32)
#define
UE2D3
_P(0x33)
#define
UE2D4
_P(0x34)
#define
UE2D5
_P(0x35)
#define
UE2D6
_P(0x36)
#define
UE2D7
_P(0x37)
#define
UADDR
_P(0x38)
#define
UIR0
_P(0x39)
#define
UIR1
_P(0x3A)
#define
UCR0
_P(0x3B)
#define
UCR1
_P(0x3C)
#define
USR0
_P(0x3D)
#define
USR1
_P(0x3E)
//not implemented (0x3F)
// 16-Bit Registers:
#define
TCNT
_LP(0x0C)
#define
TMOD
_LP(0x0E)
#define
TCH0
_LP(0x11)
#define
TCH1
_LP(0x14)
//-- Bit Mask Definitions ----------------------------------------------------
// Bits in UADDR:
#define BM_USBEN
0x80
// USB Module Enable
// Bits in UIR0:
#define BM_EOPIE
0x80
// End-of-Packet Detect Interrupt Enable
#define BM_RXD2IE
0x10
// EP2 Rx Interrupt Enable
#define BM_TXD1IE
0x08
// EP1 Tx Interrupt Enable
#define BM_TXD0IE
0x02
// EP0 Tx Interrupt Enable
#define BM_RXD0IE
0x01
// EP0 Rx Interrupt Enable
// Bits in UIR1:
#define BM_EOPF
0x80
// End-of-Packet Detect Flag
#define BM_RSTF
0x40
// Clear Reset Indicator Bit
#define BM_RXD2F
0x10
// EP2 Data Receive Flag
#define BM_TXD1F
0x08
// EP1 Data Transmit complete Flag
#define BM_TXD0F
0x02
// EP0 Data Transmit complete Flag
#define BM_RXD0F
0x01
// EP0 Data Receive Flag
// Bits in UIR2:
#define BM_EOPFR
0x80
// End-of-Packet Flag Reset
//#define BM_RSTFR
0x40
// Clear Reset Indicator Bit
#define BM_RXD2FR
0x10
// EP2 Receive Flag Reset
#define BM_TXD1FR
0x08
// EP1 Transmit complete Flag Reset
#define BM_TXD0FR
0x02
// EP0 Transmit complete Flag Reset
#define BM_RXD0FR
0x01
// EP0 Receive Flag Reset
// Bits in UCR0:
Содержание MC68HC908JB8
Страница 2: ...blank ...
Страница 6: ...Designer Reference Manual USB08 Evaluation Board 6 List of Sections MOTOROLA List of Sections ...
Страница 16: ...Designer Reference Manual USB08 Evaluation Board 16 List of Tables MOTOROLA List of Tables ...
Страница 42: ...Designer Reference Manual USB08 Evaluation Board 42 Hardware Description MOTOROLA Hardware Description ...
Страница 88: ...Designer Reference Manual USB08 Evaluation Board 88 USB08 Descriptors MOTOROLA USB08 Descriptors ...
Страница 243: ...blank ...