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

stm32/usart: Implement data bit selection #3595

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

Sizurka
Copy link
Contributor

@Sizurka Sizurka commented Dec 1, 2024

Currently the data_bits field of STM32 USART configuration is ignored and the USART is always configured for an 8-bit word size. This implements the actual selection of the word size and adds a 7-bit mode (usually seen in combination with parity and ASCII-only protocols).

Implement data bit size selection and add 7-bit mode.
Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice! thank you :)

@Dirbaio Dirbaio added this pull request to the merge queue Dec 1, 2024
Merged via the queue into embassy-rs:main with commit c73a4d3 Dec 1, 2024
7 checks passed
@Sizurka Sizurka deleted the stm32-usart-databits branch December 2, 2024 01:21
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

Successfully merging this pull request may close these issues.

2 participants