数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MCS3142-I/ST 数据表(PDF) 8 Page - Microchip Technology

部件名 MCS3142-I/ST
功能描述  MCS3142 Dual KEELOQ짰 Technology Encoder Data Sheet
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

MCS3142-I/ST 数据表(HTML) 8 Page - Microchip Technology

Back Button MCS3142-I/ST Datasheet HTML 4Page - Microchip Technology MCS3142-I/ST Datasheet HTML 5Page - Microchip Technology MCS3142-I/ST Datasheet HTML 6Page - Microchip Technology MCS3142-I/ST Datasheet HTML 7Page - Microchip Technology MCS3142-I/ST Datasheet HTML 8Page - Microchip Technology MCS3142-I/ST Datasheet HTML 9Page - Microchip Technology MCS3142-I/ST Datasheet HTML 10Page - Microchip Technology MCS3142-I/ST Datasheet HTML 11Page - Microchip Technology MCS3142-I/ST Datasheet HTML 12Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 37 page
background image
MCS3142
DS40001747A-page 8
 2014 Microchip Technology Inc.
3.1
Counter and Timer Protection
Because they are written during normal operation of
the device, the two synchronization counters, Reset
counter and time value receive special protection to
guard against data loss from unexpected power loss.
An 8-bit CRC is calculated and stored alongside each
variable. Further, each variable is duplicated in a
different portion of memory. Whenever a value is read,
the CRC is calculated and verified against the stored
value. If there is a mismatch, the second copy of the
data is read instead. The CRC calculation uses a
polynomial
represented
by
.
Example 3-1 describes a sample C function to compute
this value.
EXAMPLE 3-1:
CRC CALCULATION
x
8
x
4
x
3
x
2
1
++++
static uint8_t crc(const uint8_t* buffer, size_t len){
uint8_t bitcount;
uint8_t c = 0xFF;
while(len--)
{
c ^= *buffer++;
for(bitcount = 0; bitcount < 8; bitcount++){
if((c & 0x80)!= 0) {
c <<= 1;
c ^= 0x1D;
}else{
c <<= 1;
}
}
}
return ~c;
}



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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