seveibar/smd-usb-c

This code defines a USB Type-C connector component with associated pin configurations, 3D model, and PCB footprint layout for electronic hardware design.

Usage: To import and use the USB-C SMD component in a tscircuit project: 1. Import the component: ```tsx import { SmdUsbC } from "@tsci/seveibar.smd-usb-c" ``` 2. Use the component in a board: ```tsx <board> <SmdUsbC name="USB1" /> </board> ``` Key features: - Available pins include: GND1, VBUS1, CC1, DP1, DM1, SBU1, etc. - Supports accessing specific pins via `sel.USB1.VBUS1` - Includes CAD model and footprint details - Manufacturer part number: TYPE-C-31-M-12

Version
0.0.2
License
unset
Stars
2

dist/index.d.ts

PCBPCB preview for dist/index.d.ts
SchematicSchematic preview for dist/index.d.ts
import * as react from 'react';
import { ChipProps } from '@tscircuit/props';

declare const pinLabels: {
    readonly 1: readonly ["GND1", "A1"];
    readonly 2: readonly ["GND2", "B12"];
    readonly 3: readonly ["VBUS1", "A4"];
    readonly 4: readonly ["VBUS2", "B9"];
    readonly 5: readonly ["SBU2", "B8"];
    readonly 6: readonly ["CC1", "A5"];
    readonly 7: readonly ["DM2", "B7"];
    readonly 8: readonly ["DP1", "A6"];
    readonly 9: readonly ["DM1", "A7"];
    readonly 10: readonly ["DP2", "B6"];
    readonly 11: readonly ["SBU1", "A8"];
    readonly 12: readonly ["CC2", "B5"];
    readonly 13: readonly ["VBUS1", "A9"];
    readonly 14: readonly ["VBUS2", "B4"];
    readonly 15: readonly ["GND1", "A12"];
    readonly 16: readonly ["GND2", "B1"];
};
interface Props extends ChipProps<typeof pinLabels> {
    name: string;
}
/**
 * USB Type C connector (C165948)
 */
declare const SmdUsbC: (props: Props) => any;

export { SmdUsbC };