This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137-EP: EMAC register Updates.

Part Number: TMS570LS3137-EP
Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN

Hi 

We are developing device driver for EMAC module for TMS570ls3137, we have created our own register mapping (bit field definitions) , however we have gone through the HocoGen code and the EMAC register access are 32-bit write or 32-read. Our clarification is can we access (Read/Write) EMAC registers  bit wise for the configurations.

Our Code:

EMAC_REG->MACCONTROL.B.GMIIEN = 1U;

HalcoGen Code:

HWREG(emacBase + EMAC_MACCONTROL) |= EMAC_MACCONTROL_GMIIEN;