📄 msapi_crc.c
字号:
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2007 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
// MStar Semiconductor Inc. and be kept in strict confidence
// (¨MStar Confidential Information〃) by the recipient.
// Any unauthorized act including without limitation unauthorized disclosure,
// copying, use, reproduction, sale, distribution, modification, disassembling,
// reverse engineering and compiling of the contents of MStar Confidential
// Information is unlawful and strictly prohibited. MStar hereby reserves the
// rights to any and all damages, losses, costs and expenses resulting therefrom.
//
////////////////////////////////////////////////////////////////////////////////
#define MSAPI_CRC_C
/******************************************************************************/
/* Header Files */
/******************************************************************************/
// C Library
#include <stdio.h>
// Global Layer
#include "sysinfo.h"
// Driver Layer
// API Layer
#include "msAPI_CRC.h"
/******************************************************************************/
/* Macro */
/******************************************************************************/
#define CRC_DBG(x) //x
// Calculate CRC by hand-optimized 8051 assembly language.
// Need the following settings in uVision:
// 1. Right click on the file in the Project Window
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -