You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a custom GPIO driver with a better abstraction tailored to our specific needs. This interface aims to simplify GPIO handling and improve code clarity while resolving issues like duplicated initialization in RCC.
The following is an initial idea/proposal for further discussion:
Initialization/deinitialization with reference counting and automatic clock enabling/disabling (similar to i2c_bus approach):
Introduce a custom GPIO driver with a better abstraction tailored to our specific needs. This interface aims to simplify GPIO handling and improve code clarity while resolving issues like duplicated initialization in RCC.
The following is an initial idea/proposal for further discussion:
Initialization/deinitialization with reference counting and automatic clock enabling/disabling (similar to i2c_bus approach):
A routine for pin configuration:
and introduce few constant with typical gpio configuration:
Read and write routines
The text was updated successfully, but these errors were encountered: