What is an MQX PCB?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is an MQX PCB?

Jump to solution
534 Views
oscargarciaabad
Contributor III

Hi,

I'm looking on the ethernet code in MQX. I found the following structure definition:

typedef struct enet_param_struct {

   const ENET_IF_STRUCT         *ENET_IF;

   ENET_mode                     MODE;

   uint32_t                       OPTIONS;

  

   uint16_t                       NUM_TX_ENTRIES;

   uint16_t                       NUM_TX_BUFFERS;

   uint16_t                       TX_BUFFER_SIZE;

   uint16_t                       NUM_RX_ENTRIES;

   uint16_t                       NUM_RX_BUFFERS;

   uint16_t                       RX_BUFFER_SIZE;

   uint16_t                       NUM_RX_PCBS;

  

   uint16_t                       NUM_SMALL_BUFFERS;

   uint16_t                       NUM_LARGE_BUFFERS;

   void                         *MAC_PARAM;

   

} ENET_PARAM_STRUCT, * ENET_PARAM_STRUCT_PTR;

Can anybody tell me what is a PCB?

Beacuse I don´t know what is NUM_RX_PCBS for.

Thank you very much.

Oscar.

0 Kudos
1 Solution
368 Views
DavidS
NXP Employee
NXP Employee

Hi Oscar,

In KSDK_1.1.0 please read:

C:\Freescale\KSDK_1.1.0\rtos\mqx\doc\rtcs\Freescale MQX RTOS RTCS User's Guide.pdf

In MQX4.1.1 please read:

C:\Freescale\Freescale_MQX_4_1_1_GA\doc\rtcs\MQX_RTCS_User_Guide.pdf

The PCB stands for Packet Control Block that RTCS uses internally. The default value is 4 and RTCSPCBmax can be changed to increase or decrease the number created.

Regards,

David

View solution in original post

0 Kudos
2 Replies
369 Views
DavidS
NXP Employee
NXP Employee

Hi Oscar,

In KSDK_1.1.0 please read:

C:\Freescale\KSDK_1.1.0\rtos\mqx\doc\rtcs\Freescale MQX RTOS RTCS User's Guide.pdf

In MQX4.1.1 please read:

C:\Freescale\Freescale_MQX_4_1_1_GA\doc\rtcs\MQX_RTCS_User_Guide.pdf

The PCB stands for Packet Control Block that RTCS uses internally. The default value is 4 and RTCSPCBmax can be changed to increase or decrease the number created.

Regards,

David

0 Kudos
368 Views
oscargarciaabad
Contributor III

Hi David,

Thanks a lot!

Regards,

Oscar.

0 Kudos