#include <stdint.h>
#include <complex.h>
Go to the source code of this file.
|
uint32_t | MATCH_Calc (float complex ZL, MATCH_S *pResult) |
| Calculate L-Networks on ideal lumped elements for given load impedance. More...
|
|
void | MATCH_XtoStr (uint32_t FHz, float X, char *str) |
| Convert X to capacitor (in pF) or inductance (in uH) string value. More...
|
|
uint32_t MATCH_Calc |
( |
float complex |
ZL, |
|
|
MATCH_S * |
pResult |
|
) |
| |
Calculate L-Networks on ideal lumped elements for given load impedance.
- Parameters
-
ZL | Load impedance |
pResult | array of 4 MATCH_S structures |
- Returns
- 0 if no solution available (or not needed), 1..4 for number of solutions found and filled into pResult
void MATCH_XtoStr |
( |
uint32_t |
FHz, |
|
|
float |
X, |
|
|
char * |
str |
|
) |
| |
Convert X to capacitor (in pF) or inductance (in uH) string value.
- Parameters
-
FHz | Frequency in Hz |
X | impedance to convert to capacitor or inductor value at frequency FHz |
str | pointer to string buffer |