jsl/circuits/CrystalResonator¶
Package name: jsl/circuits/CrystalResonator
Summary¶
General Definitions¶
| Function | Description | 
|---|---|
| create-crystal-resonator | Construct a Crystal Resonator Circuit | 
Definitions¶
General Definitions¶
create-crystal-resonator¶
Construct a Crystal Resonator Circuit
public defn create-crystal-resonator ( -- xtal-type:Instantiable, C-load:Toleranced, C-stray:Toleranced, V-rating:Double, tc-code:String = ?, prec:Percentage = ?, C-query:CapacitorQuery = ?) -> Instantiable
- xtal-type: Instantiable- Crystal that will be instantiated and connected with load capacitors
- C-load: Toleranced- Load Capacitance of the Crystal.
- C-stray: Toleranced- Stray capacitance in the traces and input/output pins of the IC oscillator that this circuit will attach to.
- V-rating: Double- Minimum voltage rating for the capacitors selected for this circuit. The user is assumed to have added the necessary voltage derating for their application.
- tc-code: String- Default temperature rating to use for the load capacitors. This overides the default temperature coefficient code from the C-query. The default value is- C0G
- prec: Percentage- Capacitor Value Precision Series that load capacitors will be selected from.
- 
C-query: CapacitorQuery- Capacitor Query Object for customizing capacitor selection. Default isget-default-capacitor-query(). The following keys will be modified:
- 
temperature-coefficient_code- This function usesC0G
- rated-voltage- This function overrides any voltage rating with the- V-ratingvalue. The results are sorted from lowest to highest.
- 
Returns Instantiable- Apcb-moduledefinition that can be instantiated to form the resonant tank for a crystal resonator. This module will have the following ports:
- 
p[[1, 2]]- Crystal connections
- COMMON- Common reference, typically ground.
Related Packages¶
Forwarded by package: jsl/circuits