Electronic Components Datasheet Search
Selected language     English  ▼
Part Name
         Description

UR5HCSPI-FB Datasheet (HTML) - Semtech Corporation

Part No. UR5HCSPI-FB
Description  Zero-PowerTM Keyboard Encoder & Power Management IC for H/PCs
Download  20 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Maker  SEMTECH [Semtech Corporation]
Homepage  http://www.semtech.com
Logo 
 12 page
background image
LRC CALCULATION, (CON’T)
COMMANDS FROM THE UR5HCSPI TO THE HOST, (CON’T)
Copyright Semtech 1997-2001
DOC5-SPI-DS-117
www.semtech.com
12
LED Status Report
<CONTROL>
80H
<LED>
A3H
<Status 0>
xxH
LED0 status:( 0=OFF; 1=ON;
2=BLINKING; 3=NO LED MODE )
<Status 1>
xxH
LED1 status:( 0=OFF; 1=ON;
2=BLINKING; 3=NO LED MODE )
<Status 2>
xxH
LED2 status:( 0=OFF; 1=ON;
2=BLINKING; 3=NO LED MODE)
<LRC>
xxH
The UR5HCSPI will send the LED Status Report to the host when it receives
the LED Status Request Command from the host.
Resend Request
<CONTROL>
80H
<RESEND>
A5H
<LRC>
25H
The UR5HCSPI will send this Resend Request Command to the host when
its command buffer is full, or if it detects either a parity error or an unknown
command during a system command transmission.
The following C language function
is an example of an LRC
calculation program. It accepts
two arguments: a pointer to a
buffer and a buffer length. Its
return value is the LRC value for
the specified buffer.
char Calculate LRC (char buffer,
size buffer)
{
char LRC;
size_t index;
/*
* Init the LRC using the first two
message bytes.
*/
LRC = buffer [0] ^ buffer [1];
/*
* Update the LRC using the
remainder of the buffer.
*/
for (index = 2; index < buffer; index
++)
LRC ^ = buffer[index];
/*
* If the MSB is set then clear the
MSB and change the next most
significant bit
*/
if (LRC & 0x80)
LRC ^ = 0xC0;
/* * Return the LRC value for the
buffer.*/}



Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20 


Datasheet Download



Related Electronics Part Number

Part NumberComponents DescriptionHtml ViewManufacturer
UR5HCSPI-06Zero-PowerTM Keyboard Encoder & Power Management IC for H/PCs 1 2 3 4 5 MoreSemtech Corporation
UR5HCFJLZero-PowerTM Keyboard Encoder for Portable Systems 1 2 3 4 5 MoreSemtech Corporation
TPS65022POWER MANAGEMENT IC FOR LI-ION POWERED SYSTEMS 1 2 3 4 5 MoreTexas Instruments
TPS65013POWER AND BATTERY MANAGEMENT IC FOR Li-ION POWERED SYSTEMS 1 2 3 4 5 MoreTexas Instruments
AT73C213Power Management for Mobiles PM / Audio Interface for Portable Handsets 1 2 3 4 5 MoreATMEL Corporation
BH6038KNPower Management for Cellular Phone 1 2 3 4 5 MoreRohm
TPS65520POWER MANAGEMENT IC FOR DIGITAL STILL CAMERA 1 2 3 4 5 MoreTexas Instruments
AT73C203Power Management IC for Datacom Platforms 1 2 3 ATMEL Corporation
AT73C202Power Management for Mobiles PM 1 2 3 ATMEL Corporation
MIMD10ADUAL PRE-BIASED TRANSISTORS FOR POWER MANAGEMENT 1 2 3 Diodes Incorporated

Link URL

Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Partner program   |   Contact us   |   Privacy Policy   |   Bookmark   |   Link Exchange   |   Manufacturer List
All Rights Reserved© Alldatasheet.com 2003 - 2014    


Mirror Sites
English : Alldatasheet.com  , 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