Skip to content

jsl/symbols/transistors/BJT

Package name: jsl/symbols/transistors/BJT

Summary

Data Types

BJTSymbolParams

Constructors

Function Description
BJTSymbolParams (+ 1) Constructor for defstruct BJTSymbolParams

BJTSymbol

Constructors

Function Description
BJTSymbol (+ 1) Constructor for defstruct BJTSymbol

BJT-Junction

Functions

Function Description
build-bjt-glyphs

Definitions

BJTSymbolParams

public defstruct BJTSymbolParams <: SymbolParams :
    arrow-params: ArrowSymbolParams
    base-line: Double
    line-width: Double
    outline: True|False
    pad-ref-size: Double
    pin-length: Double
    porch-width: Double

  • arrow-params: ArrowSymbolParams - Set the style and parameters of the arrow leg of the transistor. The arrow leg is the line from the base to the emitter. On NPN it points away from the base. For PNP, it points toward the base. By default, the ArrowSymbolParams shaft-length data member will also be used to control the length of the base-collector line primarily for symmetry reasons.

  • base-line: Double - Sets the base line length This is the vertical line that the base connection intersects with at a 90 degree angle, and the collector/emitter intersect with at a 45 degree angle.

  • line-width: Double

  • outline: True|False - Add the outline circle around the transistor Often for power transistors, the BJT symbol will have a circle outline

  • pad-ref-size: Double

  • pin-length: Double

  • porch-width: Double - Length of the vertical line on the emitter and collector pins The emitter and collector pins have a angled line that extends from the base. The porch-width then inserts a vertical line from the end of these angled lines to where the pin starts. This value can be 0.0 if no porch-width is desired and the pin will start immediately from the end of the angled line.

Constructors

BJTSymbolParams

Constructor for defstruct BJTSymbolParams

public defn BJTSymbolParams (porch-width:Double, base-line:Double = ?, arrow-params:ArrowSymbolParams = ?, outline:True|False = ?, line-width:Double = ?, pin-length:Double = ?, pad-ref-size:Double = ?, label-params?:Maybe<SymbolLabelParams> = ?)

BJTSymbolParams

Constructor for defstruct BJTSymbolParams

public defn BJTSymbolParams ( -- porch-width:Double = ?, base-line:Double = ?, arrow-params:ArrowSymbolParams = ?, outline:True|False = ?, line-width:Double = ?, pin-length:Double = ?, pad-ref-size:Double = ?, label-params?:Maybe<SymbolLabelParams> = ?)

Functions

set-default-bjt-symbol-params

public defn set-default-bjt-symbol-params (v:BJTSymbolParams) -> False

  • Returns False

build-bjt-glyphs

public defn build-bjt-glyphs (node:SymbolNode, junction-type:BJT-Junction, pitch:Double, width:Double, p:BJTSymbolParams)

get-default-bjt-symbol-params

public defn get-default-bjt-symbol-params () -> BJTSymbolParams

  • Returns BJTSymbolParams

BJTSymbol

public defstruct BJTSymbol <: ThreePinSymbol :
    junction-type: BJT-Junction
    params: Maybe<BJTSymbolParams>

  • junction-type: BJT-Junction

  • params: Maybe<BJTSymbolParams>

Constructors

BJTSymbol

Constructor for defstruct BJTSymbol

public defn BJTSymbol (junction-type:BJT-Junction, pitch:Double, width:Double = ?, params:Maybe<BJTSymbolParams> = ?)

BJTSymbol

Constructor for defstruct BJTSymbol

public defn BJTSymbol ( -- junction-type:BJT-Junction, pitch:Double = ?, width:Double = ?, params:Maybe<BJTSymbolParams> = ?)

BJT-Junction

public defenum BJT-Junction <: Equalable & Hashable

  • NPN

  • PNP

Functions

build-bjt-glyphs

public defn build-bjt-glyphs (node:SymbolNode, junction-type:BJT-Junction, pitch:Double, width:Double, p:BJTSymbolParams)

Related Packages

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