Psion Teklogix OMNii HDK XT10 User Manual page 37

Table of Contents

Advertisement

Sample Device Registry Entries
Serial Device Registry Entry Sample
; Registry entry for a serial device
;
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_UART]
"Name"="Exp1_UART"
"ConnectorId"=dword:0
"PinFunctions"=dword:0F
"PowerMode"=dword:1
"Notifications"=dword:0
"LoadFlags"=dword:1
SPI Device Registry Entry Sample
(SPI not available on Omnii XT10):
; Registry entry for an SPI device
;
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_SPI]
"Name"="Exp1_SPI"
"ConnectorId"=dword:0
"PinFunctions"=dword:F0
"PowerMode"=dword:1
"Notifications"=dword:0
"LoadFlags"=dword:0
;ConnectorId_Expansion1: 0
;ConnectorId_Expansion2: 1
;ConnectorId_Expansion3: 2
;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_Auto:
1
;PowerMode_Manual:
2
;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
; ConnectorId_Expansion1: 0
; ConnectorId_Expansion2: 1
; ConnectorId_Expansion3: 2
; 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_Auto:
1
; PowerMode_Manual:
2
; 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
Chapter 4: Software
Registry Settings for Expansion Devices
Psion Teklogix Omnii HDK User Manual
27

Advertisement

Table of Contents
loading

Table of Contents