Lantronix DSTni-EX User Manual

Page of 95
 
50 
Table 4-23. Endpoint Control Register Definitions 
EP_CTL_DIS  EP_RX_EN 
EP_TX_EN 
Endpoint Enable / Direction Control 
/// 0  0 
Disable 
endpoint. 
/// 
Enable endpoint for TX transfer only. 
/// 
Enable endpoint for RX transfer only. 
Enable endpoint for RX and TX transfers. 
Enable endpoint for RX and TX and control (SETUP) 
transfers. 
 
Host Mode Operation 
A unique feature of the USB core is its host mode logic. This logic lets devices such as digital 
cameras and palmtop computers work as a USB host controller. Host mode lets a peripheral 
such as a digital camera connect directly to a USB-compliant printer. Digital photos can then be 
easily printed without having to upload them to a PC. Similarly, with palmtop computer 
applications, a USB-compliant keyboard/mouse can connect to the palmtop computer for easy 
interaction. 
Host mode is designed for handheld-portable devices, allowing easy connection to simple 
Human Interface Device (HID)-class devices such as printers and keyboards. It is not intended 
to perform the functions of full Open Host Controller Interface (OHCI)- or Universal Host 
Controller Interface (UHCI)-compatible host controllers found on PC motherboards.  
Host mode allows bulk, isochronous, interrupt and control transfers. Bulk data transfers are 
performed at nearly the full USB bus bandwidth. Support is provided for ISO transfers; however, 
the number of ISO streams that can be practically supported depends on the interrupt latency of 
the microprocessor servicing the token-done interrupts from the SIE. Custom drivers must be 
written to support host mode. The USB is not supported by Windows 98 as a USB host 
controller. 
The USB core can operate as either a target device or in host mode. It cannot operate in both 
modes simultaneously. 
 
 
During host mode, only endpoint zero is used. Software must disable all other endpoints.