EasyManua.ls Logo

Oracle StorageTek T10000

Oracle StorageTek T10000
310 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Vendor Unique SB-2 CRC
254 T10000: Interface Reference Manual August 2016
/* NOTE: The CHECK is for the standard 9 byte test data of
* ASCII string "123456789"
*/
#define FICON
/***************************************************************************
*
* Function: Main
* Purpose: Calculate the FICON (Single Byte) CRC32
* Args: none
* Return Value: none
* Remarks:
* CRC32 Generator Polinomial:
* 0x104C11DB7
*
* x^0+x^1+x^2+x^4+x^5+x^7+x^8+x^10+x^11+x^12+x^16+x^22+x^23+x^26+x^32
*
* The CRC 32 polinomial is a linear feedback shift register that will
* generate a Maximal Length Sequence, implemented here using a lookup
* table, to reduce the number of shift and XOR operations.
*
*************************************************************************/
int main(void)
{
uint32_t crc;
uint32_t cnt;
uint32_t blk_len;
uint8_t *blk_adr;
uint8_t test_data[]=
{
FIGURE A-1 SB-2 CRC Program Example (Sheet 5 of 6)

Table of Contents

Other manuals for Oracle StorageTek T10000

Related product manuals