| Electronic Components Datasheet Search |
|
CP2114 Datasheet(PDF) 44 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
CP2114 Datasheet(HTML) 44 Page - Silicon Laboratories |
|
44 / 54 page ![]() AN433 44 Rev. 0.5 5.10. CP2114_GetOtpConfig Description: Retrieves a CP2114 configurationfrom OTP. Prototype: HID_UART_STATUS CP2114_GetOtpConfig(HID_UART_DEVICE device, BYTE cp2114ConfigNumber, PCP2114_CONFIG_STRUCT pCP2114ConfigStruct) Parameters:1. device—Device object pointer as returned by HidUart_Open(). 2. cp2114ConfigNumber —configuration number to retrieve CP2114 OTP. 3. pCP2114ConfigStruct —Pointer to store configuration data returned from the device. typedef struct_CONFIG_STRUCT { CP2114_RAM_CONFIG_STRUCT ramConfig; BYTE DacConfiguration[MAX_DAC_CONFIG_SIZE]; }CP2114_CONFIG_STRUCT, *PCP2114_CONFIG_STRUCT; 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 5.11. CP2114_CreateOtpConfig Description: Creates a new CP2114 configuration in the available OTP space. Prototype: HID_UART_STATUS CP2114_CreateOtpConfig(HID_UART_DEVICE device, WORD configBufferLength, BYTE* pConfigBuffer) Parameters:1. device—Device object pointer as returned by HidUart_Open(). 2. configBufferLength—Length in bytes of the configuration to be written to OTP. 3. pConfigBuffer—Pointer to the buffer containing configuration structured per CP2114_CONFIG_STRUCT excluding the "U16 Length" in CP2114_RAM_CONFIG_STRUCT. The DLL will automatically insert the Length field. 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 |
|
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 |
| 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 |