13.07.2015 Views

USB IO HID Datasheet - Delcom Products Inc.

USB IO HID Datasheet - Delcom Products Inc.

USB IO HID Datasheet - Delcom Products Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Delcom</strong> <strong>Products</strong> <strong>Inc</strong>.<strong>USB</strong><strong>IO</strong><strong>HID</strong> <strong>Datasheet</strong>Revision 4 – 4/7/2009Length = 8 BytesMinorCmd = 14LSBData = Port0DateMSBData = Port1StrobeLength = 8 BytesMinorCmd = 15LSBData = DelayMSBData = Port1StrobeExtData0..7 = DataBufferLength = 16 BytesMinorCmd = 16LSBData = DelayMSBData = Port1StrobeExtData0..7 = DataBufferLength = 16 BytesMinorCmd = 17ExtData0..7 = DataBufferLength = 16 Bytes14 - Write strobe low function. This command writes the LSB to port0 and then toggles the corresponding pin marked in the MSB byte lowthen high.15 - Write 8-byte strobe high function. This command writes the DataExtension data to port 0 and then toggles the corresponding pin marked in the MSB bytehigh then low and then delays for the specified time set in the LSB byte.16 - Write8-byte strobe low function. This command writes the DataExtension data to port 0 and then toggles the corresponding pin marked in the MSB bytelow then high and then delays for the specified time set in the LSB byte.17 - Write 64 Bit Command. This command writes 8 bytes of data tothe external hardware latches. The data is passed in the data extensionregisters. The LSB of the data extension is written to address zero. Thiscommand requires external hardware. See <strong>USB</strong>64B<strong>IO</strong>-Sch.pdf on ourwebsite.6.4.2 Port Clock FunctionsMinorCmd = 19LSBData = PrescalarLength = 8 BytesMinorCmd = 20LSBData = DisableMSBData = EnableLength = 8 BytesMinorCmd = 21LSBData = HighDutyMSBData = LowDutyLength = 8 BytesMinorCmd = 22LSBData = HighDutyMSBData = LowDutyLength = 8 BytesMinorCmd = 22LSBData = HighDutyMSBData = LowDutyLength = 8 BytesMinorCmd = 23LSBData = HighDutyMSBData = LowDutyLength = 8 BytesMinorCmd = 2519 - Loads the Clock Generator Global Prescalar value. This valueis passed in the LSB register. <strong>Inc</strong>reasing this number decreases all theclock function frequencies. Prescalar range is 1 to 255 and the boot updefault value is 10.20 - Enables or disables the clock generator on port 1. The lowernibble of the LSB disables the corresponding port pin(s) and the lowernibble of the MSB enables the corresponding port pin(s). Disabling theport pin(s) takes precedence over enabling.21 - Loads the frequency and duty cycle for port 1 pin 0. The LSBdata sets the high duty cycle and the MSB data sets the low duty cycleon port 1 pin 0.22 - Loads the frequency and duty cycle for port 1 pin 1. The LSBdata sets the high duty cycle and the MSB data sets the low duty cycleon port 1 pin 1.22 - Loads the frequency and duty cycle for port 1 pin 2. The LSBdata sets the high duty cycle and the MSB data sets the low duty cycleon port 1 pin 2.23 - Loads the frequency and duty cycle for port 1 pin 3. The LSBdata sets the high duty cycle and the MSB data sets the low duty cycleon port 1 pin 3.25 - Synchronizes the clock generation. This command synchronizes<strong>USB</strong><strong>IO</strong><strong>HID</strong>.pdf Copyright © DELCOM PRODUCTS INC. 2009. All Rights Reserved. Page 15 of 34<strong>Delcom</strong> <strong>Products</strong> <strong>Inc</strong>. 200 William St STE302 – Port Chester NY 10573 USA (914)934-5170 www.delcomproducts.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!