Sample Code
windows driver samples/ SpbTestTool/ C++/ sys/ spbtesttool.asl/
// // Test peripheral device node // Device(SPBT) { Name(_ADR, 0) Name(_HID, "SpbTestTool") Name(_CID, "SpbTestTool") Name(_UID, 1) Method(_CRS, 0x0, NotSerialized) { Name (RBUF, ResourceTemplate () { // // Sample I2C and GPIO resources. Modify to match your // platform's underlying controllers and connections. // \_SB.I2C and \_SB.GPIO are paths to predefined I2C // and GPIO controller instances. // // Note: SpbTestTool does not require a GPIO resource. // Remove as necessary. // I2CSerialBus(0x1D, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.I2C", , ) GpioInt(Level, ActiveHigh, Exclusive, PullDown, 0, "\\_SB.GPIO") {1} }) Return(RBUF) } }
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials