Closed DedkovArtem closed 1 year ago
ST Internal Reference: 126335
Hi @DedkovArtem,
Thank you for your contribution. This issue has been fixed in the frame of version v1.27.1 of the STM32CubeF4. Please allow me then to close this thread.
With regards,
fixed multiple errors in bit positions in registers.
In version 1.26.2, the structure fields were assigned values already taking into account the bit position in the register. For example
macinit.ZeroQuantaPause = ETH_ZEROQUANTAPAUSE_DISABLE;
where#define ETH_ZEROQUANTAPAUSE_DISABLE 0x00000080U
in version 1.27.0, some fields of the structure are assigned the values 1 or 0. And when these fields are written to the register, the offset by the bit position is not taken into account. For example
macDefaultConf.ZeroQuantaPause = DISABLE;
whereDISABLE=0U