Chapter 4: Software
Registry Settings for Expansion Devices
Psion Teklogix Omnii HDK User Manual
27
Sample Device Registry Entries
Serial Device Registry Entry Sample
SPI Device Registry Entry Sample
(SPI not available on Omnii XT10):
; Registry entry for a serial device
;
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_UART]
“Name”=”Exp1_UART”
“ConnectorId”=dword:0 ;ConnectorId_Expansion1: 0
;ConnectorId_Expansion2: 1
;ConnectorId_Expansion3: 2
“PinFunctions”=dword:0F ;Pin GPIO0_TXD: bit 0 [1]
;Pin GPIO1_RXD: bit 1 [1]
;Pin GPIO2_CTS: bit 2 [1]
;Pin GPIO3_RTS: bit 3 [1]
;Pin GPIO4_MOSI: bit 4 [0]
;Pin GPIO5_MISO: bit 5 [0]
;Pin GPIO6_SCLK: bit 6 [0]
;Pin GPIO7_CS_N: bit 7 [0]
“PowerMode”=dword:1 ;PowerMode_Auto: 1
;PowerMode_Manual: 2
“Notifications”=dword:0
“LoadFlags”=dword:1 ;Flags_Uart: 0x01, load default UART driver
;Flags_UsbHost: 0x02, load default USB host driver
;Flags_UsbClient: 0x04, load default USB client driver
;Flags_Spi: 0x08, load default SPI driver
;Flags_UsbOtg: 0x10, load default USB OTG driver
;Flags_None: 0x00, load vendor supplied driver
; Registry entry for an SPI device
;
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_SPI]
“Name”=”Exp1_SPI”
“ConnectorId”=dword:0 ; ConnectorId_Expansion1: 0
; ConnectorId_Expansion2: 1
; ConnectorId_Expansion3: 2
“PinFunctions”=dword:F0 ; Pin GPIO0_TXD: bit 0 [0]
; Pin GPIO1_RXD: bit 1 [0]
; Pin GPIO2_CTS: bit 2 [0]
; Pin GPIO3_RTS: bit 3 [0]
; Pin GPIO4_MOSI: bit 4 [1]
; Pin GPIO5_MISO: bit 5 [1]
; Pin GPIO6_SCLK: bit 6 [1]
; Pin GPIO7_CS_N: bit 7 [1]
“PowerMode”=dword:1 ; PowerMode_Auto: 1
; PowerMode_Manual: 2
“Notifications”=dword:0
“LoadFlags”=dword:0 ; Flags_Uart: 0x01, load default UART driver
; Flags_UsbHost: 0x02, load default USB host driver
; Flags_UsbClient: 0x04, load default USB client driver
; Flags_Spi: 0x08, load default SPI driver
; Flags_UsbOtg: 0x10, load default USB OTG driver
; Flags_None: 0x00, load vendor supplied driver
Summary of Contents for OMNii HDK XT10
Page 4: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 20: ......
Page 24: ......
Page 26: ......
Page 32: ......
Page 72: ......
Page 90: ......
Page 92: ......
Page 116: ......
Page 124: ......
Page 126: ......
Page 130: ......
Page 132: ......
Page 154: ......
Page 168: ......
Page 170: ......
Page 182: ......
Page 184: ......
Page 188: ......