Pigweed
C/C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
pw::clock_tree::ClockMcuxpressoClockIp< ElementType > Class Template Referencefinal
Inheritance diagram for pw::clock_tree::ClockMcuxpressoClockIp< ElementType >:
pw::clock_tree::DependentElement< ElementType >

Public Member Functions

constexpr ClockMcuxpressoClockIp (ElementType &source, clock_ip_name_t clock)
 
- Public Member Functions inherited from pw::clock_tree::DependentElement< ElementType >
constexpr DependentElement (ElementType &source)
 Create a dependent clock tree element that depends on source.
 

Private Member Functions

Status DoEnable () final
 Enable the clock.
 
Status DoDisable () final
 Disable the clock.
 

Additional Inherited Members

- Protected Member Functions inherited from pw::clock_tree::DependentElement< ElementType >
Status UpdateSource (ElementType &new_source, bool permit_change_if_in_use)
 

Detailed Description

template<typename ElementType>
class pw::clock_tree::ClockMcuxpressoClockIp< ElementType >

Class template implementing the clock_ip_name_t clocks. Managing clock_ip_name_t clocks with the clock tree allows to save power when FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL is set.

Template argument ElementType can be of class ElementBlocking or ElementNonBlockingCannotFail.

Constructor & Destructor Documentation

◆ ClockMcuxpressoClockIp()

template<typename ElementType >
constexpr pw::clock_tree::ClockMcuxpressoClockIp< ElementType >::ClockMcuxpressoClockIp ( ElementType &  source,
clock_ip_name_t  clock 
)
inlineconstexpr

Constructor specifying the dependent clock tree element to enable the clock_ip_name_t clock source.


The documentation for this class was generated from the following file: