1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-08-29 08:43:40 +03:00
eda-tools/boom/lib/e12.inc
Werner Almesberger c1574ce3f6 Catalog listing and enhanced versions of various BOOM items from ben-wpan/bom.
- boom/dist/dk/dk-catq.pl: new - query the Digi-Key catalog for a list of
  items
- boom/dist/dk/dk-db.pl: enhanced - never generate more than 1000 queries
  per wget run (to keep argv from getting too long)
- boom/dist/dk/panasonic-erj.catq, boom/dist/dk/stackpole-rmcf.catq: query
  scripts for dk-catq.pl
- boom/lib/e12.inc: enhanced - added Rxx and Rxxx codes
- boom/manu/panasonic/panasonic.gen: enhanced - added decoding for all ERJ
  series resistors listed at Digi-Key
- boom/manu/stackpole/: (new) part number decoder for RMCF series resistors
2010-10-15 23:58:57 -03:00

47 lines
1.5 KiB
PHP

# E12 scale
_E12_1=(??)0 -> _E12=${_E12_1:1}
_E12_1=(??)1 -> _E12=${_E12_1:1}0
_E12_1=(?)(?)2 -> _E12=$_E12_1:1.${_E12_1:2}k
_E12_1=(??)3 -> _E12=${_E12_1:1}k
_E12_1=(??)4 -> _E12=${_E12_1:1}0k
_E12_1=(?)(?)5 -> _E12=$_E12_1:1.${_E12_1:2}M
_E12_1=(??)6 -> _E12=${_E12_1:1}M
_E12_1=(??)7 -> _E12=${_E12_1:1}0M
_E12_1=R(??) -> _E12=0.$_E12_1:1
_E12_1=(?)R(?) -> _E12=$_E12_1:1.$_E12_1:2
# E96 scale
_E12_1=(???)0 -> _E12=${_E12_1:1}
_E12_1=(?)(??)1 -> _E12=$_E12_1:1.${_E12_1:2}k
_E12_1=(??)(?)2 -> _E12=$_E12_1:1.${_E12_1:2}k
_E12_1=(???)3 -> _E12=${_E12_1:1}k
_E12_1=(?)(??)4 -> _E12=$_E12_1:1.${_E12_1:2}M
_E12_1=(??)(?)5 -> _E12=$_E12_1:1.${_E12_1:2}M
_E12_1=R(???) -> _E12=0.$_E12_1:1
_E12_1=(?)R(??) -> _E12=$_E12_1:1.$_E12_1:2
_E12_1=(??)R(?) -> _E12=$_E12_1:1.$_E12_1:2
# E12 scale, base multiplier is 10^-12 (pico)
_E12_P=(??)8 -> _E12=${_E12_P:1}0f
_E12_P=(?)(?)9 -> _E12=$_E12_P:1.${_E12_P:2}p
_E12_P=(??)0 -> _E12=${_E12_P:1}p
_E12_P=(??)1 -> _E12=${_E12_P:1}0p
_E12_P=(?)(?)2 -> _E12=$_E12_P:1.${_E12_P:2}n
_E12_P=(??)3 -> _E12=${_E12_P:1}n
_E12_P=(??)4 -> _E12=${_E12_P:1}0n
_E12_P=(?)(?)5 -> _E12=$_E12_P:1.${_E12_P:2}u
_E12_P=(??)6 -> _E12=${_E12_P:1}u
_E12_P=(??)7 -> _E12=${_E12_P:1}0u
_E12_P=(?)R(?) -> _E12=$_E12_P:1.${_E12_P:2}p # strange
# remove leading and trailing zeroes
_E12=0([0-9]*) -> _E12=$_E12:1
_E12=(*.[0-9]*)0([fpnumkM]) -> _E12=$_E12:1$_E12:2
_E12=(*).0([fpnumkM]) -> _E12=$_E12:1$_E12:2
_E12=(*.[0-9]*)0 -> _E12=$_E12:1
_E12=(*).0 -> _E12=$_E12:1