Cypress Semiconductor SL811HS Bedienungsanleitung Seite 15

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 43
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 14
Cypress Semiconductor Corporation
SL811HS and SL811HST: Application Notes
©2001 Cypress Semiconductor Corporation. All rights reserved. The information
and specifications contained in this document are subject to change without
notice.
Date: 07/26/01
Revision: 1.21
Page: 15
3. PROGRAMMING INFORMATION
3.1. Host and Device Programming
The SL811HS supports auto increment mode for Read/Write Cycles in the A0 mode. In A0
mode, the Micro Controller sets up the address only once. On any subsequent DATA
Read/Write access, the internal address pointer will advance to the next DATA location.
In A0 mode (shown in the diagram above), the internal register address is input to the device in
a normal I/O or memory mapped I/O write operation with the A0 address select input driven low
('0'). This operation results in the address being latched internally so that the subsequent Read
or Write operation with A0 driven high ('1') will result in a data transfer.
REG/MEMORY ADDRESSREG/MEMORY ADDRESS
REG/MEMORY DATA REG/MEMORY DATA
D7D7 D6D6 D5D5 D4D4 D3D3 D2D2 D1D1 D0D0
A0A0
'0''0'
'1'
A0A0 D7D7 DD66 D5D5 D4D4 D3D3 D2D2 D1D1 D0D0
SL811H Register/Memory I/O OperationsSL811H Register/Memory I/O Operations.
WRITEWRITE
ADDRESSADDRESS
READ/WRITEREAD/WRITE
1.1.
2.2.
REGISTERREGISTER
OROR
MEMORYMEMORY
1. Write Address to I/O location with A0 = '0'.1. Write Address to I/O location with A0 = '0'.
2. Read/Write data from/to location. A0 = '1'.2. Read/Write data from/to location. A0 = '1'.
3.2. SL811HS USB Control Registers
The SL811HS can communicate to any USB Device with any type of configuration or function
including any specific endpoints via the USB control registers. The SL811HS can address up
to 127 devices and 16 endpoints.
Each endpoint has an associated set of registers (this is further described in the SL811HS
specification). Each must be programmed in order to initiate or respond to transactions on the
USB. The host initiates USB Control Register’s transactions during setup and configuration.
Typically, the host will request information from the device during setup to determine the
device's characteristics, and assign a USB ID to the device. The complete definition of control
messages and transactions are defined in Chapter 9 of the USB Specification 1.1.
Seitenansicht 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 42 43

Kommentare zu diesen Handbüchern

Keine Kommentare