Rf22 – Rainbow Electronics RF22 User Manual

Page 72

Advertising
background image

RF22

Version: 0.1 Date: 12/23/2008

Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: [email protected] http://www.hoperf.com

72

Register 3Bh. Transmit Header 2

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

txhd[23:16]

Type R/W

Reset value = 00000000

Bit

Name

Function

7:0

txhd[23:16]

Transmit Header 2.
3rd byte of the header to be transmitted.

Register 3Ch. Transmit Header 1

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

txhd[15:8]

Type R/W

Reset value = 00000000

Bit

Name

Function

7:0

txhd[15:8]

Transmit Header 1.
2nd byte of the header to be transmitted.

Register 3Dh. Transmit Header 0

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

txhd[7:0]

Type R/W

Reset value = 00000000

Bit

Name

Function

7:0

txhd[7:0]

Transmit Header 0.
1st byte of the header to be transmitted.

Register 3Eh. Transmit Packet Length

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

pklen[7:0]

Type R/W

Reset value = 00000000

Bit

Name

Function

7:0

pklen[7:0]

Packet Length.
The value in the pklen[7:0] register corresponds directly to the number of bytes in the Transmit
Packet. For example pklen[7:0] = ‘00001000’ corresponds to a packet length of 8 bytes. The
maximum packet length is pklen[7:0] = ‘11111111’, a 255 byte packet. Writing 0 is possible, in
this case we do not send any data in the packet. During RX, if fixpklen = 1, this will specify also
the Packet Length for RX mode.

Check Header bytes 3 to 0 are checked against the corresponding bytes in the Received Header if the check is
enabled in "Register 31h. EzMAC Status".

Register 3Fh. Check Header 3

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

chhd[31:24]

Type R/W

Advertising