embeddedsw icon indicating copy to clipboard operation
embeddedsw copied to clipboard

XUartNs550_UpdateStats should be exposed in a public header.

Open dhylands opened this issue 1 year ago • 2 comments

Currently, if I want to call XUartNs550_GetLineStatusReg I need to duplicate the XUartNs550_UpdateStats functionality otherwise I may lose things like framing errors (since the act of calling XUartNs550_GetLineStatusReg zeros the bits that UpdateStats looks for.

Currently calling XUartNs550_IsReceiveData, XUartNs550_IsTransmitEmpty, XUartNs550_SendBuffer, XUartNs550_ReceiveBuffer have code paths which call XUartNs550_GetLineStatusReg and don't call XUartNs550_UpdateStats.

So it would be good if either these could be fixed, or that XUartNs550_UpdateStats could be exported as a non-internal function do I don't need to duplicate it.

dhylands avatar May 30 '24 22:05 dhylands

Hi,您好:    我收到了您邮件,等我看完邮件以后,第一时间给您回复。

Fix will be available in next release(2024.2)

ManikantaGuntupalli avatar Jun 28 '24 05:06 ManikantaGuntupalli