What is an MQX PCB?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

What is an MQX PCB?

跳至解决方案
1,115 次查看
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 项奖励
回复
1 解答
949 次查看
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 项奖励
回复
2 回复数
950 次查看
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 项奖励
回复
949 次查看
oscargarciaabad
Contributor III

Hi David,

Thanks a lot!

Regards,

Oscar.

0 项奖励
回复