KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ORCAD_SYMBOL_PIN Struct Reference

One pin of a symbol definition (structure types 26/27). More...

#include <orcad_records.h>

Public Attributes

std::string name
 
int position = -1
 slot in the parent symbol pin vector
 
int startX = 0
 
int startY = 0
 
int hotptX = 0
 
int hotptY = 0
 
ORCAD_PORT_TYPE portType = ORCAD_PORT_TYPE::PASSIVE
 
int shapeBits = 0
 

Detailed Description

One pin of a symbol definition (structure types 26/27).

Body layout: lzt name, i32 startX, startY (free end), i32 hotptX, hotptY (connection point), u16 shapeBits (bit 1 = clock, bit 2 = inverted dot), 2 uninitialized bytes, u32 portType (0..7); the remaining body bytes are junk and the pin ends at its outer prefix stop. A 0x00 byte instead of a prefix chain marks a skipped pin slot. Coordinates are symbol-space, Y-down.

Definition at line 390 of file orcad_records.h.

Member Data Documentation

◆ hotptX

int ORCAD_SYMBOL_PIN::hotptX = 0

Definition at line 396 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::addSymbolPin(), and v2SymbolPin().

◆ hotptY

int ORCAD_SYMBOL_PIN::hotptY = 0

Definition at line 397 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::addSymbolPin(), and v2SymbolPin().

◆ name

std::string ORCAD_SYMBOL_PIN::name

◆ portType

ORCAD_PORT_TYPE ORCAD_SYMBOL_PIN::portType = ORCAD_PORT_TYPE::PASSIVE

Definition at line 398 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::addSymbolPin(), and v2SymbolPin().

◆ position

int ORCAD_SYMBOL_PIN::position = -1

slot in the parent symbol pin vector

Definition at line 393 of file orcad_records.h.

◆ shapeBits

int ORCAD_SYMBOL_PIN::shapeBits = 0

Definition at line 399 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::addSymbolPin(), and v2SymbolPin().

◆ startX

int ORCAD_SYMBOL_PIN::startX = 0

Definition at line 394 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::addSymbolPin(), and v2SymbolPin().

◆ startY

int ORCAD_SYMBOL_PIN::startY = 0

Definition at line 395 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::addSymbolPin(), and v2SymbolPin().


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