cx28560 Mindspeed Technologies, cx28560 Datasheet - Page 232

no-image

cx28560

Manufacturer Part Number
cx28560
Description
Hdlc Controller
Manufacturer
Mindspeed Technologies
Datasheet
Flow Conductor Interface
Figure C-1. Data and Command Storage in Internal Buffer
C-2
fragment length % 4 = 1
fragment length % 4 = 2
fragment length % 4 = 3
fragment length % 4 = 4
If the length of the payload in a fragment is FRAGLEN, the number of 4 bytes a
fragment occupies can be calculated as follows:
If the fragment is not the last fragment in a packet, it will occupy (FRAGLEN / 4) 4
bytes in the internal buffer.
If the fragment is the last fragment in a packet, the number of 4 bytes it will occupy is
as follows:
In case FRAGLEN % 4 = 1, num_4bytes = (FRAGLEN + 3) / 4;
In case FRAGLEN % 4 = 2, num_4bytes = (FRAGLEN + 2) / 4;
In case FRAGLEN % 4 = 3, num_4bytes = (FRAGLEN + 5) / 4;
In case FRAGLEN % 4 = 4, num_4bytes = (FRAGLEN + 4) / 4;
31
31
31
31
31
31
Mindspeed Technologies™
Data
Advance Information
Command
Command
Command
Command
Data
Data
Data
Data
Data
Data
Data
Data
Data
CX28560 Data Sheet
28560-DSH-001-B
0
0
0
0
0
0

Related parts for cx28560