IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
| Source at commit a5ab9bbf0f0749f37c144d7fe4586dbd67c72093 created 6 years 9 months ago. By Werner Almesberger, atusb/: use page layout similar to eeschema's traditional default | |
|---|---|
| 1 | #SUB |
| 2 | |
| 3 | # Taken from gta02-core. Left in the hacks, since we may use similar components |
| 4 | # in the future. |
| 5 | |
| 6 | -> T=unknown |
| 7 | |
| 8 | R[0-9P]* { # also handle RP... |
| 9 | -> T=R |
| 10 | VAL=*[0-9] -> R=${VAL}R |
| 11 | VAL=$R -> R=$VAL |
| 12 | # -> TOL=5% |
| 13 | FN=$% -> TOL=$FN |
| 14 | } |
| 15 | |
| 16 | RP[0-9]* { |
| 17 | -> T=RA |
| 18 | RP220[123] -> ARRAY=4 |
| 19 | # the other parameters have already been taken care of by R* |
| 20 | } |
| 21 | |
| 22 | C[0-9]* { |
| 23 | -> T=C |
| 24 | VAL=*F -> C=$VAL |
| 25 | VAL=(*F)/RF -> C=$VAL:1 X=RF # *F/RF "wins" against the *F above |
| 26 | FN=*V -> V=>=$FN |
| 27 | } |
| 28 | |
| 29 | L[0-9]* { |
| 30 | -> T=L |
| 31 | VAL=*H -> L=$VAL |
| 32 | FN=*A -> I=>=$FN |
| 33 | } |
| 34 | |
| 35 | B[0-9]* { |
| 36 | -> T=FILTER M=BEAD |
| 37 | VAL=$R -> R=$VAL |
| 38 | FN=*A -> I=$FN |
| 39 | FN=*R -> Rdc=$FN |
| 40 | FN=0.45R -> Rdc=450mR # hack |
| 41 | } |
| 42 | |
| 43 | D[0-9]* { |
| 44 | -> T=D |
| 45 | VAL=*F { # heuristic to detect TVS |
| 46 | -> M=TVS |
| 47 | VAL=*F -> C=<=$VAL |
| 48 | FN=(*V)ac -> Vac=$FN:1 |
| 49 | FN=(*V)dc -> Vdc=$FN:1 |
| 50 | |
| 51 | # |
| 52 | # Hack: some companies specify the class of varistors with Vdc = 9 V |
| 53 | # as Vac = 6.5 V while others use Vac = 7 V. Sometimes, Vac is even |
| 54 | # omitted entirely. |
| 55 | # |
| 56 | # Here, we work around the issue that Karmax use Vac = 6.5 V, |
| 57 | # Cooper/Bussmann use Vac = 7V if at all, and out schematics specify |
| 58 | # Vac = 6.5 V. |
| 59 | # |
| 60 | Vac=6.5V { |
| 61 | -> Vac= |
| 62 | -> Vdc=9V |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | VR[0-9]* -> T=D M=TVS { |
| 68 | VAL=$V -> Vdc=$VAL # neither clean nor consistent with the above |
| 69 | VAL=(*V)dc -> Vdc=$VAL:1 |
| 70 | FN=*F -> C=<=$FN |
| 71 | } |
| 72 | |
| 73 | X[0-9]* { |
| 74 | -> T=XTAL |
| 75 | VAL=*Hz -> F=$VAL |
| 76 | FN=*F -> C=$FN |
| 77 | FN=*ppm -> TOL=<=$FN |
| 78 | } |
| 79 | |
| 80 | |
| 81 | T=C C=820fF -> C=800fF # we can't get 0.82 pF, but there's plenty of 0.8 pF :) |
| 82 | |
| 83 | FP=MMCX-F-EDGE* -> VAL=MMCX-F-EDGE-SMT |
| 84 | |
| 85 | FP=meander -> VAL=meander |
| 86 | FP=8:10-card -> VAL=8:10-card |
| 87 | FP=PAD_60x60 -> VAL=PAD_60x60 |
| 88 | FP=PAD_120x60 -> VAL=PAD_120x60 |
| 89 | FP=PAD_2mm -> VAL=PAD_2mm |
| 90 | |
