回复:我看看五星上将啥鸟样
1-20
·
好!
|
||
“与非门”和“或非门”的电路结构比“与门”和“或门”更简单。
1-20
·
“与门”只能由“与非门”和“非门”构成,无法直接实现。
|
||
回复:C语言纯软件计算任意多项式CRC7、CRC8、CRC16和CRC32的代码
1-20
·
#include <stdint.h>
#include <stdio.h> #include <string.h> #define POLYNOMIAL_CRC32 0x4c11db7 /* 计算CRC32校验码 */ uint32_t calc_crc32(const void *data, int len) { const uint8_... |
||
回复:C语言纯软件计算任意多项式CRC7、CRC8、CRC16和CRC32的代码
1-20
·
有的单片机不支持uint64_t类型,无法运行calc_crc32函数和calc_crc32_inv函数。
注意到 if (temp & 0x8000000000000000) temp ^= POLYNOMIAL_CRC32 << 31; temp <<= 1; 也就是 if (temp & 0x8000000000000000) {... |
||
回复:C语言纯软件计算任意多项式CRC7、CRC8、CRC16和CRC32的代码
1-20
·
#include <stdint.h>
#include <stdio.h> #include <string.h> #define INIT_CRC32 0xffffffffull #define POLYNOMIAL_CRC32 0x104c11db7ull uint8_t invert(uint8_t data) { int i;... |
||
回复:C语言纯软件计算任意多项式CRC7、CRC8、CRC16和CRC32的代码
1-20
·
四个计算函数长得非常像,就只是里面的数字不一样。
|
||
回复:C语言纯软件计算任意多项式CRC7、CRC8、CRC16和CRC32的代码
1-20
·
程序运行结果:
len=0, crc7=0x00, crc8=0x00, crc16=0x0000, crc32=0x00000000 len=4, crc7=0x49, crc8=0x88, crc16=0x62d3, crc32=0x41e278d5 len=8, crc7=0x35, crc8=0x4f, crc16=0x90e6, crc32=0xe83f2f79 len=12, crc7=0x50, crc8=0x5c, crc16=0x9764, crc32=... |
||
C语言纯软件计算任意多项式CRC7、CRC8、CRC16和CRC32的代码
1-20
·
/* CRC(循环冗余校验)在线计算: http://www.ip33.com/crc.html */
// 初始值INIT=0, 结果异或值XOROUT=0, 输入数据不反转, 输出数据不反转 #include <stdint.h> #include <stdio.h> #include <string.h> #define POLYNOMIAL_CRC7 0x89ul #define POLYNOMI... |
||
回复:Daily Word from TheFreeDictionary
1-20
·
self-reliance
Definition: (noun) Personal independence. Synonyms: self-direction, self-sufficiency, autonomy Usage: I should have thought you... |
||
回复:[Shanbay]Deep Reading: How to Build the Skill
1-20
·
The average American checks their phone over 140 times a day, clocking an average of 4.5 hours of daily use, with 57% of people...
|
||