Download draft - Alacron.com

Transcript
DRAFT
Smart Features
6.5.2 Determining the Address of a Smart Feature’s CSR
The control and status register (CSR) for each smart feature is identified by a 128 bit Globally
Unique Identifier (GUID). GUIDs are also known as UUIDs (Universal Unique Identifier).
A GUID consists of:
• One 32 bit number
(D1)
• Two 16 bit numbers
(D2, D3)
• A sequence of 8 bytes
(D4[0] - D4[7])
GUID example:
CA8A916A
(D1)
-
14A4
-
(D2)
4D8E
-
BBC9
-
(D3)
(D4[0] - D4[1])
93DF50495C16
(D4[2] - D4[7])
Section 6.7 describes the standard smart features available on A600f cameras. Each smart
feature description includes the GUID assigned to the feature’s CSR.
To determine the starting address of a smart feature’s CSR, the feature’s CSR GUID must be
written to the Smart Features Inquiry register. The Smart Features Inquiry register’s offset relative
to the Advanced Features Access Control Register is 0x10. If the camera recognizes the GUID as
the CSR GUID for an implemented smart feature, the address of CSR for the feature can be read
from the Smart Features Address Register at offset 0x20. If the feature isn’t supported by the
device, a value of 0x0 will be read from the Smart Features Address Register.
Smart Features Inquiry Register Layout
Bit
Offset
0-7
8-15
16-23
10h
24-31
D1
14h
D3
D2
18h
D4[3]
D4[2]
D4[1]
D4[0]
1ch
D4[7]
D4[6]
D4[5]
D4[4]
16-23
24-31
Smart Features Address Register Layout
Bit
Offset
6-4
0-7
8-15
20h
Address Low
24h
Address High
BASLER A600f