KiCad PCB EDA Suite
erc.cpp File Reference
#include "connection_graph.h"
#include <common.h>
#include <erc.h>
#include <string_utils.h>
#include <lib_pin.h>
#include <sch_edit_frame.h>
#include <sch_marker.h>
#include <sch_reference_list.h>
#include <sch_sheet.h>
#include <sch_sheet_pin.h>
#include <schematic.h>
#include <drawing_sheet/ds_draw_item.h>
#include <drawing_sheet/ds_proxy_view_item.h>
#include <wx/ffile.h>

Go to the source code of this file.

Variables

const wxString CommentERC_H []
 
const wxString CommentERC_V []
 
const std::set< ELECTRICAL_PINTYPEDrivingPinTypes
 
const std::set< ELECTRICAL_PINTYPEDrivingPowerPinTypes
 
const std::set< ELECTRICAL_PINTYPEDrivenPinTypes
 

Variable Documentation

◆ CommentERC_H

const wxString CommentERC_H[]
Initial value:
=
{
_( "Input Pin" ),
_( "Output Pin" ),
_( "Bidirectional Pin" ),
_( "Tri-State Pin" ),
_( "Passive Pin" ),
_( "Free Pin" ),
_( "Unspecified Pin" ),
_( "Power Input Pin" ),
_( "Power Output Pin" ),
_( "Open Collector" ),
_( "Open Emitter" ),
_( "No Connection" )
}
#define _(s)

Definition at line 57 of file erc.cpp.

Referenced by PANEL_SETUP_PINMAP::reBuildMatrixPanel().

◆ CommentERC_V

const wxString CommentERC_V[]
Initial value:
=
{
_( "Input Pin" ),
_( "Output Pin" ),
_( "Bidirectional Pin" ),
_( "Tri-State Pin" ),
_( "Passive Pin" ),
_( "Free Pin" ),
_( "Unspecified Pin" ),
_( "Power Input Pin" ),
_( "Power Output Pin" ),
_( "Open Collector" ),
_( "Open Emitter" ),
_( "No Connection" )
}
#define _(s)

Definition at line 74 of file erc.cpp.

Referenced by PANEL_SETUP_PINMAP::reBuildMatrixPanel().

◆ DrivenPinTypes

const std::set<ELECTRICAL_PINTYPE> DrivenPinTypes
Initial value:
=
{
}
power input (GND, VCC for ICs). Must be connected to a power output.
usual pin input: must be connected

Definition at line 112 of file erc.cpp.

Referenced by ERC_TESTER::TestPinToPin().

◆ DrivingPinTypes

const std::set<ELECTRICAL_PINTYPE> DrivingPinTypes
Initial value:
=
{
}
pin for passive symbols: must be connected, and can be connected to any pin
input or output (like port for a microprocessor)
output of a regulator: intended to be connected to power input pins

Definition at line 94 of file erc.cpp.

Referenced by ERC_TESTER::TestPinToPin().

◆ DrivingPowerPinTypes

const std::set<ELECTRICAL_PINTYPE> DrivingPowerPinTypes
Initial value:
=
{
}
output of a regulator: intended to be connected to power input pins

Definition at line 106 of file erc.cpp.

Referenced by ERC_TESTER::TestPinToPin().