-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers/periph: Add documentation on thread safety and initialization #19794
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -16,6 +16,64 @@ | |||
* defines a standardized interface to access MCU peripherals that is not tied | |||
* to any specific vendor, platform or architecture. | |||
* | |||
* # Initialization and Thread Safety |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thread gets turned into a hyperlink thanks to automagic and mqtt paho.
Not sure whether there is anything we can do here -- escaping the word is probably a whack-a-mole...
* | `periph_dac` | user / driver | Partial (no concurrent use of the same DAC line allowed) | | ||
* | `periph_eeprom` | not needed | None (no concurrency whatsoever) | | ||
* | `periph_flashpage` | not needed | None (no concurrency whatsoever) | | ||
* | `periph_gpio` | not needed | Limited (reads are fine, concurrent writes to pins on distinct ports work) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* | `periph_gpio` | not needed | Limited (reads are fine, concurrent writes to pins on distinct ports work) | | |
* | `periph_gpio` | not needed | Limited (reads are fine, concurrent writes to pins are allowed on distinct ports) | |
A lot of things work that are not allowed.
bors merge |
👎 Rejected by PR status |
Please squash! |
bors merge |
bors cancel |
Canceled. |
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Contribution description
As the title says.
Testing procedure
The CI will generate a doc preview that can be reviewed.
Issues/PRs references
None