commit | 21277f94a062107dc593646a88e427b30aa19613 | [log] [tgz] |
---|---|---|
author | Christoph Klee <chklee@google.com> | Tue Jun 04 22:08:34 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 04 22:08:34 2024 +0000 |
tree | ced8e1b52410a39d9dc021d1e6f2617e255cb464 | |
parent | 65ba1ca17c9d57f1d1af336735846d0b7edb38ba [diff] |
pw_clock_tree: Introduce ClockSourceNoOp class This change introduces the ClockSourceNoOp class that can be used to satisfy the dependency of a source clock tree element for other clock source classes. In particular, we will use this for Mcuxpresso classes like Mclk and Clk In that might require an additional clock tree element to enable that clock source on certain platforms. To avoid the need of duplicating class definitions for these type of classes, these classes can be derived from the `DependentElement` class even if they are not depending on another clock tree element on certain HW platforms. In those cases they can depend on a global `ClockSourceNoOp` clock tree element. Bug: 331672574 Change-Id: I5af9a83f31677b53681974707cb8060c57d1c11d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/213851 Commit-Queue: Christoph Klee <chklee@google.com> Reviewed-by: Austin Foxley <afoxley@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.