Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Auto disable GPIO clock using reference counting #26

Open
christophevg opened this issue Feb 15, 2016 · 0 comments
Open

Auto disable GPIO clock using reference counting #26

christophevg opened this issue Feb 15, 2016 · 0 comments

Comments

@christophevg
Copy link
Contributor

The HAL-ed microcontroller's GPIO-modules should provide an interface for enabling and disabling the GPIO (clock) functionality: e.g. hw_gpio_enable and hw_gpio_disable. These should apply reference counting to track the modules that actively use the GPIO functionality, and if possible automagically actually disable e.g. the clock when no GPIO activity is required.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant