Skip to content

jsl/symbols/diodes

Package name: jsl/symbols/diodes

Summary

Data Types

TunnelDiodeSymbolParams

Constructors

Function Description
TunnelDiodeSymbolParams (+ 1) Constructor for defstruct TunnelDiodeSymbolParams

LEDSymbol

Constructors

Function Description
LEDSymbol (+ 1) Constructor for defstruct LEDSymbol

DiodeSymbol

Constructors

Function Description
DiodeSymbol (+ 1) Constructor for defstruct DiodeSymbol

SchottkyDiodeSymbolParams

Constructors

Function Description
SchottkyDiodeSymbolParams (+ 1) Constructor for defstruct SchottkyDiodeSymbolParams

DiodeSymbolParams

Base Diode Symbol Parameters

Constructors

Function Description
DiodeSymbolParams (+ 1) Constructor for defstruct DiodeSymbolParams

LEDSymbolParams

PhotoDiodeSymbol

Constructors

Function Description
PhotoDiodeSymbol (+ 1) Constructor for defstruct PhotoDiodeSymbol

ZenerDiodeSymbol

Constructors

Function Description
ZenerDiodeSymbol (+ 1) Constructor for defstruct ZenerDiodeSymbol

PhotoDiodeSymbolParams

ZenerDiodeSymbolParams

Constructors

Function Description
ZenerDiodeSymbolParams (+ 1) Constructor for defstruct ZenerDiodeSymbolParams

TunnelDiodeSymbol

Constructors

Function Description
TunnelDiodeSymbol (+ 1) Constructor for defstruct TunnelDiodeSymbol

SchottkyDiodeSymbol

Constructors

Function Description
SchottkyDiodeSymbol (+ 1) Constructor for defstruct SchottkyDiodeSymbol

General Definitions

Definitions

TunnelDiodeSymbolParams

public defstruct TunnelDiodeSymbolParams <: DiodeSymbolParams
    wing-size: Double

  • wing-size: Double

Constructors

TunnelDiodeSymbolParams

Constructor for defstruct TunnelDiodeSymbolParams

public defn TunnelDiodeSymbolParams (wing-size:Double, body-dims:Dims|Double = ?, line-width:Double = ?, filled?:True|False = ?, label-params?:Maybe<SymbolLabelParams> = ?)

TunnelDiodeSymbolParams

Constructor for defstruct TunnelDiodeSymbolParams

public defn TunnelDiodeSymbolParams ( -- wing-size:Double = ?, body-dims:Dims|Double = ?, line-width:Double = ?, filled?:True|False = ?, label-params?:Maybe<SymbolLabelParams> = ?)

Functions

set-default-tunnel-diode-symbol-params

public defn set-default-tunnel-diode-symbol-params (v:TunnelDiodeSymbolParams) -> False

  • Returns False

sub-base-params

public defn sub-base-params (p:TunnelDiodeSymbolParams, b:DiodeSymbolParams) -> TunnelDiodeSymbolParams

  • Returns TunnelDiodeSymbolParams

build-tunnel-diode-glyphs

public defn build-tunnel-diode-glyphs (node:SymbolNode, pitch:Double, params:TunnelDiodeSymbolParams)

get-default-tunnel-diode-symbol-params

public defn get-default-tunnel-diode-symbol-params () -> TunnelDiodeSymbolParams

  • Returns TunnelDiodeSymbolParams

LEDSymbol

public defstruct LEDSymbol <: TwoPinSymbol

Constructors

LEDSymbol

Constructor for defstruct LEDSymbol

public defn LEDSymbol (pitch:Double, polarized?:True|False = ?, params:Maybe<LEDSymbolParams> = ?)

LEDSymbol

Constructor for defstruct LEDSymbol

public defn LEDSymbol ( -- pitch:Double = ?, polarized?:True|False = ?, params:Maybe<LEDSymbolParams> = ?)

DiodeSymbol

public defstruct DiodeSymbol <: TwoPinSymbol

Constructors

DiodeSymbol

Constructor for defstruct DiodeSymbol

public defn DiodeSymbol (pitch:Double, polarized?:True|False = ?, params:Maybe<DiodeSymbolParams> = ?)

DiodeSymbol

Constructor for defstruct DiodeSymbol

public defn DiodeSymbol ( -- pitch:Double = ?, polarized?:True|False = ?, params:Maybe<DiodeSymbolParams> = ?)

SchottkyDiodeSymbolParams

public defstruct SchottkyDiodeSymbolParams <: DiodeSymbolParams
    wing-size: Double

  • wing-size: Double

Constructors

SchottkyDiodeSymbolParams

Constructor for defstruct SchottkyDiodeSymbolParams

public defn SchottkyDiodeSymbolParams (wing-size:Double, body-dims:Dims|Double = ?, line-width:Double = ?, filled?:True|False = ?, label-params?:Maybe<SymbolLabelParams> = ?)

SchottkyDiodeSymbolParams

Constructor for defstruct SchottkyDiodeSymbolParams

public defn SchottkyDiodeSymbolParams ( -- wing-size:Double = ?, body-dims:Dims|Double = ?, line-width:Double = ?, filled?:True|False = ?, label-params?:Maybe<SymbolLabelParams> = ?)

Functions

set-default-schottky-diode-symbol-params

public defn set-default-schottky-diode-symbol-params (v:SchottkyDiodeSymbolParams) -> False

  • Returns False

build-schottky-diode-glyphs

public defn build-schottky-diode-glyphs (node:SymbolNode, pitch:Double, params:SchottkyDiodeSymbolParams)

get-default-schottky-diode-symbol-params

public defn get-default-schottky-diode-symbol-params () -> SchottkyDiodeSymbolParams

  • Returns SchottkyDiodeSymbolParams

sub-base-params

public defn sub-base-params (p:SchottkyDiodeSymbolParams, b:DiodeSymbolParams) -> SchottkyDiodeSymbolParams

  • Returns SchottkyDiodeSymbolParams

DiodeSymbolParams

Base Diode Symbol Parameters

public defstruct DiodeSymbolParams <: SymbolParams
    body-dims: Dims|Double
    filled?: True|False
    line-width: Double

  • body-dims: Dims|Double

  • filled?: True|False

  • line-width: Double

These parameters define the features of a generic diode symbol without accoutrements.

|

===== / \ / \


|

The pitch of the two-pin component defines the overall length.

Constructors

DiodeSymbolParams

Constructor for defstruct DiodeSymbolParams

public defn DiodeSymbolParams (body-dims:Dims|Double, line-width:Double = ?, filled?:True|False = ?, label-params?:Maybe<SymbolLabelParams> = ?)

DiodeSymbolParams

Constructor for defstruct DiodeSymbolParams

public defn DiodeSymbolParams ( -- body-dims:Dims|Double = ?, line-width:Double = ?, filled?:True|False = ?, label-params?:Maybe<SymbolLabelParams> = ?)

Functions

body-height

public defn body-height (p:DiodeSymbolParams) -> Double

  • Returns Double

set-default-diode-symbol-params

public defn set-default-diode-symbol-params (v:DiodeSymbolParams) -> False

  • Returns False

sub-base-params

public defn sub-base-params (p:SchottkyDiodeSymbolParams, b:DiodeSymbolParams) -> SchottkyDiodeSymbolParams

  • Returns SchottkyDiodeSymbolParams

sub-base-params

public defn sub-base-params (p:ZenerDiodeSymbolParams, b:DiodeSymbolParams) -> ZenerDiodeSymbolParams

  • Returns ZenerDiodeSymbolParams

sub-base-params

public defn sub-base-params (p:TunnelDiodeSymbolParams, b:DiodeSymbolParams) -> TunnelDiodeSymbolParams

  • Returns TunnelDiodeSymbolParams

sub-base-params

public defn sub-base-params (p:LEDSymbolParams, b:DiodeSymbolParams) -> LEDSymbolParams

  • Returns LEDSymbolParams

sub-base-params

public defn sub-base-params (p:PhotoDiodeSymbolParams, b:DiodeSymbolParams) -> PhotoDiodeSymbolParams

  • Returns PhotoDiodeSymbolParams

get-default-diode-symbol-params

public defn get-default-diode-symbol-params () -> DiodeSymbolParams

  • Returns DiodeSymbolParams

to-tuple

public defn to-tuple (p:DiodeSymbolParams) -> [Double|Dims, Double, True|False]

  • Returns [Double|Dims, Double, True|False]

build-diode-glyphs

public defn build-diode-glyphs (node:SymbolNode, pitch:Double, params:DiodeSymbolParams)

body-width

public defn body-width (p:DiodeSymbolParams) -> Double

  • Returns Double

compute-body-start

public defn compute-body-start (p:DiodeSymbolParams) -> Double

  • Returns Double

LEDSymbolParams

public defstruct LEDSymbolParams <: DiodeSymbolParams
    arrow-params: ArrowSymbolParams

  • arrow-params: ArrowSymbolParams

Functions

build-led-glyphs

public defn build-led-glyphs (node:SymbolNode, pitch:Double, params:LEDSymbolParams)

LEDSymbolParams

public defn LEDSymbolParams ( -- body-dims:Dims|Double = ?, line-width:Double = ?, arrow-params:ArrowSymbolParams = ?, filled?:True|False = ?) -> LEDSymbolParams

  • Returns LEDSymbolParams

set-default-led-symbol-params

public defn set-default-led-symbol-params (v:LEDSymbolParams) -> False

  • Returns False

sub-base-params

public defn sub-base-params (p:LEDSymbolParams, b:DiodeSymbolParams) -> LEDSymbolParams

  • Returns LEDSymbolParams

get-default-led-symbol-params

public defn get-default-led-symbol-params () -> LEDSymbolParams

  • Returns LEDSymbolParams

PhotoDiodeSymbol

public defstruct PhotoDiodeSymbol <: TwoPinSymbol

Constructors

PhotoDiodeSymbol

Constructor for defstruct PhotoDiodeSymbol

public defn PhotoDiodeSymbol (pitch:Double, polarized?:True|False = ?, params:Maybe<PhotoDiodeSymbolParams> = ?)

PhotoDiodeSymbol

Constructor for defstruct PhotoDiodeSymbol

public defn PhotoDiodeSymbol ( -- pitch:Double = ?, polarized?:True|False = ?, params:Maybe<PhotoDiodeSymbolParams> = ?)

ZenerDiodeSymbol

public defstruct ZenerDiodeSymbol <: TwoPinSymbol

Constructors

ZenerDiodeSymbol

Constructor for defstruct ZenerDiodeSymbol

public defn ZenerDiodeSymbol (pitch:Double, polarized?:True|False = ?, params:Maybe<ZenerDiodeSymbolParams> = ?)

ZenerDiodeSymbol

Constructor for defstruct ZenerDiodeSymbol

public defn ZenerDiodeSymbol ( -- pitch:Double = ?, polarized?:True|False = ?, params:Maybe<ZenerDiodeSymbolParams> = ?)

PhotoDiodeSymbolParams

public defstruct PhotoDiodeSymbolParams <: DiodeSymbolParams
    arrow-params: ArrowSymbolParams

  • arrow-params: ArrowSymbolParams

Functions

build-photo-diode-glyphs

public defn build-photo-diode-glyphs (node:SymbolNode, pitch:Double, params:PhotoDiodeSymbolParams)

get-default-photo-diode-symbol-params

public defn get-default-photo-diode-symbol-params () -> PhotoDiodeSymbolParams

  • Returns PhotoDiodeSymbolParams

sub-base-params

public defn sub-base-params (p:PhotoDiodeSymbolParams, b:DiodeSymbolParams) -> PhotoDiodeSymbolParams

  • Returns PhotoDiodeSymbolParams

PhotoDiodeSymbolParams

public defn PhotoDiodeSymbolParams ( -- body-dims:Dims|Double = ?, line-width:Double = ?, arrow-params:ArrowSymbolParams = ?, filled?:True|False = ?) -> PhotoDiodeSymbolParams

  • Returns PhotoDiodeSymbolParams

set-default-photo-diode-symbol-params

public defn set-default-photo-diode-symbol-params (v:PhotoDiodeSymbolParams) -> False

  • Returns False

ZenerDiodeSymbolParams

