Electronic Components Datasheet Search
  English  ▼

X  

CP2114 Datasheet(PDF) 18 Page - Silicon Laboratories

Part # CP2114
Description  HID-TO-UART API SPECIFICATION
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SILABS [Silicon Laboratories]
Direct Link  http://www.silabs.com
Logo SILABS - Silicon Laboratories

CP2114 Datasheet(HTML) 18 Page - Silicon Laboratories

Back Button CP2114 Datasheet HTML 14Page - Silicon Laboratories CP2114 Datasheet HTML 15Page - Silicon Laboratories CP2114 Datasheet HTML 16Page - Silicon Laboratories CP2114 Datasheet HTML 17Page - Silicon Laboratories CP2114 Datasheet HTML 18Page - Silicon Laboratories CP2114 Datasheet HTML 19Page - Silicon Laboratories CP2114 Datasheet HTML 20Page - Silicon Laboratories CP2114 Datasheet HTML 21Page - Silicon Laboratories CP2114 Datasheet HTML 22Page - Silicon Laboratories Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 54 page
background image
AN433
18
Rev. 0.5
2.25. HidUart_ReadLatch
Description:
Gets the current port latch value from the device.
Prototype:
HID_UART_STATUS
HidUart_ReadLatch
(HID_UART_DEVICE
device,
WORD*
latchValue)
Parameters:1.
device—Device object pointer as returned by HidUart_Open().
2.
latchValue—Returns the port latch value (Logic High = 1, Logic Low = 0). If a pin is configured
as a GPIO input or flow control pin that is an input, then the corresponding bit represents the
input value. If a pin is configured as a GPIO output pin or a flow control pin that is an output,
then the corresponding bit represents the logic level driven on the pin.
Return Value: HID_UART_STATUS
=
HID_UART_SUCCESS
HID_UART_INVALID_DEVICE_OBJECT
HID_UART_INVALID_PARAMETER
HID_UART_DEVICE_IO_FAILED
HID_UART_DEVICE_NOT_SUPPORTED
Remarks:
See "6. Port Latch Pin Definition" on page 46 for more information on configuring GPIO and flow
control pins. Bits 9 and 15 of latchValue are ignored.
2.26. HidUart_WriteLatch
Description:
Sets the current port latch value to the device.
Prototype:
HID_UART_STATUS
HidUart_WriteLatch
(HID_UART_DEVICE
device,
WORD
latchValue, WORD latchMask)
Parameters:1.
device—Device object pointer as returned by HidUart_Open().
2.
latchValue—Value to write to the port latch (Logic High = 1, Logic Low = 0). This function is
used to set the values for GPIO pins or flow control pins that are configured as outputs. This
function will not affect any pins that are not configured as outputs.
3.
latchMask—Determines which pins to change (Change = 1, Leave = 0).
Return Value: HID_UART_STATUS
=
HID_UART_SUCCESS
HID_UART_INVALID_DEVICE_OBJECT
HID_UART_DEVICE_IO_FAILED
HID_UART_DEVICE_NOT_SUPPORTED
Remarks:
See "6. Port Latch Pin Definition" on page 46 for more information on configuring GPIO and flow
control pins. Bits 9 and 15 or latchValue and latchMask are ignored. Pins TX, RX, Suspend, and /
Suspend cannot be written to using this function.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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