iomuxc_gpr_mode_t enumeration incorrect?

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

iomuxc_gpr_mode_t enumeration incorrect?

590 Views
kaztros
Contributor I

Hello.  I'm trying to use the SDK for MIMXRT1052.

 

It looks like this definition is wrong (SDK version 2.15):

typedef enum _iomuxc_gpr_mode

{

kIOMUXC_GPR_GlobalInterruptRequest = IOMUXC_GPR_GPR1_GINT_MASK,

kIOMUXC_GPR_ENET1RefClkMode = IOMUXC_GPR_GPR1_ENET_TX_CLK_SEL_MASK,

kIOMUXC_GPR_ENET1TxClkOutputDir = IOMUXC_GPR_GPR1_ENET_REF_CLK_DIR_MASK,

kIOMUXC_GPR_SAI1MClkOutputDir = IOMUXC_GPR_GPR1_SAI1_MCLK_DIR_MASK,

kIOMUXC_GPR_SAI2MClkOutputDir = IOMUXC_GPR_GPR1_SAI2_MCLK_DIR_MASK,

kIOMUXC_GPR_SAI3MClkOutputDir = IOMUXC_GPR_GPR1_SAI3_MCLK_DIR_MASK,

kIOMUXC_GPR_ExcMonitorSlavErrResponse = IOMUXC_GPR_GPR1_EXC_MON_MASK,

kIOMUXC_GPR_AHBClockEnable = (int)IOMUXC_GPR_GPR1_CM7_FORCE_HCLK_EN_MASK,

} iomuxc_gpr_mode_t;

Whereas these two lines ought to read:

kIOMUXC_GPR_ENET1RefClkDir = IOMUXC_GPR_GPR1_ENET_REF_CLK_DIR_MASK,

kIOMUXC_GPR_ENET1TxClkMode = IOMUXC_GPR_GPR1_ENET_TX_CLK_SEL_MASK,

 

Probably?  I'm not sure, and would like confirmation.

0 Kudos
Reply
1 Reply

539 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @kaztros 

I just checked the MIMXRT1052 SDK and found that the iomuxc_gpr_mode_t enumeration you mentioned is incorrect.

Thank you for the information.

And I will report this issue to our SDK team.

Best regards,
Hang

 

0 Kudos
Reply