công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

MCS3142-I/ST bảng dữ liệu(PDF) 8 Page - Microchip Technology

tên linh kiện MCS3142-I/ST
Giải thích chi tiết về linh kiện  MCS3142 Dual KEELOQ짰 Technology Encoder Data Sheet
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCS3142-I/ST bảng dữ liệu(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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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