1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-05 11:13:09 +02:00
ben-wpan/bom/lib/e12.inc
Werner Almesberger 499df0ea40 Added generation of Yageo RC0402 resistors. We can now produce the full BOM.
- bom/lib/e12.inc: added _E12_1 translation
- bom/yageo.gen: added RC0402 resistor series
2010-09-12 17:01:54 -03:00

46 lines
1.4 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=$_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=$_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