mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
Moved all capacitor tolerance and _E12_P translations to shared includes.
- bom/lib/captol.inc: translation of all capacitor tolerance values - bom/lib/e12.inc: translation of E12 values (for pico-based scale for now) - bom/avx.gen, bom/johanson.gen, bom/murata.gen, bom/tdk.gen, bom/yageo.gen: include libraries instead of copying the same tables
This commit is contained in:
19
bom/lib/e12.inc
Normal file
19
bom/lib/e12.inc
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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 trailing zeroes
|
||||
|
||||
_E12=(*).0([fpnu]) -> _E12=$_E12:1$_E12:2
|
||||
_E12=(*).0 -> _E12=$_E12:1
|
||||
|
||||
Reference in New Issue
Block a user