Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XUartNs550_UpdateStats should be exposed in a public header. #299

Open
dhylands opened this issue May 30, 2024 · 2 comments
Open

XUartNs550_UpdateStats should be exposed in a public header. #299

dhylands opened this issue May 30, 2024 · 2 comments

Comments

@dhylands
Copy link

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.

@Coding-xinxiangwanji2017
Copy link

@ManikantaGuntupalli
Copy link

Fix will be available in next release(2024.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants