AN2262 Motorola / Freescale Semiconductor, AN2262 Datasheet - Page 99

no-image

AN2262

Manufacturer Part Number
AN2262
Description
Wireless HC08 Modem
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
#pragma DATA_SEG DEFAULT
// fixed SCI buffers
BYTE sciRxBuff[sciRxSize];
BYTE sciTxBuff[sciTxSize];
/////////////////////////////////////////////////////////
// locals
#pragma CONST_SEG ROM_CONST
static const BYTE romeoCfg[3] = { RF_R2CFG_CF | RF_R2CFG_SOE | RF_R2CFG_SR0 |
RF_R2CFG_DME,
static const BYTE romeoCfgOff[3] = { RF_R2CFG_CF | RF_R2CFG_SOE | RF_R2CFG_SR0 /*|
RF_R2CFG_DME*/,
///////////////////////////////////////////////////////////
// constant variables
// Error Corrections lookup tables
#ifdef RF_ECC
// systematic code taken from example on
// http://www.tisl.ukans.edu/~paden/Reference/ECC/linear/index.html
static const BYTE eccEncoder[16] =
{
};
static const BYTE eccDecoder[128] =
{
MOTOROLA
0x00, //
0x51, //
0x72, //
0x23, //
0x34, //
0x65, //
0x46, //
0x17, //
0x68, //
0x39, //
0x1A, //
0x4B, //
0x5C, //
0x0D, //
0x2E, //
0x7F, //
0 0 0 0 0 0 0 0 0 0 0 0
1 1 0 1 0 0 0 1 0 0 0 1
2 1 1 1 0 0 1 0 0 0 1 0
3 0 1 0 0 0 1 1 0 0 1 1
4 0 1 1 0 1 0 0 0 1 0 0
5 1 1 0 0 1 0 1 0 1 0 1
6 1 0 0 0 1 1 0 0 1 1 0
7 0 0 1 0 1 1 1 0 1 1 1
8 1 1 0 1 0 0 0 1 0 0 0
9 0 1 1 1 0 0 1 1 0 0 1
A 0 0 1 1 0 1 0 1 0 1 0
B 1 0 0 1 0 1 1 1 0 1 1
C 1 0 1 1 1 0 0 1 1 0 0
D 0 0 0 1 1 0 1 1 1 0 1
E 0 1 0 1 1 1 0 1 1 1 0
F 1 1 1 1 1 1 1 1 1 1 1
Wireless HC08 Modem
RF_HEADER,
RF_R2CFG_SPEED };
RF_HEADER,
RF_R2CFG_SPEED };
Source Code
AN2262/D
99

Related parts for AN2262