public defstruct ZenerDiodeSymbolParams <: DiodeSymbolParams
    wing-size: Double

  • wing-size: Double

Constructors

ZenerDiodeSymbolParams

Constructor for defstruct ZenerDiodeSymbolParams

public defn ZenerDiodeSymbolParams (wing-size:Double, body-dims:Dims|Double = ?, line-width:Double = ?, filled?:True|False = ?, label-params?:Maybe<SymbolLabelParams> = ?)

ZenerDiodeSymbolParams

Constructor for defstruct ZenerDiodeSymbolParams

public defn ZenerDiodeSymbolParams ( -- wing-size:Double = ?, body-dims:Dims|Double = ?, line-width:Double = ?, filled?:True|False = ?, label-params?:Maybe<SymbolLabelParams> = ?)

Functions

get-default-zener-diode-symbol-params

public defn get-default-zener-diode-symbol-params () -> ZenerDiodeSymbolParams

  • Returns ZenerDiodeSymbolParams

build-zener-diode-glyphs

public defn build-zener-diode-glyphs (node:SymbolNode, pitch:Double, params:ZenerDiodeSymbolParams)

set-default-zener-diode-symbol-params

public defn set-default-zener-diode-symbol-params (v:ZenerDiodeSymbolParams) -> False

  • Returns False

sub-base-params

public defn sub-base-params (p:ZenerDiodeSymbolParams, b:DiodeSymbolParams) -> ZenerDiodeSymbolParams

  • Returns ZenerDiodeSymbolParams

TunnelDiodeSymbol

public defstruct TunnelDiodeSymbol <: TwoPinSymbol

Constructors

TunnelDiodeSymbol

Constructor for defstruct TunnelDiodeSymbol

public defn TunnelDiodeSymbol (pitch:Double, polarized?:True|False = ?, params:Maybe<TunnelDiodeSymbolParams> = ?)

TunnelDiodeSymbol

Constructor for defstruct TunnelDiodeSymbol

public defn TunnelDiodeSymbol ( -- pitch:Double = ?, polarized?:True|False = ?, params:Maybe<TunnelDiodeSymbolParams> = ?)

SchottkyDiodeSymbol

public defstruct SchottkyDiodeSymbol <: TwoPinSymbol

Constructors

SchottkyDiodeSymbol

Constructor for defstruct SchottkyDiodeSymbol

public defn SchottkyDiodeSymbol (pitch:Double, polarized?:True|False = ?, params:Maybe<SchottkyDiodeSymbolParams> = ?)

SchottkyDiodeSymbol

Constructor for defstruct SchottkyDiodeSymbol

public defn SchottkyDiodeSymbol ( -- pitch:Double = ?, polarized?:True|False = ?, params:Maybe<SchottkyDiodeSymbolParams> = ?)

General Definitions

set-default-tunnel-diode-symbol

public defn set-default-tunnel-diode-symbol (symb:TwoPinSymbol)

set-default-schottky-diode-symbol

public defn set-default-schottky-diode-symbol (symb:TwoPinSymbol)

set-default-photo-diode-symbol

public defn set-default-photo-diode-symbol (symb:TwoPinSymbol)

compute-default-arrows

public defn compute-default-arrows (body-dims:Double|Dims, line-width:Double) -> ArrowSymbolParams

  • Returns ArrowSymbolParams

set-default-zener-diode-symbol

public defn set-default-zener-diode-symbol (symb:TwoPinSymbol)

set-default-led-symbol

public defn set-default-led-symbol (symb:TwoPinSymbol)

set-default-diode-symbol

public defn set-default-diode-symbol (symb:TwoPinSymbol)

get-default-photo-diode-symbol

public defn get-default-photo-diode-symbol ()

get-default-zener-diode-symbol

public defn get-default-zener-diode-symbol ()

get-default-tunnel-diode-symbol

public defn get-default-tunnel-diode-symbol ()

get-default-diode-symbol

public defn get-default-diode-symbol ()

get-default-led-symbol

public defn get-default-led-symbol ()

get-default-schottky-diode-symbol

public defn get-default-schottky-diode-symbol ()

Related Packages

Forwarded by packages: jsl/symbols/generators, jsl/symbols