Closed oll3 closed 1 year ago
Noticed that the serial interface were missing access to these flags and seem to be present in other stm32xx hals (like stm32f4xx-hal).
Added them so that an ISR can differ between these events.
Edit: removed unnecessary unsafe.
Mind adding a CHANGELOG entry please?
Sure. Added a getter for the tc (transmission complete) flag too.
Build succeeded:
Noticed that the serial interface were missing access to these flags and seem to be present in other stm32xx hals (like stm32f4xx-hal).
Added them so that an ISR can differ between these events.
Edit: removed unnecessary unsafe.