Electronic Components Datasheet Search |
|
AN495 Datasheet(PDF) 9 Page - Silicon Laboratories |
|
AN495 Datasheet(HTML) 9 Page - Silicon Laboratories |
9 / 22 page AN495 Rev. 0.2 9 4.3. Get GPIO Values Report ID: 0x03 Direction: Feature Request In If a pin is configured as a GPIO input pin, the corresponding Latch Value bit represents the input value. If a pin is configured as a GPIO output pin, the corresponding Latch Value bit represents the logic level driven on the pin. GPIO0_TXT corresponds to bit zero (the least significant bit), and GPIO7_CLK corresponds to bit seven (the most significant bit). 4.4. Set GPIO Values Report ID: 0x04 Direction: Feature Request Out Set GPIO Values sets the values for GPIO pins. The desired value for the pin is configured in Latch Value. To drive a “1” on an output pin, the corresponding bit should be set to “1”. To drive a “0” on an output pin, the corresponding bit should be set to “0”. The Report sets new values only for output pins that have a “1” in the corresponding bit position in Latch Mask. If the corresponding bit in Latch Mask is set to “0”, a new pin value will not be set, even if the pin is configured as an output pin. The Report does not affect any pins that are not configured as outputs. 4.5. Get Version Information Report ID: 0x05 Direction: Feature Request In Part Number indicates the device part number. The CP2112 returns 0x0C. Device Version is the version of the device. This value is not programmable over the HID interface. Name Offset Size Value Description Latch Value 1 2 * Current latch values Name Offset Size Value Description Latch Value 1 1 * Latch value Latch Mask 2 1 * Pin to set to new latch value Name Offset Size Value Description Part Number 1 1 0x0C Device part number Device Version 2 1 Varies |
Similar Part No. - AN495 |
|
Similar Description - AN495 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |