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

Add the readAction element to the SVD files for the corresponding registers #887

Open
AndreySmirnov81 opened this issue Sep 27, 2023 · 0 comments

Comments

@AndreySmirnov81
Copy link
Contributor

AndreySmirnov81 commented Sep 27, 2023

This is necessary in order to
изображение

For example, for STM32F103 add readAction (modifyExternal) element for registers ADC_DR, USART_DR, TIMx_CCRy.

  1. Reading the ADC_DR register clear the EOC bit of the ADC_SR register .
  2. Reading the USART_DR register clear the RXNE bit of the USART_SR register .
  3. Reading the TIMx_CCRy register clear the CCyIF bit of the TIMx_SR register, where y is 1, 2, 3, 4.
  4. The UDR bit is cleared by a read operation on the SPI_SR register
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

1 participant