1.2.5.2 ADP_INIT Struct

C

typedef struct
{
    /* Pointer to start of 1280-byte buffers */
    void*           pBuffers1280;
    /* Pointer to start of 400-byte buffers */
    void*           pBuffers400;
    /* Pointer to start of 100-byte buffers */
    void*           pBuffers100;
    /* Pointer to start of process queue entries */
    void*           pProcessQueueEntries;
    /* Pointer to start of fragmented transfer entries */
    void*           pFragmentedTransferEntries;
    /* ADP fragmentation size */
    uint16_t        fragmentSize;
    /* Number of 1280-byte buffers */
    uint8_t         numBuffers1280;
    /* Number of 400-byte buffers */
    uint8_t         numBuffers400;
    /* Number of 100-byte buffers */
    uint8_t         numBuffers100;
    /* Number of process queue entries */
    uint8_t         numProcessQueueEntries;
    /* Number of fragmented transfer entries */
    uint8_t         numFragmentedTransferEntries;
    /* ADP task rate in milliseconds */
    uint8_t         taskRateMs;
} ADP_INIT;

Summary

Defines the data required to initialize the ADP Layer.

Description

This data type defines the data required to initialize the G3 ADP layer.

Field description:

  • pBuffers1280. Pointer to start of 1280-byte buffers.

  • pBuffers400. Pointer to start of 400-byte buffers.

  • pBuffers100. Pointer to start of 100-byte buffers.

  • pProcessQueueEntries. Pointer to start of process queue entries.

  • pFragmentedTransferEntries. Pointer to start of fragmented transfer entries.

  • fragmentSize. ADP fragmentation size.

  • numBuffers1280. Number of 1280-byte buffers.

  • numBuffers400. Number of 400-byte buffers.

  • numBuffers100. Number of 100-byte buffers.

  • numProcessQueueEntries. Number of process queue entries.

  • numFragmentedTransferEntries. Number of fragmented transfer entries.

  • taskRateMs. ADP task rate in milliseconds.

All these fields are set on Project Configuration. Refer to Configuring The G3 Stack and Configuring The G3 ADP Layer sections for a detailed description of Configuration Parameters.

Remarks

None.