Pigweed
 
Loading...
Searching...
No Matches
pw::clock_tree::ClockMcuxpressoClkIn< ElementType > Class Template Referencefinal

#include <clock_tree.h>

Inheritance diagram for pw::clock_tree::ClockMcuxpressoClkIn< ElementType >:
pw::clock_tree::DependentElement< ElementType >

Public Member Functions

constexpr ClockMcuxpressoClkIn (ElementType &source, uint32_t frequency)
 
- 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
 Set CLK IN clock frequency.
 
Status DoDisable () final
 Set CLK IN clock frequency to 0 Hz.
 

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::ClockMcuxpressoClkIn< ElementType >

Class template implementing the CLK IN pin clock source and selecting it as an input source for OSC Clock source.

Template argument ElementType can be of class ElementBlocking or ElementNonBlockingCannotFail.

Constructor & Destructor Documentation

◆ ClockMcuxpressoClkIn()

template<typename ElementType >
constexpr pw::clock_tree::ClockMcuxpressoClkIn< ElementType >::ClockMcuxpressoClkIn ( ElementType &  source,
uint32_t  frequency 
)
inlineconstexpr

Constructor specifying the CLK IN pin clock frequency in Hz and the dependent clock tree element to enable the CLK IN pin clock source.


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